<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 11, 2014, at 6:13 PM, Thomas Robinson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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></div></blockquote>Right, you can't template index files together, although that is something we are thinking about implementing...<br><blockquote type="cite"><div dir="ltr"><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></div></div></div></blockquote><div><br></div>Did you run gribmap to create gfs_analysis.idx before opening this descriptor file? Use the -v option and check to make sure you are getting a "MATCH" for each record..</div><div>--Jennifer</div><div><br></div><div><br><blockquote type="cite"><div dir="ltr"><div><div style="font-family:arial,sans-serif;font-size:13px"><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>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>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 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></body></html>