<div class="gmail_quote">On Thu, Apr 17, 2008 at 7:56 PM, Mark Sponsler <<a href="mailto:msponsler@comcast.net">msponsler@comcast.net</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div>Hi Arlindo,</div>
<div>We're getting closer now...</div><div class="Ih2E3d">
<div></div></div></div></blockquote><div><br></div><div>Yes, we are.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div>ga-> d g2(tmpprs)<br>
! grep -i '2008021312:tmpprs:850 ' model_25.inv | wgrib2 -inv /dev/null -i -ijbo<br>x 1:145 1:73 - bin model_25.grb2<br>grep: model_25.inv: No such file or directory</div>
<div>*** FATAL ERROR: could not open file: model_25.grb2 ***</div>
<div><br>Error from g2: invalid size on pipe; expected 42340, got 2269192.<div class="Ih2E3d"></div></div></div></blockquote><div><br></div><div> <span class="Apple-style-span" style="color: rgb(153, 0, 0);">OK, let's go back to where the data is, and issue these commands:</span></div>
<div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br></span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"> grep -i '2008021312:tmpprs:850 ' model_25.inv <br></span></div>
<div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br></span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);">Here is what I expect:</span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br>
</span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"> 12:112911:vt=2008021312:TMPprs:850 mb:850mb<br></span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br></span></div>
<div><span class="Apple-style-span" style="color: rgb(153, 0, 0);">wgrib2 -d 12 -ijbox 1:145 1:73 test.bin bin model_25.grb2<br></span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br></span></div>
<div><span class="Apple-style-span" style="color: rgb(153, 0, 0);">I expect the output:</span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br></span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);">12:112911:d=2008021312:TMP:850 mb:anl:<br>
</span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br></span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);">and a file called "test.bin" of size 42348 bytes.</span></div>
<div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br></span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"> Let me know,</span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"><br>
</span></div><div><span class="Apple-style-span" style="color: rgb(153, 0, 0);"> Arlindo</span></div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>