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

Preprocessing Using ERA5 Data

uharis1

New member
When I am running the ungrib command after linking the Vtable using ERA5 data. the following error appears
gribsize in gribcode
*** Starting program ungrib.exe ***
Start_date = 2024-06-27_00:00:00 , End_date = 2024-06-28_00:00:00
output format is WPS
Path to intermediate files is ./
*** stopping in gribcode ***\n
\tI was expecting a Grib1 file, but this is a Grib2 file.
\tIt is possible this is because your GRIBFILE.XXX files
\tare not all of the same type.
\tWPS can handle both file types, but a separate ungrib
\tjob must be run for each Grib type.\n


Could someone explain me how to solve the error. Also in the ungrib.log file it says

2024-10-21 16:38:32.001 --- *** Starting program ungrib.exe ***
2024-10-21 16:38:32.005 --- Start_date = 2024-06-27_00:00:00 , End_date = 2024-06-28_00:00:00
2024-10-21 16:38:32.005 --- &UNGRIB
2024-10-21 16:38:32.005 --- out_format = WPS
2024-10-21 16:38:32.005 --- ordered_by_date = TRUE
2024-10-21 16:38:32.005 --- prefix = FILE
2024-10-21 16:38:32.005 --- /
2024-10-21 16:38:32.005 --- output format is WPS
2024-10-21 16:38:32.005 --- INFORM: Interval value: 10800 seconds or 3.000000 hours
2024-10-21 16:38:32.005 --- Path to intermediate files is ./
2024-10-21 16:38:32.008 --- INFORM: Reading Grib Edition 1

Usually the when we build WRF with GRIB2 option it should run isn't it. May i know where am I doing wrong.

Thanks
 



hopefully one of these posts will help you
 
Where did you download your ERA5 data? It seems that your data includes both GRIB1 and GRIB2 records. If this is the case, then WPS cannot process data files that contain records in different GRIB format.

if possible, please download ERA5 data from the website here, then try again.
 
Start_date = 2024-06-25_00:00:00 , End_date = 2024-06-26_00:00:00
2024-10-29 10:49:10.489 --- &UNGRIB
2024-10-29 10:49:10.489 --- out_format = WPS
2024-10-29 10:49:10.489 --- ordered_by_date = TRUE
2024-10-29 10:49:10.489 --- prefix = SFC
2024-10-29 10:49:10.489 --- /
2024-10-29 10:49:10.489 --- output format is WPS
2024-10-29 10:49:10.489 --- INFORM: Interval value: 10800 seconds or 3.000000 hours
2024-10-29 10:49:10.490 --- Path to intermediate files is ./
2024-10-29 10:49:10.493 --- ERROR: Grib2 file or date problem, stopping in edition_num


Can someone help resolve this error. I have downloaded data from NCAR from
Start date: 2024-06-25 00:00
- End date: 2024-07-12 23:00. when I am running ungrib the above error arises.

Thanks!
 

Attachments

  • namelist.wps.txt
    755 bytes · Views: 2
Start_date = 2024-06-25_00:00:00 , End_date = 2024-06-26_00:00:00
2024-10-29 10:49:10.489 --- &UNGRIB
2024-10-29 10:49:10.489 --- out_format = WPS
2024-10-29 10:49:10.489 --- ordered_by_date = TRUE
2024-10-29 10:49:10.489 --- prefix = SFC
2024-10-29 10:49:10.489 --- /
2024-10-29 10:49:10.489 --- output format is WPS
2024-10-29 10:49:10.489 --- INFORM: Interval value: 10800 seconds or 3.000000 hours
2024-10-29 10:49:10.490 --- Path to intermediate files is ./
2024-10-29 10:49:10.493 --- ERROR: Grib2 file or date problem, stopping in edition_num


Can someone help resolve this error. I have downloaded data from NCAR from
Start date: 2024-06-25 00:00
- End date: 2024-07-12 23:00. when I am running ungrib the above error arises.

Thanks!
Please clarify what data you download, so that we can get the same data and repeat your case.
 
Top