[gradsusr] template question

Davide Sacchetti davide.sacchetti at arpal.gov.it
Tue Feb 24 06:31:59 EST 2015


You are making same mess with template ... I try to show 2 solutions:

you could cat all your files into a single one and avoiding template
or splitting each of them into 12 (months) files. Using this second
chance you could use template sal.%y4%m2.grb

hoping it helps ...

bye bye
Davide

On Tue, 2015-02-24 at 11:33 +0100, Andrew Friedman wrote:
> Hi GrADS users,
> 
> This is my first time using GRIB data or templates in GrADS, so I
> apologize if this question is basic.
> 
> 
> I'm trying to open a set of annual salinity GRIB files (from Ishii et
> al.) using the GrADS template feature:
> http://www.iges.org/grads/gadoc/templates.html
> 
> The files are sequential by year: sal.1945.grb sal.1946.grb
> sal.1947.grb .... sal.2012.grb ....
> 
> However, when I open the control file (below) with the templating
> feature it only opens the first year (1945). I am able to open
> individual files by modifying the control file, however.
> 
> Do you know what I am missing to get all of the files to load at once?
> 
> 
> 
> I downloaded the data from
> https://amaterasu.ees.hokudai.ac.jp/~ism/pub/ProjD/v6.13/sal/grib/
> 
> The control file sal.ctl is as follows:
> -----------------------------------------------------------
> DSET  ^sal.%y4.grb
> INDEX ^sal.idx
> dtype  grib 255
> TITLE ANALYZED SALINITY AND ANALYSIS ERROR Ver. 6.13 ism at jamstec.go.jp
> OPTIONS template
> UNDEF  99999
> XDEF 360 LINEAR     .5  1.00
> YDEF 180 LINEAR  -89.5  1.00
> ZDEF  24 LEVELS 0 10 20 30 50 75 100 125 150 200 250 300 400 500 600
> 700 800 900 1000 1100 1200 1300 1400 1500
> TDEF 816 LINEAR 15jan1945 1mo
> VARS   2
> s     24  88,160,0  salinity       [psu]
> e     24 129,160,0  analysis error [psu]
> ENDVARS
> -----------------------------------------------------------
> 
> Thanks,
> 
> Andrew
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-- 
Davide Sacchetti
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria
ARPAL Unità Tecnica Complessa di livello Regionale
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535                    fax: +39 010 6437520
mail: davide.sacchetti at arpal.gov.it     web: www.meteoliguria.it




More information about the gradsusr mailing list