[gradsusr] problem to plot variable with template CTL file

Jennifer Adams jma at cola.iges.org
Fri Oct 21 17:42:14 EDT 2011


You probably need to add this to your descriptor file:
   UNPACK scale_factor add_offset
--Jennifer

On Oct 21, 2011, at 5:33 PM, Jose Augusto Paixão Veiga wrote:

> Dear all
> 
> I did the following CTL file to deal with several nc files from NCEP/NCAR reanalysis (air.1979.nc, air.1980.nc, ..., air.1999.nc),
> 
> DSET ^air.%y4.nc
> UNDEF  9.96921E+36
> OPTIONS template
> DTYPE netcdf
> TITLE NCEP REANALISYS
> XDEF   144 linear   -180.0  2.5
> YDEF    73 linear    -90.0  2.5
> ZDEF    17 levels  1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10
> TDEF  7670 linear  00Z01JAN1979 1DY
> VARS     1
> air     17 t,z,y,x  Daily Air Temperature on Pressure Levels (T)  [K]
> ENDVARS
> 
> however, when I open the CTL file above into GrAds, anyone error massage rises, apparently indicating that everything ran correctly, but, when I display the variable called air (plot_from_template.png in attach) something occurs and the plot seems to be another thing (not identified yet). 
> What must I do to properly display the correct values (plot_from_notemplate.png in attach)? Maybe does the option DTYPE wasn't set properly?
> 
>    Thanks in advance guys,
> 
> 
> 
> José Augusto P. Veiga, 
> 
> 
> 
> ======================================
> Universidade do Estado do Amazonas 
> Departamento de Meteorologia
> Escola Superior de Tecnologia (EST)
> -----------------------------------------------------------------------------
> Av. Darcy Vargas, 1200, Manaus-AM Brasil
> Work phone:    (92) 3878 4333
> Cell   phone :    (92) 8196 7122
> Skype: veiga_j.a.p.
> -----------------------------------------------------------------------------
> CV: http://lattes.cnpq.br/4027612512091565
> URL:http://scientificmet.wordpress.com/
> -----------------------------------------------------------------------------
> 
> 
> <plot_from_template.gif>
> 
> 
> <plot_from_notemplate.gif>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111021/4ddcaacc/attachment-0003.html 


More information about the gradsusr mailing list