Description Usage Arguments Value Examples
Retrieve CAMS solar radiation data
1 2 | cams_get_radiation(lat, lng, date_begin, date_end, time_step = "PT01H",
alt = -999, verbose = FALSE)
|
lat |
Latitude, in decimal degrees. Required |
lng |
Longitude, in decimal degrees. Required |
date_begin |
Start date as 'yyyy-mm-dd' string. Required |
date_end |
End date as 'yyyy-mm-dd' string. Required |
time_step |
Aggregation: 'PT01M' for minutes, 'PT15M' for 15 minutes, 'PT01H' for hourly, 'P01D' for daily, 'P01M' for monthly. Deafult 'PT01H' |
alt |
Altitude in meters, use -999 to let CAMS decide. Default -99 |
verbose |
TRUE for verbose output. Default "FALSE" |
A data frame with requested solar data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# Get hourly solar radiation data
df <- cams_get_radiation(
lat=60, lng=15,
date_begin="2016-06-01", date_end="2016-06-15")
head(df)
# Get daily solar radiation data
df <- cams_get_radiation(
lat=60, lng=15,
date_begin="2016-06-01", date_end="2016-06-15",
time_step="P01D")
head(df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.