<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
hi<br>
<br>
I have a problem to reproduce the precipitation barbs on a meteogram
from <a class="ecxmoz-txt-link-freetext" href="http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/" target="_blank">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 style="" 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') | (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') | (uur = '96'))<br>
'define prec = apcpsfc-prectemp'</font><br>
<br>
But for meteograms, this trick doesn't 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 = 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 <a class="ecxmoz-txt-link-freetext" href="http://users.fulladsl.be/spb4195/gfs.htm" target="_blank">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!                                           
                                           </body>
</html>