SUNY International Data
GET {{nrel_developer_url}}/nsrdb/v2/solar/suny-india-download.json?full_name=Sample+User&email=sample@email.com&affiliation=Test+Organization&reason=Example&mailing_list=true&wkt=POINT(77.1679+22.1059)&names=2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014&attributes=dhi,dni,ghi,clearsky_dhi,clearsky_dni,clearsky_ghi,dew_point,surface_temperature,surface_pressure,relative_humidity,solar_zenith_angle,total_precipitable_water,snow_depth,wdir,wspd,fill_flag&leap_day=true&utc=true
SUNY International Data (/api/nsrdb/v2/solar/suny-india-download)
Collect and download, as CSV, a configurable set of solar and meteorological data fields from The NSRDB. This API is capable of creating very large downloadable archives. Unlike a typical API, the response to this provides a request acknowledgement. The real work of creating the requested downloadable archive will continue to run on the server side. When complete, and email will be sent to the email address provided in the initial request with either a link to a file to download, or in the case of a very, very large archive, a link to more detailed instructions for using Globus to complete the download. In addition to this two step workflow, there is also an option for users who wish to download a single CSV file in direct response to an API request. The .csv format may be used to download a CSV directly. This feature is restricted to use with only a single POINT, for a single YEAR at a time. Read more about the datasets at https://nsrdb.nrel.gov
Response Fields The response is composed of service-related informational fields and the results of the data query.
Field | Value | Description |
---|---|---|
errors | Type: string array | A list of error messages |
warnings | Type: string array | A list of warning messages |
inputs | Type: Object Hash | Key: Value pairs representing all input parameters |
outputs | Type: Object Hash | Upon successful completion a message will be returned informing the user that file generation is in progress and an email will be sent to the address provided in the email input field when the download is ready |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
full_name | string | ||
email | string | ||
affiliation | string | ||
reason | string | ||
mailing_list | boolean | ||
wkt | string | ||
names | string | ||
attributes | string | ||
leap_day | boolean | ||
utc | boolean |