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: 16
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
 
it gives me a series of prints of the same error , which is this
-------------------------------------------------------------------------------
getdrstemplate: DRS Template 42 not defined.
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.
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.
ecc...

After that the program says still
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Successful completion of ungrib. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
then when i run metgrid.exe it gives me this error
Processing domain 1 of 2
Processing 2025-04-24_00
FILE
ERROR: The mandatory field TT was not found in any input data.
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 24824.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

i've also found this thread about ECMWF data which seems to be not complete for WRF

anyway i'm new to this kind of programs but i haven't found any provider except ECMWF that gives you forecast data , the others like NOAA gives you only past forecast data for example NCAR RDA Dataset d083002 , do you know someone else that gives forecast data ? or should i try to generate the forecast with WRF starting from the last forecast available given from NCAR for example ?


Thank you
 
then when i run metgrid.exe it gives me this error
Processing domain 1 of 2
Processing 2025-04-24_00
FILE
ERROR: The mandatory field TT was not found in any input data.
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 24824.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

i've also found this thread about ECMWF data which seems to be not complete for WRF

anyway i'm new to this kind of programs but i haven't found any provider except ECMWF that gives you forecast data , the others like NOAA gives you only past forecast data for example NCAR RDA Dataset d083002 , do you know someone else that gives forecast data ? or should i try to generate the forecast with WRF starting from the last forecast available given from NCAR for example ?


Thank you
GFS data:Index of /pub/data/nccf/com/gfs/prod/gfs.20250424/00/atmos
 
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

Maybe this might help
 
Thank you for the reference GFS data:Index of /pub/data/nccf/com/gfs/prod/gfs.20250424/00/atmos,
THE PIPELINE WORKED with those data , can i just ask you one last question ?

Are there somewhere the information about the data ?

I mean i'd like to know the meaning of the file's names that are in the directory , for instance i've used the files gfs.t06z.pgrb2full.0p50 and i've understood that 50 is the number of atmosferic levels ecc...

I'm looking at the Global Models table in NOMADS at ncep.noaa.gov but i don't know how to identify the model that produced those data and hence the fields produced by the model.

Thank you
 
Thank you for the reference GFS data:Index of /pub/data/nccf/com/gfs/prod/gfs.20250424/00/atmos,
THE PIPELINE WORKED with those data , can i just ask you one last question ?

Are there somewhere the information about the data ?

I mean i'd like to know the meaning of the file's names that are in the directory , for instance i've used the files gfs.t06z.pgrb2full.0p50 and i've understood that 50 is the number of atmosferic levels ecc...

I'm looking at the Global Models table in NOMADS at ncep.noaa.gov but i don't know how to identify the model that produced those data and hence the fields produced by the model.

Thank you
 
Top