Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

ECMWF open data 0p25 grib2 Vtable?

Hello,

Do we have Vtable suitable for ungribbing this new dataset?

Code:
https://data.ecmwf.int/forecasts/<YYYYMMDD>/00z/ifs/0p25/oper/

Thank you.
 
I'm not sure if the existing Vtables (perhaps Vtable.ECMWF?) are suitable. If you'd like to test them out and let us know, that would be great! If they don't work, you can try contacting the input data support group to see if they are able to help. You can also use the utilities, such as g2print.exe and g1print.exe to look at the codes given in the new data type, which can help you to modify an existing Vtable. If you are able to find one that works, feel free to share it so that it may help other users who are trying to use these data.
 
Hello Kelly,

Provided Vtable.ECMWF unfortunatelly doesn't work as it expects grib1 format. I tried to convert grib2 to grib1 with cnvgrib but it fails too.

I hoped that someone already has new Vtable, but ok, it looks I will need to create new one using tools you mentioned. Thank you anyway. If I succeed I will post here working solution later.

Ivan
 
Hello again,

Is there anything we can do about this problem?


Code:
./g2print.exe 20240402000000-0h-oper-fc.grib2
 ungrib - grib edition num           2
 reading from grib file =
 20240402000000-0h-oper-fc.grib2                                               
                                          
 getdrstemplate: DRS Template           42  not defined.
      ECMWF                           
---------------------------------------------------------------------------------------
 rec Prod Cat Param  Lvl    Lvl      Lvl     Prod    Name            Time          Fcst
 num Disc     num    code   one      two     Templ                                 hour
---------------------------------------------------------------------------------------
 getdrstemplate: DRS Template           42  not defined.
  ERROR extracting field gf_getfld =           12
 getdrstemplate: DRS Template           42  not defined.
  ERROR extracting field gf_getfld =           12
 getdrstemplate: DRS Template           42  not defined.
  ERROR extracting field gf_getfld =           12
 getdrstemplate: DRS Template           42  not defined.
  ERROR extracting field gf_getfld =           12
 getdrstemplate: DRS Template           42  not defined.
  ERROR extracting field gf_getfld =           12
 getdrstemplate: DRS Template           42  not defined.

These error messages repeat until the end of the output, so I don't get anything useful with g2print.exe tool.

Thank you.
 
I think this could be related to CCSDS compression. You can change the packing type by using eccodes for instance:

grib_set -r -w packingType=grid_ccsds -s packingType=grid_simple input.grb output.grb

Then try again with the uncompressed gribs.
 
use wgrib2 IN.grb -set_grib_type c3 -grib_out OUT.grb to change the compression format
Regarding the rest, I am also in the process of trying to use ifs data. It's almost working doing:
- download
- change soil variables with -set_var : wgrib2 test.grb2 -set_var TMP -grib out.grb2 and wgrib2 test.grb2 -set_var SOILW -grib out2.grb2
- change the level, once downloaded the level that are supposed to be cm are put in m (0-7 cm appears 0-7 m)
-change the compression format
- run ungrib with Vtable:
GRIB1| Level| From | To | metgrid | metgrid | metgrid |GRIB2|GRIB2|GRIB2|GRIB2|
Param| Type |Level1|Level2| Name | Units | Description |Discp|Catgy|Param|Level|
-----+------+------+------+----------+---------+-----------------------------------------+-----------------------+
129 | 100 | * | | HGT | K | Height | 0 | 3 | 5 | 100 |
130 | 100 | * | | TT | K | Temperature | 0 | 0 | 0 | 100 |
157 | 100 | * | | RH | % | Relative Humidity | 0 | 1 | 1 | 100 |
131 | 100 | * | | UU | m s-1 | U | 0 | 2 | 2 | 100 |
132 | 100 | * | | VV | m s-1 | V | 0 | 2 | 3 | 100 |
167 | 105 | 2 | | TT | K | Temperature at 2 m | 0 | 0 | 0 | 103 |
151 | 102 | 0 | | MSL | Pa | Mean Sea Level Pressure | 0 | 3 | 0 | 101 |
134 | 1 | 0 | | PSFC | Pa | Surface Pressure | 0 | 3 | 0 | 1 |
165 | 105 | 10 | | UU | m s-1 | U at 10 m | 0 | 2 | 2 | 103 |
166 | 105 | 10 | | VV | m s-1 | V at 10 m | 0 | 2 | 3 | 103 |
172 | 1 | 0 | | LANDSEA | proprtn | Land Sea Mask 0/1 Flag | 2 | 0 | 0 | 1 |
139 | 112 | 0 | 7 | ST000007 | K | T 0-07 cm below ground layer | 0 | 0 | 0 | 106 |
170 | 112 | 7 | 28 | ST007028 | K | T 07-28 cm below ground layer | 0 | 0 | 0 | 106 |
183 | 112 | 28 | 100 | ST028100 | K | T 28-100 cm below ground layer | 0 | 0 | 0 | 106 |
236 | 112 | 100 | 255 | ST100255 | K | T100-255 cm below ground layer | 0 | 0 | 0 | 106 |
39 | 112 | 0 | 7 | SM000007 | fraction| Soil Moist 0-07 cm below grn layer | 2 | 0 | 9 | 106 |
40 | 112 | 7 | 28 | SM007028 | fraction| Soil Moist 7-28 cm below grn layer | 2 | 0 | 9 | 106 |
41 | 112 | 28 | 100 | SM028100 | fraction| Soil Moist 028-100 cm below grn layer | 2 | 0 | 9 | 106 |
42 | 112 | 100 | 255 | SM100255 | fraction| Soil Moist 100-255 cm below grn layer | 2 | 0 | 9 | 106 |
-----+------+------+------+----------+---------+-----------------------------------------+-----------------------+
 
Top