write_nc | R Documentation |
Export data with TIME, XLAT, XLONG dimensions to a netCDF file.
write_nc(
attribute,
values,
date_ini = "2001-01-01 00:00:00",
ofile = "ofile.nc",
ntime,
reference_file = system.file("extdata", "merg_2011010100_4km-pixel.nc", package =
"percolator"),
latname = "lat",
lonname = "lon",
unit = "",
longname = "Tb MCSs Masks",
variable_name = "mcs_mask",
compression_level = 9,
author_name = NULL,
institution_name = NULL,
additional_comments = NULL
)
attribute |
String. Any information to serve as an attribute. Ex: "Observational Tb (GPM MERGEIR) MCSs Masks from ForTraCC-percolator" |
values |
Vector with numeric or integer values to be written in the netCDF file. |
date_ini |
String. First date for the TIME attribute. EX: "2001-01-01 00:00:00" |
ofile |
Character. Character with the name of the output file. |
ntime |
Integer. Number of timesteps for the TIME dimension. EX: ntime = 365*24. |
compression_level |
Integer from 1 to 9. Default is 9 (highest compression). |
netCDF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.