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

(RESOLVED) Metgrid crashes with new version of GFS

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Dear All,

since yesterday June 12th at 12Z NCEP implemented the new version GFS.v15.1.1. Since then our operational forecast crashed. We run WPSV3.9.1 and metgrid.exe stops with:

Select all
     ERROR: Error in ext_pkg_write_field
    Abort(51980320) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 51980320) - process 0

We download GFS from and we use the 0.5º gfs.t12z.pgrb2.0p50.f0* files. Ungrib works fine for the new and old version of GFS with the same Vtable and it seems there are no surface variables missing. But metgrid only works with GFS files prior to 12Z 12 of june. So this error has to be due to changes in the version of GFS.

The first thing we noticed (apart from the new URL) was the change in the number of registries. We checked also the grib2 codes Discp, Catgy, Param of the Vtable and they are the same in the new version of GFS files. Don't know if this is true for the level type code. The documents NCEP published yesterday and also last week do not inform about changes in format or grib2 codes.

I imagine there will be other persons who experienced this problem today and in my case it is quite urgent to find a solution.

I appreciate any response from whom has the same problem and managed to fix it or somebody from NCEP who could reveal us the changes they made.

many thanks,

Hello Thorsten,

Have you seen this update:

This should resolve your problem.


Many thanks Frank,

for your immediate response. WRF is up and running. Sometimes a bit difficult to know where to look.

Best regards,

GFS data at some times didn't include all variables at all its pressure levels. For example, U, U, RH, T might be missing at 40 hPa and 10 hPa. In this situation, ungrib can run successfully but metgrid will crash.

We are aware of this issue. As a temporal solution, Please use Mod_levs in namelist.wps to specify levels at which all variables are available.