get_hourly_pvw_ensemble: Subfunction to load in hourly PVW forecasts

Description Usage Arguments

View source: R/utility.R

Description

Loads in ensemble forecast data into the form: [issue x step x member] Assumes a NETCDF file of the dimensions: [site x issue x step x member] Loads in all members by default

Usage

1
2
get_hourly_pvw_ensemble(nc, site, date_start, metadata, vname = "power",
  date_data_start = lubridate::ymd_h("20170101_12"))

Arguments

nc

An open NetCDF object

site

Site index

date_start

Timestamp

metadata

Metadata list including date end, temporal parameters, time-steps per day, rolling or not, etc.

vname

NetCDF variable name

date_data_start

A lubridate: Date of first day in file, already in UTC

metadata

Metadata list including date end, temporal parameters, time-steps per day, rolling or not, etc.


kdayday/ppnwp documentation built on Oct. 8, 2020, 8:47 a.m.