Hi Gennadi,
I think this is fixed in the latest version of the ncdf package, which you
can access by going to CRAN, then 'packages', then 'ncdf', and clicking on
'URL'. Or here is a direct link:
http://cirrus.ucsd.edu/~pierce/ncdf
Give that a try and let me know if you still have a problem,
--
I am trying to create a NetCDF file with bathymetry (a matrix) and then to
add a grid type (an integer) as variables.
This is the relevant part of the code:
library(ncdf)
wfile="my_file.nc"
msv=-10
grdtp=2
# Dimensions
d1=dim.def.ncdf("lon","degrees",as.double(lon))
d2=dim.def.ncdf("lat","degrees
2 matches
Mail list logo