search for: ncnew

Displaying 2 results from an estimated 2 matches for "ncnew".

Did you mean: gcnew
2012 Jul 04
3
Please help
...1) y=dim.def.ncdf("Lat","degreesN",(-31.025):(-38.975)) t=dim.def.ncdf("Time","1968-01",1:12,unlim=TRUE) #setup variable varmr=var.def.ncdf("mr","mm",list(x,y,t),-99.00, longname="monthly rainfall") #create ncdf file ncnew=create.ncdf("rainfall.nc", varmr) #read input files=list.files(pattern=".asc") mrain=matrix(0:0,0,3) for(i in files) {rainfall=data.frame(readAsciiGrid(i)) mrain=cbind(mrain,rainfall) } put.var.ncdf(ncnew, mrain) close.ncdf(ncnew) ------------------------------...
2017 Sep 07
1
extend limited dimension in netcdf
...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 Raphi ------------------------------------------------------------------------------------ Raphael Felber, Dr. sc. Wissenschaftlicher Mitarbeiter, Klima und Lufthygiene Eidgen?ssisches Departement f?r Wirtscha...