-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Edwards, Paul
committed
Nov 26, 2024
1 parent
ad59465
commit 59aa22b
Showing
50 changed files
with
85 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,7 +266,7 @@ Year,Month,Day,Hour,Minute,Alpha,AOD,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=alpha,aod,ghi,dni,dhi&names=2019&utc=true&leap_day=true&interval=10&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ In cases where a very large WKT value is required, e.g. downloading the maximum | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov/api/solar/psm3-5min-download.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov/api/solar/psm3-5min-download.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "names=2012&leap_day=false&interval=60&utc=false&full_name=Honored%2BUser&email=honored.user%40gmail.com&affiliation=NREL&mailing_list=true&reason=Academic&attributes=dhi%2Cdni%2Cwind_speed_10m_nwp%2Csurface_air_temperature_nwp&wkt=MULTIPOINT(-106.22%2032.9741%2C-106.18%2032.9741%2C-106.1%2032.9741)" | ||
|
||
|
@@ -56,7 +56,7 @@ print(response.text) | |
And a CURL example of the same | ||
|
||
```shell | ||
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Cache-Control: no-cache" -d 'names=2009&leap_day=false&interval=60&utc=false&full_name=Honored%2BUser&[email protected]&affiliation=NREL&mailing_list=true&reason=Academic&attributes=dhi%2Cdni%2Cwind_speed_10m_nwp%2Csurface_air_temperature_nwp&wkt=MULTIPOINT(-106.22 32.9741%2C-106.18 32.9741%2C-106.1 32.9741%2C-106.06 32.9741)' "http://developer.nrel.gov/api/solar/psm3-5min-download.json?api_key=yourapikeygoeshere" | ||
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Cache-Control: no-cache" -d 'names=2009&leap_day=false&interval=60&utc=false&full_name=Honored%2BUser&[email protected]&affiliation=NREL&mailing_list=true&reason=Academic&attributes=dhi%2Cdni%2Cwind_speed_10m_nwp%2Csurface_air_temperature_nwp&wkt=MULTIPOINT(-106.22 32.9741%2C-106.18 32.9741%2C-106.1 32.9741%2C-106.06 32.9741)' "https://developer.nrel.gov/api/solar/psm3-5min-download.json?api_key=yourapikeygoeshere" | ||
``` | ||
|
||
<h2 id="contacts">Contact</h2> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,7 +275,7 @@ Year,Month,Day,Hour,Minute,Alpha,AOD,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "wkt=POINT(179.9901 -16.96)&attributes=alpha,aod,ghi,dni,dhi&names=2018&utc=true&leap_day=true&interval=30&[email protected]" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -290,7 +290,7 @@ Year,Month,Day,Hour,Minute,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "wkt=POINT(179.99 -16.96)&attributes=ghi,dni,dhi&names=tdy-2020,tgy-2020,tmy-2020&utc=false&leap_day=true&interval=60&[email protected]&full_name=Sample User&affiliation=Test Organization&reason=Researching solar potential in my area&mailing_list=true" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,7 +275,7 @@ Year,Month,Day,Hour,Minute,Alpha,AOD,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "wkt=POINT(179.9901 -16.96)&attributes=alpha,aod,ghi,dni,dhi&names=2011&utc=true&leap_day=true&interval=30&[email protected]" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,7 +262,7 @@ Year,Month,Day,Hour,Minute,wind direction at 180m (deg) | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=winddirection_180m&names=2017&utc=true&leap_day=true&interval=60&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,7 +262,7 @@ Year,Month,Day,Hour,Minute,wind direction at 180m (deg) | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=winddirection_180m&names=2017&utc=true&leap_day=true&interval=60&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,7 +262,7 @@ Year,Month,Day,Hour,Minute,wind direction at 180m (deg) | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=winddirection_180m&names=2017&utc=true&leap_day=true&interval=60&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,7 +262,7 @@ Year,Month,Day,Hour,Minute,wind direction at 180m (deg) | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=winddirection_180m&names=2017&utc=true&leap_day=true&interval=60&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,7 +265,7 @@ Year,Month,Day,Hour,Minute,Alpha,AOD,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=alpha,aod,ghi,dni,dhi&names=2019&utc=true&leap_day=true&interval=10&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,7 +265,7 @@ Year,Month,Day,Hour,Minute,Alpha,AOD,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=alpha,aod,ghi,dni,dhi&names=2019&utc=true&leap_day=true&interval=10&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,7 +265,7 @@ Year,Month,Day,Hour,Minute,Alpha,AOD,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=alpha,aod,ghi,dni,dhi&names=2019&utc=true&leap_day=true&interval=10&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,7 +265,7 @@ Year,Month,Day,Hour,Minute,Alpha,AOD,GHI,DNI,DHI | |
```python | ||
import requests | ||
|
||
url = "http://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
url = "https://developer.nrel.gov<%= current_page.data.url %>.json?api_key=yourapikeygoeshere" | ||
|
||
payload = "api_key={{API_KEY}}&attributes=alpha,aod,ghi,dni,dhi&names=2019&utc=true&leap_day=true&interval=10&[email protected]&wkt=POINT(-179.99 -15.94)" | ||
|
||
|
Oops, something went wrong.