(RESOLVED) ERROR: Error in ext_pkg_write_field in metgrid (WPS v4.0)

Topics related to running the metgrid.exe program
Post Reply
davdg000
Posts: 9
Joined: Sun Dec 13, 2020 3:22 pm

(RESOLVED) ERROR: Error in ext_pkg_write_field in metgrid (WPS v4.0)

Post by davdg000 » Mon Jul 19, 2021 4:44 am

Hi

I am having problems running the metgrid.exe. I have the version 4.0 of WPS and geogrid.exe and ungrib.exe have run successfully. But metgrid.exe are not. I have re-compiled whole WPS again, and have the same problem. The input data is from the GFS , the Geographical Static Data is from UCAR and I have two domains.

When running metgrid, it manages to generate some output files from the fisrt domain (met_em.d01.2021-07-06_*.nc), but in a moment it stops and produces the following error without even finishing the first domain:
ERROR: Error in ext_pkg_write_field
Note: The following floating-point exceptions are signalling: IEEE_OVERFLOW_FLAG IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
The last lines in the metgrid.log are:
2021-07-18 23:25:40.438 --- INFORM: Field LANDSEA.mask does not have a valid mask and will not be checked for missing values
2021-07-18 23:25:40.442 --- Initializing output module.
2021-07-18 23:25:40.445 --- ERROR: Error in ext_pkg_write_field
I don't know what's wrong. I will be very grateful for any help.
Attached to this message the files namelist.wps, metrgid.log and geogrid.log.

Thanks!
Attachments
geogrid.log
(23.04 KiB) Downloaded 9 times
metgrid.log
(516.32 KiB) Downloaded 11 times
namelist.wps
(1.33 KiB) Downloaded 8 times

kwerner
Posts: 2428
Joined: Wed Feb 14, 2018 9:21 pm

Re: ERROR: Error in ext_pkg_write_field in metgrid (WPS v4.0)

Post by kwerner » Wed Jul 21, 2021 8:21 pm

Hi,
This error typically indicates that you're missing some mandatory surface data. Take a look at this FAQ that states the mandatory fields, and make sure you have them for the surface and soil.
NCAR/MMM

davdg000
Posts: 9
Joined: Sun Dec 13, 2020 3:22 pm

Re: ERROR: Error in ext_pkg_write_field in metgrid (WPS v4.0)

Post by davdg000 » Thu Jul 22, 2021 2:46 am

Thanks! :mrgreen:

I found the error: the ungrib.exe uses a lot of hard disk and I did not have free space, it gave an announcement of a successful run, but it did not really write the whole intermediate files.

kwerner
Posts: 2428
Joined: Wed Feb 14, 2018 9:21 pm

Re: ERROR: Error in ext_pkg_write_field in metgrid (WPS v4.0)

Post by kwerner » Mon Jul 26, 2021 10:19 pm

Great - I'm glad you were able to find the problem! Thank you for letting me know.
NCAR/MMM

Post Reply

Return to “metgrid”