nc_save: Save data as netCDF file

Description Usage Arguments

View source: R/nc_save.R

Description

Save data as netCDF file

Usage

1
nc_save(filename, var, lat, lon, time, var_atts = NULL, overwrite = TRUE)

Arguments

filename

String with output filename with or without path.

var

List with data and metadata for the main variable.

lat

List with data and metadata for the latitude dimension.

lon

List with data and metadata for the longitude dimension.

time

List with data and metadata for the temporal dimension.

var_atts

List with extra attributes for the main variable.

overwrite

Boolean flag to indicate if the file should be overwritten. (if exists).


special-uor/codos documentation built on Jan. 7, 2022, 2:32 a.m.