[gradsusr] template question

Andrew Friedman andfried at gmail.com
Tue Feb 24 05:33:12 EST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150224/52eb5b8f/attachment.html 


More information about the gradsusr mailing list