<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Wesley and All,<br>
<br>
I have been communicated ARPEGE grib2 issue with Meteo France for a
month or so, <br>
They claimed the file was ok.<br>
<br>
I have copy-pasted your part of the email and have sent them again.<br>
<br>
Will see what they say now.<br>
<br>
Marian<br>
<br>
<div class="moz-cite-prefix">Dňa 17. 12. 2015 o 14:14 Wesley
Ebisuzaki - NOAA Federal napísal(a):<br>
</div>
<blockquote
cite="mid:CAMHOGek5p3qFibo2AeCOW-EAcMw2_14O8zxWne=A=BJJETZNKA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Brian,<br>
<br>
</div>
I am being pedantic because I hope that the ARPEGE and
AROME<br>
</div>
people will get word and fix their grib2 files.<br>
<br>
</div>
In order for GrADS to plot the ARPEGE file, GrADS needs to
know the<br>
</div>
time of the fields. For Product Definition Template (PDT) 4.8
which is<br>
used to describe averages and accumulations, there are 3
different times.<br>
<br>
</div>
Reference time: start of the forecast <br>
<div> Section 1, octets 13-19<br>
<br>
</div>
<div> Start of the forecast time interval:<br>
</div>
<div> reference time + forecast time (Section 3,
octets 18-22)<br>
<br>
</div>
<div> End of the forecast time interval:<br>
</div>
<div> Section 3, octets 35-41<br>
<br>
</div>
<div>For your ARPEGE file, the only unique time should be the
end of the forecast<br>
</div>
<div>time interval. However when you examine the ARPEGE file.<br>
<br>
ebis@linux-landing:~/Downloads$ wgrib2
ARPEGE_0.1_SP1_37H48H_201512150000.grib2 -s -start_ft -end_ft
-match PRATE<br>
133:32079786:d=2015121500:TPRATE:surface:0-37 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
134:32391856:d=2015121500:TPRATE:surface:0-38 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
135:32706662:d=2015121500:TPRATE:surface:0-39 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
136:33024062:d=2015121500:TPRATE:surface:0-40 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
137:33344053:d=2015121500:TPRATE:surface:0-41 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
138:33666613:d=2015121500:TPRATE:surface:0-42 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
139:33991684:d=2015121500:TPRATE:surface:0-43 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
140:34319034:d=2015121500:TPRATE:surface:0-44 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
141:34648323:d=2015121500:TPRATE:surface:0-45 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
142:34979540:d=2015121500:TPRATE:surface:0-46 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
143:35312524:d=2015121500:TPRATE:surface:0-47 hour acc
fcst::start_ft=2015121500:end_ft=2015121600<br>
144:35647622:d=2015121500:TPRATE:surface:0-2 day acc
fcst::start_ft=2015121500:end_ft=2015121700<br>
<br>
</div>
<div>You see that the TPRATE (totat precipitation rate) has the
end of<br>
</div>
<div>the forecast time interval of 2015121600 which is wrong.
This ARPEGE file<br>
</div>
<div>needs to be fixed. A few weeks ago, someone sent me a
AROME<br>
</div>
<div>forecast file which had the same problem.<br>
<br>
</div>
<div>So g2ctl and gribmap will not work until the grib file is
fixed.<br>
<br>
</div>
<div>You can display the fields using <br>
<br>
alt_g2ctl -0t ARPEGE_0.1_SP1_37H48H_201512150000.grib2
>a.ctl<br>
alt_gmp -i a.ctl<br>
<br>
</div>
<div>This solution gives each field a unique name and doesn't
use the<br>
</div>
<div>end of the forecast time.<br>
<br>
</div>
<div>Maybe someone will inform the ARPEGE and AROME people and
they <br>
will fix their files. <br>
</div>
<div><br>
</div>
<div>Wesley<br>
</div>
<div><br>
<div>
<div>
<div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Dec 17, 2015 at
6:13 AM, Brian Gaze <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:brian.gaze@ntlworld.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:brian.gaze@ntlworld.com">brian.gaze@ntlworld.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>Wesley,</p>
<p>You can ftp down the grib file here using
anonymous:</p>
<p>137.135.248.188</p>
<p>ARPEGE_0.1_SP1_37H48H_201512150000.grib2</p>
<p>PS: It's about 40 meg and I tested the
ftp download successfully from a command
line rather than gui client</p>
<p>Cheers</p>
<p>Brian</p>
<p><br>
</p>
<blockquote type="cite"> On 16 December 2015
at 15:03 Wesley Ebisuzaki - NOAA Federal
<<a moz-do-not-send="true"
href="mailto:wesley.ebisuzaki@noaa.gov"
target="_blank">wesley.ebisuzaki@noaa.gov</a>>
wrote: <br>
<br>
<div dir="ltr">
<div> Brian, <br>
<br>
</div>
<div> It would be much easier if you
made your grib file available <br>
</div>
<div> by FTP. If the file is huge or is
a proprietary forecast, you can <br>
</div>
<div> zero out the data by <br>
<br>
</div>
<div> wgrib2 file.grib -rpn 0 -grib_out
file00.grb <br>
</div>
<div> <br>
</div>
<div> Wesley <br>
</div>
<br>
<br>
<div>
<div>
<div class="gmail_extra"> <br>
<div class="gmail_quote"> On Tue,
Dec 15, 2015 at 4:32 PM, Brian
Gaze < <a
moz-do-not-send="true"
href="mailto:brian.gaze@ntlworld.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:brian.gaze@ntlworld.com">brian.gaze@ntlworld.com</a></a>>
wrote: <br>
<blockquote> <span
style="text-decoration:underline"></span>
<div>
<p>Hi,</p>
<p>I'm working with Arpège
grib2 files. These should
I think each contain up to
13 hourly forecast
timesteps. If I run...</p>
<p><a moz-do-not-send="true"
href="http://g2ctl.pl"
target="_blank">g2ctl.pl</a>
-verf -b file.grib2 >
file.ctl<br>
gribmap -i file.ctl<br>
</p>
<p>...I'm able to open the
.ctl file in GrADS but it
only has 2 timesteps. T1
seems to be the time the
model was initialized and
T2 the time of the first
forecast step.</p>
<p><br>
</p>
<p>If I try:</p>
<p><a moz-do-not-send="true"
href="http://g2ctl.pl"
target="_blank">g2ctl.pl</a>
-b -ts1hr file.grib2 >
file.ctl<br>
gribmap -i file.ctl</p>
<p>It opens ok in GrADS and
the correct number of
timesteps are present but
they begin from the model
initialization hour rather
than incrementing from the
time of the first forecast
step. For example:</p>
<p>Model initialization: 0z
15/12<br>
Forecast time range
contained in the file is
+37 hours to +48 hours
after initialization</p>
<p>t2 = 1z 15/12<br>
t3 = 2z 15/12<br>
.. etc<br>
<br>
As a consequence, when I
try to plot a variable the
grid is undefined.</p>
<p><br>
</p>
<p>What should I think be
present is:<br>
t2 = 13z 16/12<br>
t3 = 14z 16/12<br>
..etc</p>
<p>Any suggestions / ideas
on what I'm doing wrong?</p>
<p>Thanks</p>
<p>BWG</p>
</div>
<br>
_______________________________________________
<br>
gradsusr mailing list <br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org"
target="_blank">gradsusr@gradsusr.org</a>
<br>
<a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part8.01000407.08030902@pocasie-bytca.sk" border="0"></div>
</body>
</html>