Loads in ensemble forecast data into the form: [issue x step x member] If input file is in Maxar form, assumes a NETCDF file of the dimensions: [Day x Hour x Site x Lead time x member] Maxar data can be loaded to either match the form above or in a "rolling" format over the course of the year in the form [1 x all steps x member] to make annual average metrics easier
1 2 3 | get_maxar_ensemble(nc, members, site, metadata, ensemble_issue_times,
vname = "powernew", truncate = T,
date_data_start = lubridate::ymd(20160101), max_power = NULL)
|
nc |
An open NetCDF object |
members |
A vector of member indices |
site |
Site index |
metadata |
Metadata list including date end, temporal parameters, time-steps per day, rolling or not, etc. |
ensemble_issue_times |
A sequence of lubridate issue times |
vname |
NetCDF variable name |
truncate |
Boolean: Whether or not to truncate the forecasts at the site maximum power |
date_data_start |
A lubridate: Date of first day in file |
max_power |
AC power rating or maximum load power |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.