Skip to content
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

Improve missing ch4 emissions error message #2039

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed
- Added the `-n` aka `--no-bootstrap` option to integration tests to disable bootstrapping missing species in restart files
- Use integer parameters for species units instead of strings (for computational efficiency)
- Update error message for missing surface CH4 emissions with instructions on how to resolve the problem

### Fixed
- Prevent `POAEMISS` from being assigned a value if not allocated (in `carbon_mod.F90`)
Expand Down
4 changes: 3 additions & 1 deletion GeosCore/set_global_ch4_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ SUBROUTINE Set_CH4( Input_Opt, State_Chm, State_Diag, State_Grid, &
ErrMsg = 'Cannot retrieve data for NOAA_GMD_CH4, CMIP6_Sfc_CH4, or ' // &
'SfcVMR_CH4 from HEMCO! Make sure the data source ' // &
'corresponds to your emissions year in HEMCO_Config.rc ' // &
'(NOAA GMD for 1978 and later; else CMIP6).'
'(NOAA GMD for 1978 and later; else CMIP6). To use the last year ' // &
'available you can change the time cycle flag in HEMCO_Config.rc for ' // &
'the inventory from RY to CY.'
CALL GC_Error( ErrMsg, RC, ThisLoc )
RETURN
ENDIF
Expand Down