You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run ndown it was failing with messages like the following:
ndown_em main: calling open_r_dataset for wrfout_d01_2023-08-02_00:00:00
NetCDF error: No such file or directory
NetCDF error in wrf_io.F90, line 1077
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 307
program ndown: error opening wrfout_d01_2023-08-02_00:00:00 for reading ierr= -1021
-------------------------------------------
This was baffling since the file was clearly there. Note that I specified io_form_auxinput2 = 2 in my namelist. I eventually found that although the debug messages indicated that ndown was trying to open the wrfout_d01_2023-08-02_00:00:00 file it was actually attempting to open the wrfout_d01_2023-08-02_00:00:00_0000 file, which would be the filename for rank 0 if I had set io_form_auxinput2=102. After digging into the code a bit I found that it was specifying DATASET=AUXINPUT1 in the open_r_dataset call:
When attempting to run ndown it was failing with messages like the following:
This was baffling since the file was clearly there. Note that I specified
io_form_auxinput2 = 2
in my namelist. I eventually found that although the debug messages indicated that ndown was trying to open thewrfout_d01_2023-08-02_00:00:00
file it was actually attempting to open thewrfout_d01_2023-08-02_00:00:00_0000
file, which would be the filename for rank 0 if I had setio_form_auxinput2=102
. After digging into the code a bit I found that it was specifyingDATASET=AUXINPUT1
in theopen_r_dataset
call:WRF/main/ndown_em.F
Line 340 in 3dd1546
I just happened to have specified
io_form_auxinput1 = 102
for this test case, which explains why I ran into this issue.Changing the
DATASET=AUXINPUT1
toDATASET=AUXINPUT2
fixes the issue. I can create a pull request sometime next week for this.The text was updated successfully, but these errors were encountered: