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

ERROR: Couldn't open file ./geo_em.d01.nc for input. For command ./metgrid.exe

Dev

New member
Dear users,

I am getting an error when trying to execute ./metgrid.exe.

The error is ERROR: Couldn't open file ./geo_em.d01.nc for input.

Version Details :
WPS-4.5
WRF-4.5.2
Input data :
ds083.2
List of attachments:
namelist.wps
Vtable
geogrid.log
metgrid.log
ungrib.log

Please suggest the required corrections to be made.

Thank You for your time.
 

Attachments

  • geogrid.txt
    154 KB · Views: 2
  • metgrid.txt
    7.3 KB · Views: 2
  • namelist.wps
    1.2 KB · Views: 2
  • ungrib.txt
    3.8 MB · Views: 2
  • Vtable.GFS.txt
    8.4 KB · Views: 2
Do you have the geo_em.d01.nc file in your WPS running directory? If so, can you see if you can open it - using something like "ncview," or even if you can run an NCO command, like "ncdump" on the file?
 
Thank you very much for your response.
Yes, I got the generated geo_em.d01.nc file. Unfortunately, I am unable to open the generated geo_em.d01 file, using ncview or ncdump (please check the attachment). However, I can successfully open geo_em.d02 and geo_em.d03 (also attachment).geo_em.d01.pnggeo_em.d01_ncview_error.pnggeo_em.d02.pnggeo_em.d03.png
 
Last edited:
Hi,
I looked a bit higher up in your geogrid.txt file and see this error several times during the process for d01

Code:
Error in ext_pkg_open_for_write_begin

That error often means you don't have the right permissions to write the file to that directory, but that wouldn't make much sense if you're able to write the d02 and d03 files. Can you try to run this again after making a couple of adjustments (these modifications aren't for the purpose of fixing the error, but should be fixed, regardless).

1) Set debug_level = 0 - setting this option to anything higher rarely provides much information and just causes the output files to be really large and more difficult to read.
2) Your d01 should be larger. Unless you're just playing around with WRF and not really interested in the results, domains should always be at least 100x100 grid points.

After that I just want you to rerun to see if you still get the same issue. Thanks!
 
Dear kwerner,

Thank you for your response. I have tried as you suggested. But still, I am getting a similar error. Please find the attachment of namelist.wps and log files. Please suggest the required corrections to be made.
 

Attachments

  • ungrib.log
    720 KB · Views: 0
  • metgrid.log
    5.8 KB · Views: 0
  • namelist.wps
    1.2 KB · Views: 0
Top