PDEF not recognized in Grads 2.0.a5.oga.5

Stefan Fronzek sfronzek at SONNENKINDER.ORG
Thu Aug 20 04:52:10 EDT 2009


Hello,

I am getting an error message when trying to open a netcdf file on a rotated
grid using Grads 2.0.a5 (opengrads built under Windows Vista). I kind of
recall that I was able to open the same file with an earlier version of
grads. Also, the netcdf file opens fine with sdfopen, albeit ignoring the
rotation of the grid of course.

Does anybody know if the grads built I am using is not supporting the PDEF
keyword or if anything is wrong with my control file? See the error message,
grads config and control file below.

Best regards,
Stefan


ga-> xdfopen SMHIRCA_CTR_ERA40_DM_25km_1961-1970_tasmax.ctl
Scanning Descriptor File:  SMHIRCA_CTR_ERA40_DM_25km_1961-1970_tasmax.ctl
gadxdf error: Unknown keyword in description file
  --> The invalid description file record is:
  --> pdef 170 190 rotllr -162.f 39.25f 0.22 0.22 -21.72 -20.68
  The data file was not opened.
ga-> q config
Config: v2.0.a5.oga.5 little-endian readline printim grib2 netcdf hdf4-sds opend
ap-grids,stn athena geotiff
Grid Analysis and Display System (GrADS) Version 2.0.a5.oga.5
Copyright (c) 1988-2008 by Brian Doty and the
Institute for Global Environment and Society (IGES)
This program is distributed WITHOUT ANY WARRANTY
See file COPYRIGHT for more information.

Built Tue May 12 04:28:56 GMTDT 2009 for i686-pc-cygwin

This version of GrADS has been configured with the following options:
  o Built on a LITTLE ENDIAN machine
  o Command line editing ENABLED
      http://tiswww.case.edu/php/chet/readline/rltop.html
  o printim command for image output ENABLED
      http://www.zlib.net
      http://www.libpng.org/pub/png/libpng.html
      http://www.libgd.org/Main_Page
  o GRIB2 interface ENABLED
      http://www.ijg.org
      http://www.ece.uvic.ca/~mdadams/jasper
      http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2
      g2clib-1.0.5
  o NetCDF interface ENABLED
      http://www.opendap.org
      libnc-dap 4.0.1-beta3-snapshot2009021712 of Feb 26 2009 20:28:54 $
  o NCSA HDF interface ENABLED
      http://hdf.ncsa.uiuc.edu
      HDF4.2r3
  o Athena Widget GUI ENABLED
  o OPeNDAP gridded data interface ENABLED
      http://www.opendap.org
      libdap 3.7.10
  o OPeNDAP station data interface ENABLED
      http://iges.org/grads/gadoc/supplibs.html
      libgadap 2.0.oga.1
  o GeoTIFF and KML output ENABLED
      http://www.libtiff.org
      http://geotiff.osgeo.org

For additional information please consult http://iges.org/grads

ga-> !more SMHIRCA_CTR_ERA40_DM_25km_1961-1970_tasmax.ctl
DSET ^SMHIRCA_CTR_ERA40_DM_25km_1961-1970_tasmax.nc
DTYPE netcdf
UNDEF 1.e+30f
PDEF 170 190 rotllr -162.f 39.25f 0.22 0.22 -21.72 -20.68
XDEF 278 LINEAR -23.875 0.25
YDEF 170 LINEAR 29.125 0.25
ZDEF 1 LINEAR 1 1
TDEF 3652 LINEAR 12Z01JAN1961 1dy
VARS 1
tasmax=>tasmax 1 t,z,y,x Surface temperature
ENDVARS



More information about the gradsusr mailing list