<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Jennifer,</div><div><br></div><div>Thank you very much for looking into the files.</div><div>I have modified the TDEF as you suggested.</div><div>Unortunately I’m still having issues with the files, some quite strange:</div><div><br></div><div>(each time, I replace sal.idx)</div><div><br></div><div>1. If I run ‘gribmap -i sal.ctl’ using the gribmap version from either GrADS 2.0.2 or GrADS 2.1.a2, all of the values are undefined when I open the file sal.ctl in either version of GrADS. Could there be a gribmap command that I am missing?</div><div>Another issue is that</div><div><br></div><div>2. I can open the files using the index file sal.idx that is provided on the data webpage, in either GrADS 2.0.2 and GrADS 2.1.a2. However, examination of the file produces some strange results at some time steps (see image below).</div><div><br></div><div>3. More generally, I’m wondering if GRIB or .idx files can get corrupted without their timestamp changing? I will try re-downloading everything to see if that clears these issues up.<br></div><div><br></div><div>-Andrew</div><div><br></div><div>Time values set: 1945:1:1:0 1945:1:1:0<br>E set to 1 1<br>ga-&gt; set t 13<br>Time values set: 1946:1:1:0 1946:1:1:0<br>ga-&gt; d s<br>Contouring: 24 to 42 interval 2</div><div><img apple-inline="yes" id="B87FF9CA-1A9E-40F2-BB66-8566DF0AEEA6" height="349" width="567" apple-width="yes" apple-height="yes" src="cid:D810F8C4-7B46-4E80-BA86-563EECAA0D26"></div><br>On Feb 24, 2015, at 5:37 PM, Jennifer Adams &lt;<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>&gt; wrote:<br><br><blockquote type="cite">Hi, Andrew —&nbsp;<br>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.&nbsp;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&nbsp;difference.<br>—Jennifer<br>p.s. What version of GrADS are you using?&nbsp;<br><br>On Feb 24, 2015, at 9:19 AM, Andrew Friedman &lt;<a href="mailto:andfried@gmail.com">andfried@gmail.com</a>&gt; wrote:<br><br><blockquote type="cite">ga-&gt; set time jan1946<br>Time values set: 1946:1:15:0 1946:1:15:0<br>ga-&gt; d s<br>Cannot contour grid - all undefined values<br><br>-Andrew<br><br>On Tue, Feb 24, 2015 at 3:07 PM, Jennifer Adams&nbsp;&lt;jma@cola.iges.org&gt;&nbsp;wrote:<br>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?&nbsp;<br>—Jennifer<br><br><br>On Feb 24, 2015, at 8:51 AM, Andrew Friedman &lt;andfried@gmail.com&gt; wrote:<br><br><blockquote type="cite">Hi Jennifer and Davide,<br><br>Thank you for your help.<br><br>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.<br><br>The output of gribmap is quite is quite extensive - there seem to be 576 lines per year.<br><br>gribmap -v -i sal.ctl &gt; gribmap_output.txt<br>I am posting the first 2 years here:<br>https://dl.dropboxusercontent.com/u/647140/gribmap_output.txt<br><br>-Andrew<br><br>On Tue, Feb 24, 2015 at 2:23 PM, Jennifer Adams&nbsp;&lt;jma@cola.iges.org&gt;&nbsp;wrote:<br>What is the output when you run gribmap -v ?&nbsp;<br>—Jennifer<br><br>On Feb 24, 2015, at 5:33 AM, Andrew Friedman &lt;andfried@gmail.com&gt; wrote:<br><br><blockquote type="cite">Hi GrADS users,<br><br>This is my first time using GRIB data or templates in GrADS, so I apologize if this question is basic.<br><br>I'm trying to open a set of annual salinity GRIB files (from Ishii et al.) using the GrADS template feature:&nbsp;http://www.iges.org/grads/gadoc/templates.html<br><br>The files are sequential by year: sal.1945.grb sal.1946.grb sal.1947.grb .... sal.2012.grb ....<br><br>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.<br><br>Do you know what I am missing to get all of the files to load at once?<br><br>I downloaded the data from&nbsp;https://amaterasu.ees.hokudai.ac.jp/~ism/pub/ProjD/v6.13/sal/grib/<br>The control file sal.ctl is as follows:<br>-----------------------------------------------------------<br>DSET &nbsp;^sal.%y4.grb<br>INDEX ^sal.idx<br>dtype &nbsp;grib 255<br>TITLE ANALYZED SALINITY AND ANALYSIS ERROR Ver. 6.13&nbsp;ism@jamstec.go.jp<br>OPTIONS template<br>UNDEF &nbsp;99999<br>XDEF 360 LINEAR &nbsp; &nbsp; .5 &nbsp;1.00<br>YDEF 180 LINEAR &nbsp;-89.5 &nbsp;1.00<br>ZDEF &nbsp;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<br>TDEF 816 LINEAR 15jan1945 1mo<br>VARS &nbsp; 2<br>s &nbsp; &nbsp; 24 &nbsp;88,160,0 &nbsp;salinity &nbsp; &nbsp; &nbsp; [psu]<br>e &nbsp; &nbsp; 24 129,160,0 &nbsp;analysis error [psu]<br>ENDVARS<br>-----------------------------------------------------------<br><br>Thanks,<br>Andrew<br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote><br>--<br>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030&nbsp;</blockquote></blockquote></blockquote></body></html>