write2ncdf4: Saves climate data as netCDF.

View source: R/write2ncdf.R

write2ncdf4R Documentation

Saves climate data as netCDF.

Description

Method to save data as netCDF, making sure to include the data structure and meta-data (attributes). The code tries to follow the netCDF 'CF' convention (https://cfconventions.org/). The method is built on the ncdf4 package.

Usage

write2ncdf4(x, ...)

Arguments

x

data object

...

additional arguments

Value

None

See Also

write2ncdf4.station nc4combine.stations write2ncdf4.field write2ncdf4.list write2ncdf4.station write2ncdf4.dsensemble write2ncdf4.eof write2ncdf4.pca

Examples


## Not run: 
nacd <- station(src='nacd')
X <- annual(nacd)
write2ncdf4(X,file='test.nc')

## End(Not run)


metno/esd documentation built on April 29, 2024, 3:34 p.m.