[gradsusr] Precip Issue with ECM/MET office data

Davide Sacchetti davide.sacchetti at arpal.liguria.it
Wed Jun 15 03:13:52 EDT 2022


zero it's ok: it is the byte offset, e.g: 587452 -> the second grib message starts 587452 bytes after the beginning of the file, 0  -> it is the first grib message.
...
Bye
Davide


Dott. Davide Sacchetti
Dipartimento Stato dell’Ambiente e Tutela dai Rischi Naturali
U.O. Clima Meteo Idro
Viale Brigate Partigiane 2, 16129 Genova (I)
tel: +39 0106437535
mail: davide.sacchetti at arpal.liguria.it  web: https://www.arpal.liguria.it/homepage/meteo.html



 Da:   CW Weather <weatherstu at chorleyweather.com> 
 A:   GrADS Users Forum <gradsusr at gradsusr.org> 
 Inviato:   14/06/2022 21:46 
 Oggetto:   [gradsusr] Precip Issue with ECM/MET office data 


 
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 

_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
 https://urlsand.esvalabs.com/?u=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&e=7f48b148&h=e3a2c917&f=y&p=n  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20220615/4a011ca0/attachment-0001.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/20220615/4a011ca0/attachment-0001.png>


More information about the gradsusr mailing list