<div dir="ltr"><div><div>Ivan,<br><br></div></div><div>"UPP follows NCEP code table for timing grib records - for 15
and 30<br>
minute records use codes 13 and 14 respectively instead of
simple<br>
minutes. This seems to confuse GrADS (or g2ctl/gribmap, I'm
not sure)."<br><br>"Yes it is fixed. I'm currently need to output 10 min intervals.
So, for <br>full hour, 10m, 20m, 40m and 50m I get OK data. But for
30m I do not."<br><br></div><div>These quotes suggests that it is a problem with gribmap expecting<br></div><div>30 minute_time_units and not being able to handle 1 30_minute_time_units.<br><br></div><div>Suggestion #1<br><br></div><div> use alt_g2ctl/alt_gmp<br><br></div><div> Both are based on wgrib2 which uses english rather than code table numbers.<br></div><div><br></div><div>Suggestion #2<br><br></div><div> convert forecast time from 1 (30 minutes) to 30 (minutes)<br><br></div><div> wgrib2 IN.grb -if ":30 min fcst:" -set_ftime "30 min fcst" -fi -grib OUT.grb<br><br></div><div>Wesley<br><br></div><div><br><br></div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 1:21 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>What result do you get when you do<br><br></div>wgrib2 -T (grib file)<br><br>?<br><br></div>Look after the "D=", as the represents the time in the GRIB2 file.<br><br></div>Jeff<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 12:10 PM, Ivan Toman <span dir="ltr"><<a href="mailto:ivtoman@inet.hr" target="_blank">ivtoman@inet.hr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_1535943391223832856m_5316030439332110718moz-cite-prefix">Hello,<br>
<br>
Yes it is fixed. I'm currently need to output 10 min intervals.
So, for full hour, 10m, 20m, 40m and 50m I get OK data. But for
30m I do not.<br>
<br>
Thank you!<span class="gmail-m_1535943391223832856HOEnZb"><font color="#888888"><br>
Ivan</font></span><div><div class="gmail-m_1535943391223832856h5"><br>
<br>
<br>
<br>
On 11/07/2017 05:50 PM, Jeff Duda wrote:<br>
</div></div></div><div><div class="gmail-m_1535943391223832856h5">
<blockquote type="cite">
<div dir="ltr">
<div>What is your time interval? If it's not fixed, that's one
problem. If it is fixed, then I don't see why regular
templating wouldn't work unless the time being written to the
grib2 file is not right. But there are ways to fix that.<br>
<br>
</div>
Jeff Duda<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Nov 7, 2017 at 10:12 AM, Ivan
Toman <span dir="ltr"><<a href="mailto:ivtoman@inet.hr" target="_blank">ivtoman@inet.hr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I'm having difficulties reading sub-hourly time records from
WRF grib<br>
files in GrADS.<br>
<br>
UPP follows NCEP code table for timing grib records - for 15
and 30<br>
minute records use codes 13 and 14 respectively instead of
simple<br>
minutes. This seems to confuse GrADS (or g2ctl/gribmap, I'm
not sure).<br>
<br>
What I get as result is that I can read any sub-hourly
record as long as<br>
it is not 15 or 30 minute record. For those, I get undefined
grid<br>
instead of data.<br>
<br>
I use this workflow for postprocessing: wfrout >(UPP)>
grib1 >(cnvgrib)><br>
grib2 >(g2ctl,gribmap)> GrADS<br>
<br>
Does anybody know what is going on there?<br>
<br>
Thank you in advance<br>
<br>
Ivan Toman<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail-m_1535943391223832856m_5316030439332110718gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Jeff Duda<br>
Post-doctoral research fellow<br>
University of Oklahoma School of Meteorology<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="gmail-m_1535943391223832856m_5316030439332110718mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
gradsusr mailing list
<a class="gmail-m_1535943391223832856m_5316030439332110718moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a class="gmail-m_1535943391223832856m_5316030439332110718moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a>
</pre>
</blockquote>
<p><br>
</p>
</div></div></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><span class="gmail-HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="gmail-m_1535943391223832856gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div></div>