Tom,<br><br> You are right, the template files contain the default values. You can change<br>the octets of grib2 files by:<br><br> wgrib2 TEMPLATE -set_byte 1 6 "0:64" -set_byte 4 11 196 -grib NEW_TEMPLATE<br>
<br>Wesley<br><br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 7:59 PM, Thomas Robinson <span dir="ltr"><<a href="mailto:ter@hawaii.edu" target="_blank">ter@hawaii.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Aloha GrADS users, <div><br></div><div>I am using <a href="http://g2grb.gs" target="_blank">g2grb.gs</a> to create grib2 output of calculated reflectivity data. Everything is working great, but in order to make it operational, I need to make the following changes to the grib data:</div>
<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">set Section 1, Octet 6-7 to 64 (currently 255)</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">set Section 4, Octet 11 to 196 (currently 4)</span></div><div><br></div><div>It appears that g2grb uses a template file, and I'm assuming that these octets are set in that grib template file. I am wondering if anyone knows how to make these changes so that my grib2 output file has the correct octet settings (or if you have a grib2 template file that would work, that would be extremely helpful). </div>
<div><br></div><div>Thanks, </div><div>Tom <span class="HOEnZb"><font color="#888888"><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div><br></div>-- <br>Tom Robinson<br>President - Graduate Student Organization <br>
Graduate Student - Department of Meteorology<br><a href="tel:732-718-2323" value="+17327182323" target="_blank">732-718-2323</a><br><br>
</font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br>