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

Execute ./metgrid.exe note that Missing values encountered in interpolated fields. Stopping.

Tianger

New member
I am using WPS-4.2 and WRF-4.2.1.
I need to interpolate between ERA5's model levels and pressure levels, so I created two namelist.wps files: namelist.wps.pl and namelist.wps.ml. Since I can't upload attachments here, I'm only sharing one namelist.wps file. The difference between the two files is the prefix parameter: prefix = 'ML' for model levels and prefix = 'PL' for pressure levels.

Here are the commands I ran:

rm -rf *.grib GRIBFILE*
ln -sf namelist.wps.ml namelist.wps
ln -sf ungrib/Variable_Tables/Vtable.ERA-interim.ml Vtable
ln -sf /workspace/data/ERA5/*_ml.grib .
./link_grib.csh *_ml.grib
./ungrib.exe

rm -rf *.grib GRIBFILE*
ln -sf namelist.wps.pl namelist.wps
ln -sf ungrib/Variable_Tables/Vtable.ERA-interim.pl Vtable
ln -sf /workspace/data/ERA5/*_pl.grib .
./link_grib.csh *_pl.grib
./ungrib.exe
Normally, after running these commands, I should get files like met_em.d01.2025-01-01_00:00:00.nc, but this time they weren't generated. When I ran ./metgrid.exe, it couldn't find these files. After searching online, I realized I also needed to run ./geogrid.exe. However, even after running ./geogrid.exe, the files still weren't generated.

When I proceeded to run ./metgrid.exe, I encountered the following errors:

Processing domain 1 of 2
Processing 2024-06-01_06
ML
PL
WARNING: Field PRES has missing values at level 200100 at (i,j)=(1,1)
WARNING: Field PMSL has missing values at level 200100 at (i,j)=(1,1)
WARNING: Field PSFC has missing values at level 200100 at (i,j)=(1,1)
ERROR: Missing values encountered in interpolated fields. Stopping.
Note: The following floating-point exceptions are signalling: IEEE_OVERFLOW_FLAG
I checked the Vtable contents:

cat Vtable | grep -E "PRES|PSFC|PMSL|PRMSL"
134 | 1 | 0 | | PSFC | Pa | Surface Pressure |
151 | 1 | 0 | | PMSL | Pa | Sea-level Pressure |
I noticed that some variables are missing, but I'm not sure how to fix this. I would appreciate any help!
 

Attachments

  • namelist.wps
    1.3 KB · Views: 0
Hi,
Typically these types of errors indicate that you may have downloaded a subset of data, instead of the global dataset. If that's the case, due to different map projections, it could be that some of the edges or corners of your WRF domain aren't actually included in the data subset you are using. If you believe this could be the case, you can either try grabbing a larger subset to make sure you cover your whole domain, or use the global data, instead.

If that doesn't fix the problem, please also attach the geogrid.log, ungrib.log, and metgrid.log files.

P.S. - the forum only accepts certain file suffixes. If you ever want to attach something and it doesn't approve the suffix, you can always rename the file by adding ".txt" to the end and then it should be allowed to upload to the forum.
 
Top