search for: evap_dim

Displaying 1 result from an estimated 1 matches for "evap_dim".

Did you mean: evap_dims
2009 Aug 20
0
Using 'unlist' (incorrectly?!) to collate a series of objects
Dear R Users, I am attempting to write a new netCDF file (using the ncdf) package, using 120 grids I've created and which are held in R's memory. I am reaching the point where I try to put the data into the newly created file, but receive the following error: > put.var.ncdf(evap_file, evap_dims, unlist(noquote(file_list))) Error in put.var.ncdf(evap_file, evap_dims, unlist(noquote(file_list))) : put.var.ncdf: error: you asked to write 31104000 values, but the passed data array only has 120 entries! I think I understand why this is: the 120 grids contain 31104000 values in total, howe...