[gradsusr] Precip Issue with ECM/MET office data

CW Weather weatherstu at chorleyweather.com
Tue Jun 14 15:46:01 EDT 2022


Hello Grads users,

When using ECMWF data and also certain Met Office data the precipitation 
values are undefined. On closer inspection when I inventory the grib as 
shown below, the first line has 0 figure (in bold) at the start where 
there should be a value. No matter what hour I start on it shows a zero 
value. I believe this is preventing the data running. I use curl to 
download the grib and perl to create the ctl file. (example at the 
bottom)

1:0:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:10 hour fcst:
2:587452:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:11 hour fcst:
3:1174904:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:12 hour fcst:
4:1762356:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:13 hour fcst:
5:2349808:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:14 hour fcst:
6:2937260:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:15 hour fcst:
7:3524712:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:16 hour fcst:
8:4112164:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:17 hour fcst:
9:4699616:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:18 hour fcst:
10:5287068:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:19 hour fcst:
11:5874520:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:20 hour fcst:
12:6461972:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:21 hour fcst:
13:7049424:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:22 hour fcst:
14:7636876:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:23 hour fcst:
15:8224328:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:24 hour fcst:
16:8811780:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:3 hour fcst:
17:9399232:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:4 hour fcst:
18:9986684:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:5 hour fcst:
19:10574136:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:6 hour fcst:
20:11161588:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:7 hour fcst:
21:11749040:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:8 hour fcst:
22:12336492:d=2022052100:var discipline=0 master_table=27 parmcat=1 
parm=65:surface:9 hour fcst:

Perl:

@ECHO Please wait, concatenating grb files...
cat *.grb > metoglb_grib.grib2
@ECHO Please wait, creating ctl file...
perl g2ctl.pl -verf metoglb_grib.grib2 > metogl_grib.ctl
@ECHO Please wait, creating idx file...
gribmap -i metoglb_grib.ctl -e

-- 
Kind regards,

Stuart Markham

__

_Founder of CW Weather_

_Website: chorleyweather.com [1]_

Links:
------
[1] https://www.chorleyweather.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20220614/799e3ee6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6b66f0ed.png
Type: image/png
Size: 11158 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20220614/799e3ee6/attachment.png>


More information about the gradsusr mailing list