<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="MSHTML 6.00.6000.16981" name="GENERATOR">
</head>
<body style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<div dir="ltr" align="left">&nbsp;</div>
<div></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><font face="Arial" color="#0000ff" size="2"></font></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="139244021-07062010">Hi GrADS users!<span class="713404417-17062010">&nbsp;</span></span></font></font></font></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font></font></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="748015221-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><font size="&#43;0"><font size="&#43;0"><span class="139244021-07062010"><span class="713404417-17062010">&nbsp;</span></span><span class="139244021-07062010">-
 I'm looking for a link&nbsp;<span class="713404417-17062010">&nbsp;or&nbsp;</span> reference&nbsp;do the following:<span class="713404417-17062010">&nbsp;</span></span></font></font></font></font></font></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><font size="&#43;0"><font size="&#43;0"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font></font></font></font></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="748015221-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><font size="&#43;0"><font size="&#43;0"><span class="139244021-07062010"><span class="713404417-17062010">For a GRIB-1 file, for a selected variable,
 I want to:</span></span></font></font></font></font></font></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><font size="&#43;0"><font size="&#43;0"><span class="139244021-07062010"><span class="713404417-17062010">&nbsp;</span></span></font></font><span class="139244021-07062010">Smooth
 the data, output smoothed field to GRIB-1 format&nbsp;&nbsp;<span class="713404417-17062010">&nbsp;..</span></span></font></font></font></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"></span></font></font></font></span></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">Test data:</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">Input files:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<strong>TSTM.ctl</strong></span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TSTM.grib&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - GRIB-1 data
 file </strong></span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TSTM.grib.idx</strong></span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"></span></font></font></font></span></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"></span></font></font></font></span></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"><strong>wgrib&nbsp; TSTM.grib</strong></span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">1:0:d=10060912:TSTM:kpds5=60:kpds6=1:kpds7=0:TR=4:P1=0:P2=0:TimeU=1:sfc:0-0hr
 acc:NAve=0</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"></span></font></font></font></span></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"><strong>Contents ot TSTM.ctl</strong></span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">dset&nbsp; ^TSTM.grib</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">index ^TSTM.grib.idx</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">undef 9.999E&#43;20</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">title&nbsp; TSTM.grib</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">* produced by grib2ctl v0.9.12.5p32</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">dtype grib 212</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">pdef 185 129 lcc 35.0 -95.0 105 49 25 25 -95 40635 40635</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">xdef 181 linear -140. 0.5</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">ydef&nbsp; 91 linear&nbsp; 15&nbsp; 0.5</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">tdef 1 linear 12Z09jun2010 1mo</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">zdef 1 linear 1 1</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">vars 1</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">TSTMsfc&nbsp; 60,1, 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ** surface Thunderstorm probability [%]</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">ENDVARS</span></font></font></font></span></span></div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"></span></font></font></font></span></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="748015221-07062010"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"><span class="748015221-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font></font></font><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010">I've
 used the &quot;lats4d&quot; utility of gradsc/gradsnc&nbsp;as follows:</span></font></font></font></span></span></span></font></font></font></span></div>
<div>
<div>
<div>
<blockquote type="cite">
<div style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<div>
<div dir="ltr" align="left"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"><strong>gradsnc&nbsp; -blc 'lats4d -v -q -i TSTM.ctl&nbsp;&nbsp;-ftype ctl&nbsp;-func&nbsp; smth9(tstmsfc) -o test&nbsp; -format grads_grib'</strong></span></font></font></font></span></div>
<div dir="ltr" align="left"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"></span></font></font></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="139244021-07062010"><font face="Arial"><font color="#0000ff"><font size="2"><span class="713404417-17062010"></span></font></font></font></span>&nbsp;</div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"><strong>Output:&nbsp; (excerpted)...</strong></span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">lats4d: vertical levels 1</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">lats4d: using PRESSURE for vertical coordinate</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">...</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">lats4d: Function expression smth9(tstmsfc)</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">lats4d: surface&nbsp; variables&nbsp; tstmsfc</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">lats4d: writing to grads_grib file test.grb on 12Z09JUN2010</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">&nbsp;...</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"><strong>wgrib&nbsp; test.grb</strong></span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">Undefined parameter table (center 100-2 table 128), using NCEP-opn</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">1:0:d=10060912:<strong>PRES</strong>:kpds5=1:kpgs6=1:kpds7=0:TR=0:P1=0:P2=0:TimeU=1:sfc:anl:Nave=0</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">I don't understand why the data written to the new GRIB file is now called &quot;PRES&quot;...</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">Can anyone shed some light on this?</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010">Cheers,</span></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="139244021-07062010"><span class="713404417-17062010"></span></span></font>&nbsp;</div>
<div><font face="Arial" color="#0000ff" size="2"></font>&nbsp;</div>
</span></div>
</div>
</blockquote>
</div>
<div apple-content-edited="true"><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2">
<div style="WORD-WRAP: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space">
&nbsp;</div>
</span></div>
<br>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">The information contained in this e-mail is intended only for the individual or entity to whom it is addressed.<br>
Its contents (including any attachments) may contain confidential and/or privileged information.<br>
If you are not an intended recipient you must not use, disclose, disseminate, copy or print its contents.<br>
If you receive this e-mail in error, please notify the sender by reply e-mail and delete and destroy the message.<br>
</font>
</body>
</html>