[Thread Prev][Thread Next][Index]

Re: [ferret_users] Global Relief -- GRD Files



Szymon,
unfortunately they have chosen to use "z" as depth variable. This is a reserved name for the vertical coordinate in ferret. Please use nco-tools to rename the depth to "depth" or
something else. This  should resolve the problem.

Best,
Martin
Szymon Roziewski wrote:
Hello Ferreters,
I have visited this site <http://www.ngdc.noaa.gov/mgg/global/global.html>recently and I got grd files with Etopo1 Global Relief Model.

When I do ncdump on this grd file I get
netcdf ETOPO1_Ice_g_gmt4 {
dimensions:
        x = 21601 ;
        y = 10801 ;
variables:
        double x(x) ;
                x:long_name = "Longitude" ;
                x:actual_range = -180., 180. ;
                x:units = "degrees" ;
        double y(y) ;
                y:long_name = "Latitude" ;
                y:actual_range = -90., 90. ;
                y:units = "degrees" ;
        int z(y, x) ;
                z:long_name = "z" ;
                z:_FillValue = -2147483648 ;
                z:actual_range = -10898., 8271. ;

// global attributes:
                :Conventions = "COARDS/CF-1.0" ;
                :title = "ETOPO1_Ice_g_gmt4.grd" ;
:history = "grdreformat ETOPO1_Ice_g_gdal.grd ETOPO1_Ice_g_gmt4.grd=ni" ;
                :GMT_version = "4.4.0" ;
                :node_offset = 0 ;
data:
(...)

but when I try to use this file in ferret, it doesn't know anything about axes: x, y. It confuses me.
Then I get this error message:
 **ERROR: dimensions improperly specified: must be a 2D region
          shade z
But I thought that z is defined on 2D region as ncdump said.
So, the question is how I can use this grd file in ferret?

Kind regards,
Szymon Roziewski





[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement