[R-sig-Geo] Merge dataframe with NetCDF file

Miluji Sb m||uj|@b @end|ng |rom gm@||@com
Sat May 20 01:19:53 CEST 2023


Dear all,

I am struggling to convert a dataframe with 49 years of data for 259,200
coordinates. How can I convert this dataset into a NetCDF file with the
following attributes;

class      : RasterBrick
dimensions : 360, 720, 259200, 10  (nrow, ncol, ncell, nlayers)
resolution : 0.5, 0.5  (x, y)
extent     : -180, 180, -90, 90  (xmin, xmax, ymin, ymax)
crs        : +proj=longlat +datum=WGS84 +no_defs
year ()    : 1971, 1972, ..., 2019
varname    : fs

Any help will be highly appreciated.

Best,

Milu

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list