<div dir="ltr">Aloha Grads Users, <div><br></div><div>I am trying to open a bunch of grib files using templating in my control file. The grib files all have index files, and grads won't let me use the wild card notation to reference multiple index files. </div>
<div><br></div><div>I've tried this:</div><div><div style="font-family:arial,sans-serif;font-size:13px">dset ^gfs_4_201301%d2_%h200_000.grb2</div><div style="font-family:arial,sans-serif;font-size:13px">index ^gfs_4_201301%d2_%h200_000.idx</div>
<div style="font-family:arial,sans-serif;font-size:13px">options template</div><div style="font-family:arial,sans-serif;font-size:13px">undef 9.999E+20</div><div style="font-family:arial,sans-serif;font-size:13px">title gfs_4_0141_analysis_00</div>
<div style="font-family:arial,sans-serif;font-size:13px">dtype grib2</div><div style="font-family:arial,sans-serif;font-size:13px">ydef 361 linear -90.000000 0.5</div><div style="font-family:arial,sans-serif;font-size:13px">
xdef 720 linear 0.000000 0.500000</div><div style="font-family:arial,sans-serif;font-size:13px">tdef 56 linear 00Z14jan2013 6hr</div><div style="font-family:arial,sans-serif;font-size:13px">...</div><div style="font-family:arial,sans-serif;font-size:13px">
This didn't work.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I then tried to just create one index file to use for all of the files:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><div>dset ^gfs_4_201301%d2_%h200_000.grb2</div><div>index ^gfs_analysis.idx</div><div>options template</div><div>undef 9.999E+20</div><div>title gfs_4_0141_analysis_00</div>
<div>dtype grib2</div><div>ydef 361 linear -90.000000 0.5</div><div>xdef 720 linear 0.000000 0.500000</div><div>tdef 56 linear 00Z14jan2013 6hr</div><div>...</div><div><br></div><div>This gave me an error:</div><div><div>
ga-> set t 30</div><div>Time values set: 2013:1:21:6 2013:1:21:6 </div><div>ga-> d pwatclm</div><div>GRIB2 I/O error: irec=19764 is greater than g2intnum=672</div><div>Data Request Error: Error for variable 'pwatclm'</div>
<div> Error ocurred at column 1</div><div>DISPLAY error: Invalid expression </div><div> Expression = pwatclm</div></div><div><br></div><div>Is there a way to reference each .idx file, or a special way to make just one .idx file that will work for all of my grib files?</div>
</div><div><br></div><div><br></div><div>Thanks, </div><div>Tom</div><div><br></div>-- <br><div dir="ltr">Tom Robinson<br>President - Graduate Student Organization <br>Chair - Student Athletic Fee Committee <br>Graduate Student - Department of Meteorology<br>
732-718-2323<br></div>
</div></div>