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

Ungrib error with grib2 extention , ECMWF Forecast

Hi ,
I'm trying to ungrib a grib2 file from ECMWF Data Store (ECPDS)
i've also compiled WPS with the command ./configure --build-grib2-libs as suggested by the UG in Compiling — WRF Users Guide documentation
but ungrib continue to give me the error

*** Starting program ungrib.exe ***
Start_date = 2025-03-19_00:00:00 , End_date = 2025-03-19_00:00:00
output format is WPS
Path to intermediate files is ./
ERROR: Vtable does not contain Grib2 decoding information. 11 or 12 columns of information is expected. *** stopping parse_table ***

How can i solve this problem ?
Please help i'm starting to become desperate.

More information , I'm using WPS-4.5

If it is unsolvable my objective is trying to download some forecast data and run it on WRF to have a detailed forecast on a specific area , if anybody knows how can i do it
it will be also a solution for me
 
I assume you're probably trying to use Vtable.ECMWF? If so, it looks like in wpsv4.6, that Vtable was updated to include the grib2 information. I'm attaching the Vtable from v4.6. Try to use this one and let me know if it gets you past the issue.
 

Attachments

  • Vtable.ECMWF.txt
    4.2 KB · Views: 10
Thank you for the reply, but the problem still remains.
I've installed and wps4.6.0 and checked the file Vtable.ECMWF which is the same as the file you shared to me and tried to analyze a grib2 file that i've downloaded from here ECMWF Data Store (ECPDS) but the prompt gave me some errors about fields not defined.

You can try by yourself and tell me if it works.
If not can you please at least address me some forecast data source that produce grib2 files that works with this model ?

Thank you for your time.
 
Thank you for the reply, but the problem still remains.
I've installed and wps4.6.0 and checked the file Vtable.ECMWF which is the same as the file you shared to me and tried to analyze a grib2 file that i've downloaded from here ECMWF Data Store (ECPDS) but the prompt gave me some errors about fields not defined.

You can try by yourself and tell me if it works.
If not can you please at least address me some forecast data source that produce grib2 files that works with this model ?

Thank you for your time.
Before ungrib, you need to convert your grib2 data to simple grib data by using newest ECCODES.
Try This:
  1. grib_set -r -w packingType=grid_ccsds -s packingType=grid_simple 20250415000000-12h-oper-fc.grib2 output.grib
  2. then run WPS/ungrib
 
Top