templates with netcdf archives

Jose Augusto Paixao Veiga jaugusto at CPTEC.INPE.BR
Fri Apr 27 14:25:41 EDT 2007


dear all
 I am trying to mount a ctl file templating several archives
(var_year_month.nc) inside it. I've been reading the user manual and it suggest:

DSET ^pr.%x30_%x39.nc
   OPTIONS template
   DTYPE netcdf
   TDEF 840 linear jan1880 1mo

however, when I run grads with my addapted ctl file the following message rises:

Scanning description file:  2dias.ctl
Open Error:  Data file type invalid
  --> The invalid description file record is:
  --> dtype netcdf

  The data file was not opened.

my dtl file is:

DSET ^file.nc
options template
DTYPE netcdf
undef -9.96921e+36
xdef 144 linear 0 2.5
ydef 73 linear -90 2.5
zdef 10 levels 0100 0200 0300 0400 0500 0600 0700 0850 0925 1000
tdef 1 linear 00Z01Jan9999 1dy
vars 1
temp 10 99 temperatura
endvars



More information about the gradsusr mailing list