<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Please read this post from the archives:<div><a href="http://gradsusr.org/pipermail/gradsusr/2008-September/007677.html">http://gradsusr.org/pipermail/gradsusr/2008-September/007677.html</a></div><div><br></div><div>--Jennifer</div><div><br><div><div>On Nov 23, 2010, at 2:43 PM, eric delaere wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; ">hi<br><br>I have a problem to reproduce the precipitation barbs on a meteogram from<span class="Apple-converted-space">&nbsp;</span><a class="moz-txt-link-freetext" href="http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/">http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/</a><br>I can draw the barbs (3 hourly) but it seems to be not the correct values.<br><br>I already knew that there was a problem with this data, since the 3, 9, 15, 21...timesteps gives the precipitation in the last 3 hours, but the 6, 12, 18,... timestems gives the prec in the last 6 hours !!<br><br>For the maps, I could resolve this by use a small code:<br><font color="#ff0000"><br>if ((uur = '03') | (uur = '09') | (uur = '15') | (uur = '21') | (uur = '27') | (uur = '33') | (uur = '39') | (uur = '45') | (uur = '51') | (uur = '57') | (uur = '63') | (uur = '69') | (uur = '75') | (uur = '81') | (uur = '87')&nbsp; | (uur = '93'))<br>'define prectemp = apcpsfc'<br>'define prec = apcpsfc'<br>endif<br><br>if ((uur = '00') | (uur = '06') | (uur = '12') | (uur = '18') | (uur = '24') | (uur = '30') | (uur = '36') | (uur = '42') | (uur = '48') | (uur = '54') | (uur = '60') | (uur = '66') | (uur = '72') | (uur = '78') | (uur = '84') | (uur = '90')&nbsp; | (uur = '96'))<br>'define prec = apcpsfc-prectemp'</font><br><br>But for meteograms, this trick doesn't&nbsp; work.<br><br>hereafter the source for the meteogram, but with the incorrect precipitation values...<br><br>'set t 1 'n''<br><br>'q time'<br>res = subwrd(result,3)<br>datum2 = substr(res,4,9)<br>uur =&nbsp; substr(res,1,2)<br>dag = subwrd(result,6)<br>fff = substr(dag,1,2)<br><br>'define t2m0 = 0'<br><br>'set xlab on'<br>'set ylab on'<br>'set ccolor 2'<br>'set lat 51'<br>'set lon 4'<br>'set axlim -15 15'<br>'set yaxis -15 15 2'<br>'display tmp2m-273.15'<br><br>'set cmark 0'<br>'set ylab off'<br>'set ccolor 4'<br>'set cthick 6'<br>'set axlim -15 15'<br>'set yaxis -15 15 2'<br>'display t2m0'<br><br>'set ccolor 7'<br>'set ccolor 4'<br>'set axlim -15 15'<br>'set yaxis -15 15 2'<br>'set cthick 4'<br>'display tw'<br><br>*'set ylpos 0 r'<br>*'set xlab on'<br>*'set ylab on'<br>*'set axlim 0 10'<br>*'set yaxis 0 10 1'<br>*'set gxout bar'<br>*'set barbase 0'<br>*'set bargap 50'<br>*'set ccolor 11'<br>*'set grid off'<br>*'display prec'<br><br>The results are uploaded to<span class="Apple-converted-space">&nbsp;</span><a class="moz-txt-link-freetext" href="http://users.fulladsl.be/spb4195/gfs.htm">http://users.fulladsl.be/spb4195/gfs.htm</a><br><br>Someone has a solution to have the correct precipitation (so, to subtract the last 3h prec value from the 6h values)?<br><br>Thx!<span class="Apple-converted-space">&nbsp;</span>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>