Calculating cell x- and y-distances
Added by Alexander Haumann almost 13 years ago
Hi everyone,
I have netCDF-files with the following grid description:
gridtype = curvilinear
gridsize = 56320
xname = lon
xlongname = longitude coordinate
xunits = degrees_east
yname = lat
ylongname = latitude coordinate
yunits = degrees_north
xsize = 256
ysize = 220
xvals = ... [longitudes]
xbounds = ... [longitudes]
yvals = ... [latitudes]
ybounds = ... [latitudes]
Is there a way to calculate the x- and y-cellsize of each grid cell in meters using the CDOs? So, something similar as 'gridarea' does but for one side of the cell?
Thank you very much for your help!
Alex
Replies (1)
RE: Calculating cell x- and y-distances - Added by Uwe Schulzweida almost 13 years ago
Hi Alex,
griddx and griddy calulate the x and y cellsize in meters. Both operators are undocumented and have the status experimental.
Best regards,
Uwe