R/Utilities.R
write_list_as_tables_NetCDFF4.Rd
Write/append a table/list of tables to NetCDF4
write_list_as_tables_NetCDFF4(
list,
filePath,
nc,
index,
dims,
nchars,
append = FALSE,
ow = FALSE,
missval = -9,
compression = NA,
verbose = FALSE,
validOutputDataClasses = getRstoxFrameworkDefinitions("validOutputDataClasses")
)
A list of tables to write to NetCDF4.
The path to the file.
A netCDF4 object, overiding the filePath
.
The index of the current data to write, with number of rows indicated in the dims
argument.
A list of lists of dimensions of the tables to write.
A list of lists of lists holding the maximum number of characters for each variable of each table of each process.
Logical: If TRUE, append to the existing file.
Logical: If TRUE, overwrite the existing file.
The value to use for representing missing values (NA) for numeric variables.
If set to an integer between 1 (least compression) and 9 (most compression), this enables compression for the variable as it is written to the file. Turning compression on forces the created file to be in netcdf version 4 format, which will not be compatible with older software that only reads netcdf version 3 files.
Print debugging information.
A vector of valid output data classes, indicating when to stop the unlisting.