I used m3fake to create an ocean file that has the same coordinate as my input, but with 0, since my study area is inland. The error messages shows:
>>--->> WARNING in subroutine INIT_MET:INTERPX
Variable "OPEN" not of type REAL/DOUBLE in file OCEAN_1
M3WARN: DTBUF 0:00:00 July 13, 2016 (2016195:000000)
*** ERROR ABORT in subroutine INIT_MET on PE 000
Error interpolating variable OPEN from OCEAN_1
Date and time 0:00:00 July 13, 2016 (2016195:000000)
Don’t know the fix, but a workaround is to just comment out the M3EXIT calls on lines 837 & 845 of ASX_DATA_MOD.F and add the lines: Grid_Data%OCEAN (:, = 0. and Grid_Data%SZONE (:, = 0. afterwards, then recompile.
Hmm, if it is aborting, then you haven’t successfully recompiled because even if it can’t read the ocean file, it won’t abort because you’ve commented out the M3EXIT
the underlying problem is that the ocean file you created with m3fake defined the OPEN and SURF variables as integer, not real.
I’m guessing that you followed the CMAQ tutorial on how to create a dummy OCEAN file using m3fake. In the script included in that tutorial, there was indeed an error that caused the definition of OPEN and SURF as integer by selecting “3” instead of “1” at the m3fake prompt for “Enter TYPE for variable”. We have now corrected this error, you can access the updated tutorial and script by clicking here.
Even though the links from the 2018 github repository version no longer work, you can still find all tutorials under the DOCS folder. The ocean file tutorial can be found here