<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Garamond,Georgia,serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Dave,&nbsp;</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">In your example, you are missing the third zero before &quot;.grb2&quot;</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best,&nbsp;</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols">
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt">---------------------------------------</span></p>
<span style="font-size:11pt"></span><span style="font-family:Garamond,Georgia,serif; font-size:11pt"></span><span style="font-size:11pt"></span>
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt">Dr. Vittorio (Victor) A. Gensini</span></p>
<span style="font-size:11pt"></span><span style="font-family:Garamond,Georgia,serif; font-size:11pt"></span><span style="font-size:11pt"></span>
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt">Assistant Professor</span></p>
<span style="font-size:11pt"></span><span style="font-family:Garamond,Georgia,serif; font-size:11pt"></span><span style="font-size:11pt"></span>
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt">Department of Geographic and Atmospheric Sciences</span></p>
<span style="font-size:11pt"></span><span style="font-family:Garamond,Georgia,serif; font-size:11pt"></span><span style="font-size:11pt"></span>
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt">Northern Illinois University</span></p>
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt">Davis Hall (DH), Room 118</span></p>
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt">DeKalb, IL 60115</span></p>
<p><span style="font-family:Garamond,Georgia,serif; font-size:11pt"><a href="http://wcs.niu.edu" class="OWAAutoLink" id="LPNoLP">http://wcs.niu.edu</a></span></p>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org &lt;gradsusr-bounces@gradsusr.org&gt; on behalf of Ryglicki, Dr. David &lt;david.ryglicki@nrlmry.navy.mil&gt;<br>
<b>Sent:</b> Tuesday, December 19, 2017 3:59:50 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> [gradsusr] Templating GFS analyses</font>
<div>&nbsp;</div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:x_link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.x_EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.x_MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="purple">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hey, GrADS’ers.</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">Simple question about g2ctl and templating over GFS analyses. I’m pulling data from NCEP’s HAS system, and when I get the data, it looks something like this:</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">gfs_4_20120730_0000_000.grb2</p>
<p class="x_MsoNormal">gfs_4_20120730_0600_000.grb2</p>
<p class="x_MsoNormal">…</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">When I try templating with: “g2ctl -0 gfs_4_2012%m2%d2_%h200_00.grb2”, I get the error: ‘Argument “0730_00” isn’t numeric in numeric gt (&gt;) at /path/to/g2ctl line 267.’</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">I can get around this pretty easily with some awk, but I was wondering… am I doing something wrong here, or is this just how it is?</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">Thanks.</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">~Dave</p>
</div>
</div>
</body>
</html>