templates with netcdf archives

Charles Seman Charles.Seman at NOAA.GOV
Fri Apr 27 15:50:44 EDT 2007


Dear Jose,

 From http://iges.org/grads/gadoc/descriptorfile.html#DTYPE
we see  DTYPE netcdf is for GrADS version 1.9

Is this the version you're using?

I hope this helps,
Chuck


Jose Augusto Paixao Veiga wrote:
> 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
>

--

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
 Charles Seman                                Charles.Seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not reflect
any position of the Government or NOAA."



More information about the gradsusr mailing list