[R] extend limited dimension in netcdf

raphael.felber at agroscope.admin.ch raphael.felber at agroscope.admin.ch
Thu Sep 7 14:49:46 CEST 2017

Dear all

I have to combine 3D netCDF files (lon, lat, time). The files contain data of one month and I need a year file containing all the data. Because the attributes of all files are the same, I copied the first file and appended the data of the other months. This went well until the provider of the data changed the time-dimension from UNLIMITED to LIMITED. Is there a way to change the time dimension to UNLIMITED?

I tried

ncnew$dim[[3]]$unlim <- TRUE

but this has no effect.

Thanks for any help.

Kind regards


Raphael Felber, Dr. sc.
Wissenschaftlicher Mitarbeiter, Klima und Lufthygiene

Eidgenössisches Departement für
Wirtschaft, Bildung und Forschung WBF
Forschungsbereich Agrarökologie und Umwelt

Reckenholzstrasse 191, 8046 Zürich
Tel. 058 468 75 11
Fax 058 468 72 01
raphael.felber at agroscope.admin.ch<mailto:raphael.felber at agroscope.admin.ch>

	[[alternative HTML version deleted]]

More information about the R-help mailing list