Description Usage Arguments Value
View source: R/stack_noaa_historical.R
Function to stack together the first six hours of each NOAA forecast cycle and append them to create a stacked data product
1 2 3 4 5 6 7 8 9 10 11 12 | stack_noaa_forecasts(
forecast_dates,
site,
noaa_directory,
noaa_model,
output_directory,
model_name = "observed-met-noaa",
dates_w_errors = NA,
s3_mode = FALSE,
bucket = NULL,
verbose = FALSE
)
|
forecast_dates |
vector; vector of dates for which you have NOAA GEFS forecasts with all four cycles (00, 06, 12, 18) |
site |
character; four letter site name |
noaa_directory |
filepath; directory where you have noaa forecasts stored |
noaa_model |
character; name of the noaa model you are using, e.g. "noaa/NOAAGEFS_6hr" |
output_directory |
filepath; directory where the output files from this function will go |
model_name |
character; name of the model output from this function |
dates_w_errors |
list; list of dates that cause errors, e.g. have missing first timestep |
, returns a netCDF file for each NOAA GEFS ensemble (0-31) with the first six hours of each NOAA GEFS forecast cycle stacked to produce a continuous meteorological data product. Returns both 6hr files and temporally downscaled 1hr files for each ensembles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.