open NETCDF and CTL files
Don Hooper
hoop at COLORADO.EDU
Thu Nov 3 14:53:35 EST 2005
This is a dimension environment issue. If the grids are not 100%
identical, there's a mismatch of grids, or dimension environments.
As I recall, sdfopen uses "by level" defs for X, Y, and Z, so if
the Data Descriptor File (DDF, you say "CTL") uses "LINEAR" dimension
definitions, these would probably be considered non-identical.
So, you would do "set dfile 2", and set the lat, lon, time, etc., before
your display ("d") command.
-Hoop
> From owner-gradsusr at LIST.CINECA.IT Thu Nov 3 12:46:16 2005
> From: Boyin Huang <boyin.huang at NOAA.GOV>
>
> Can grads open NETCDF and CTL files at the same time?
>
> Here is my example:
>
> 'open /u/wx52bh/r2/mnth/erate_clm_13.ctl'
> 'sdfopen /u/wx52bh/gpcp/gpcp.nc'
> 'd pcp.2'
>
> The error message is:
> Data Request Warning: Request beyond file limits
> Cannot contour grid - all undefined values
>
> When each file is opened separately, it can be displayed successfully.
> When both are CTL or NC files, they can also be displayed.
>
> Thanks
More information about the gradsusr
mailing list