-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when reading OCEAN_MASK in TransportTracer simulation #204
Comments
Hi @msulprizio! Thanks for bringing this up. I believe this is a syntax error. Try changing ... C xy 1 1 -180/-90/180/90 to ... C xy 1 1 - 180/-90/180/90 leave a space between the - and the mask limits. That should fix it. |
@yantosca The syntax appears to be correct. The dash there is meant to be there so I suspect the issue is caused by these lines added in #198: HEMCO/src/Core/hco_config_mod.F90 Lines 2420 to 2432 in 13abf5e
When I print |
Thanks @msulprizio, I'll look into this now. |
This fixes the issue. I will prep a PR. ! If ncFile is passed as the lon1/lat1/lon2/lat2 instead
! of netCDF file name, then set ncRead to false, so that
! HEMCO won't try to read a file from disk. Also set the
! IsLocTime flag to TRUE. This should fix Github issue
! https://github.com/geoschem/HEMCO/issues/153.
! -- Bob Yantosca (12 Jul 2022)
!
! Also allow for the .$NC replaceable token, see:
! https://github.com/geoschem/HEMCO/issues/204
! -- Melissa Sulprizio & Bob Yantosca (11 Apr 2023)
IF ( INDEX( Lct%Dct%Dta%ncFile, ".nc" ) == 0 ) THEN
IF ( INDEX( Lct%Dct%Dta%ncFile, ".$NC" ) == 0 ) THEN
Lct%Dct%Dta%ncRead = .FALSE.
Lct%Dct%Dta%IsLocTime = .TRUE.
ENDIF
ENDIF |
The fix for this issue (PR #205) is now merged into the 3.7.0 development branch. |
Name and Institution (Required)
Name: Melissa Sulprizio
Institution: Harvard/GCST
Confirm you have reviewed the following documentation
Description of your issue or question
After merging in PR #198, GCClassic integration tests are failing for the TransportTracer simulations. The simulation is crashing when attempting to read OCEAN_MASK, defined in HEMCO_Config.rc as:
The error from HEMCO is:
Tagging @yantosca
The text was updated successfully, but these errors were encountered: