[gradsusr] template question

Jennifer Adams jma at cola.iges.org
Tue Feb 24 11:37:53 EST 2015


Hi, Andrew — 
I used your descriptor, downloaded 3 files (for 1945-1947) from the server, ran gribmap, (with tdef changed from 816 to 36) and was able to display the first grid for each year without any errors. So, I’m not sure exactly what is going wrong for you. Perhaps your index file got corrupted or overwritten? One other thing to change in your TDEF entry — the start time should be 1jan1945 instead of 15jan1945. GrADS is happier with this initial time when using monthly data. Maybe that will make a difference.
—Jennifer
p.s. What version of GrADS are you using? 

On Feb 24, 2015, at 9:19 AM, Andrew Friedman <andfried at gmail.com> wrote:

> ga-> set time jan1946
> Time values set: 1946:1:15:0 1946:1:15:0
> ga-> d s
> Cannot contour grid - all undefined values
> 
> -Andrew
> 
> On Tue, Feb 24, 2015 at 3:07 PM, Jennifer Adams <jma at cola.iges.org> wrote:
> It looks as though all your records are matching and gribmap can open the data files. So, what happens when you ‘set time jan1946’ and ‘d s’ — what error message are you getting? 
> —Jennifer
> 
> 
> On Feb 24, 2015, at 8:51 AM, Andrew Friedman <andfried at gmail.com> wrote:
> 
>> Hi Jennifer and Davide,
>> 
>> Thank you for your help.
>> 
>> Unfortunately I'm still having the same issue after concatenating the annual files into 1 file and modifying the DSET name in the control file.
>> 
>> The output of gribmap is quite is quite extensive - there seem to be 576 lines per year.
>> 
>> gribmap -v -i sal.ctl > gribmap_output.txt
>> I am posting the first 2 years here:
>> https://dl.dropboxusercontent.com/u/647140/gribmap_output.txt
>> 
>> -Andrew
>> 
>> On Tue, Feb 24, 2015 at 2:23 PM, Jennifer Adams <jma at cola.iges.org> wrote:
>> What is the output when you run gribmap -v ? 
>> —Jennifer
>> 
>> On Feb 24, 2015, at 5:33 AM, Andrew Friedman <andfried at gmail.com> 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
>> 
>> --
>> Jennifer M. Adams
>> Center for Ocean-Land-Atmosphere Studies (COLA)
>> 111 Research Hall, Mail Stop 2B3
>> George Mason University
>> 4400 University Drive
>> Fairfax, VA 22030 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>> 
>> 
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> --
> Jennifer M. Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> 111 Research Hall, Mail Stop 2B3
> George Mason University
> 4400 University Drive
> Fairfax, VA 22030 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150224/f774fb61/attachment-0001.html 


More information about the gradsusr mailing list