Description Usage Arguments Details Value Author(s) References
Use API to download NREL Physical Solar Model (PSM) version 3 data in .csv format.
1 2 | PSM.get(lon, lat, api.key, attributes, name, affiliation, year, leap.year,
interval, utc, reason.for.use, email, mailing.list, directory = "data-raw")
|
lon |
a number or a numeric array, longitude of the location(s) for downloading |
lat |
a number or a numeric array, latitude of the location(s) for downloading |
api.key |
the API key as a character string, can be obtained at https://developer.nrel.gov/signup/ |
attributes |
the parameters to be downloaded, options are: " |
name |
your name as a character string, e.g., " |
affiliation |
your affiliation as a character string, e.g., " |
year |
the year to be downloaded, options are: " |
leap.year |
a character string (" |
interval |
a character string (" |
utc |
a character string (" |
reason.for.use |
a character string indicating your purpose, e.g., " |
email |
your email as a character string, e.g., " |
mailing.list |
a character string (" |
directory |
the directory for the downloads, default to " |
NREL PSM v3 contains half-hourly, regularly-gridded, satellite-derived irradiance and other meteorological parameters.
A .csv file, or .csv files if length(lat) > 1
, saved into your intended directory
D. Yang
Manajit Sengupta, Yu Xie, Anthony Lopez, Aron Habte, Galen Maclaurin, and James Shelby, The National Solar Radiation Data Base (NSRDB), Renewable and Sustainable Energy Reviews, Volume 89, 2018, Pages 51-60, https://doi.org/10.1016/j.rser.2018.03.003.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.