Description Usage Arguments Value Author(s)
View source: R/write_noaa_gefs_netcdf.R
This function takes a data frame containing meteorological forecast data and related metadata and saves it to a netCDF file.
1 2 3 4 5 6 7 8 9 | write_noaa_gefs_netcdf(
df,
ens = NA,
lat,
lon,
cf_units,
output_file,
overwrite
)
|
df |
A data frame of meteorological variables to be written to a netCDF file. Columns
must start with 'time' with the following columns in the order of |
ens |
Optional: An ensemble index used for subsetting df. |
lat |
Latitude for the forecast location in degree north. |
lon |
Longitude for the forecast location in degree east. |
cf_units |
Vector of variable unit descriptor strings in the order they appear in df. |
output_file |
Name, with full path, of the netcdf file that is generated. |
overwrite |
Logical stating whether to overwrite an existing output file. |
None
Quinn Thomas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.