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

Turn off the MEGAN extension for fullchem "non-benchmark" simulations #2372

Merged
merged 2 commits into from
Jul 12, 2024
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 @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Changed
- Now reset `State_Diag%SatDiagnCount` to zero in routine`History_Write` (instead of in `History_Netcdf_Write`)
- Update rundir creation scripts to turn off the MEGAN extension for "standard" fullchem simulations

### Fixed
- Typo in `setCommonRunSettings.sh` that made GCHP always choose mass fluxes for meteorology
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ VerboseOnCores: root # Accepted values: root all
--> N per snowflake : 5.0
--> Model sea salt Br- : false
--> Br- mass ratio : 2.11e-3
108 MEGAN : off ISOP/ACET/PRPE/C2H4/ALD2/MOH/EOH/MTPA/MTPO/LIMO/SESQ/SOAP/SOAS
108 MEGAN : ${RUNDIR_MEGAN_EXT} ISOP/ACET/PRPE/C2H4/ALD2/MOH/EOH/MTPA/MTPO/LIMO/SESQ/SOAP/SOAS
--> Isoprene scaling : 1.0
--> CO2 inhibition : true
--> CO2 conc (ppmv) : 390.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ VerboseOnCores: root # Accepted values: root all
--> N per snowflake : 5.0
--> Model sea salt Br- : true
--> Br- mass ratio : 2.11e-3
108 MEGAN : on ISOP/ACET/PRPE/C2H4/ALD2/MOH/EOH/MTPA/MTPO/LIMO/SESQ/SOAP/SOAS
108 MEGAN : ${RUNDIR_MEGAN_EXT} ISOP/ACET/PRPE/C2H4/ALD2/MOH/EOH/MTPA/MTPO/LIMO/SESQ/SOAP/SOAS
--> Isoprene scaling : 1.0
--> CO2 inhibition : true
--> CO2 conc (ppmv) : 390.0
Expand Down
8 changes: 8 additions & 0 deletions run/GCClassic/createRunDir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,11 @@ else

fi

# Turn off MEGAN for the aerosol-only simulation
if [[ "x${sim_name}" == "xaerosol" ]]; then
RUNDIR_VARS+="RUNDIR_MEGAN_EXT='off'\n"
fi

#-----------------------------------------------------------------
# Ask user to select horizontal resolution
#-----------------------------------------------------------------
Expand Down Expand Up @@ -962,6 +967,7 @@ fi
# Assign appropriate file paths and settings in HEMCO_Config.rc
if [[ ${met} = "ModelE2.1" ]]; then
RUNDIR_VARS+="RUNDIR_DUSTDEAD_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_MEGAN_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_SEASALT_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_SOILNOX_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_OFFLINE_DUST='false'\n"
Expand All @@ -974,6 +980,7 @@ if [[ ${met} = "ModelE2.1" ]]; then
else
if [[ "${sim_extra_option}" == "benchmark" ]]; then
RUNDIR_VARS+="RUNDIR_DUSTDEAD_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_MEGAN_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_SEASALT_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_SOILNOX_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_OFFLINE_DUST='false'\n"
Expand Down Expand Up @@ -1005,6 +1012,7 @@ else
RUNDIR_VARS+="RUNDIR_OFFLINE_DUST='true '\n"
fi
RUNDIR_VARS+="RUNDIR_DUSTDEAD_EXT='off'\n"
RUNDIR_VARS+="RUNDIR_MEGAN_EXT='off'\n"
RUNDIR_VARS+="RUNDIR_SOILNOX_EXT='off'\n"
RUNDIR_VARS+="RUNDIR_OFFLINE_BIOVOC='true '\n"
RUNDIR_VARS+="RUNDIR_OFFLINE_SOILNOX='true '\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ VerboseOnCores: root # Accepted values: root all
--> N per snowflake : 5.0
--> Model sea salt Br- : true
--> Br- mass ratio : 2.11e-3
108 MEGAN : on ISOP/ACET/PRPE/C2H4/ALD2/MOH/EOH/MTPA/MTPO/LIMO/SESQ/SOAP/SOAS
108 MEGAN : ${RUNDIR_MEGAN_EXT} ISOP/ACET/PRPE/C2H4/ALD2/MOH/EOH/MTPA/MTPO/LIMO/SESQ/SOAP/SOAS
--> Isoprene scaling : 1.0
--> CO2 inhibition : true
--> CO2 conc (ppmv) : 390.0
Expand Down
2 changes: 2 additions & 0 deletions run/GCHP/createRunDir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ fi
# Assign appropriate file paths and settings in HEMCO_Config.rc
if [[ "${sim_extra_option}" == "benchmark" ]]; then
RUNDIR_VARS+="RUNDIR_DUSTDEAD_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_MEGAN_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_SEASALT_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_SOILNOX_EXT='on '\n"
RUNDIR_VARS+="RUNDIR_OFFLINE_DUST='false'\n"
Expand Down Expand Up @@ -751,6 +752,7 @@ else
RUNDIR_VARS+="RUNDIR_OFFLINE_DUST='true '\n"
fi
RUNDIR_VARS+="RUNDIR_DUSTDEAD_EXT='off'\n"
RUNDIR_VARS+="RUNDIR_MEGAN_EXT='off'\n"
RUNDIR_VARS+="RUNDIR_SOILNOX_EXT='off'\n"
RUNDIR_VARS+="RUNDIR_OFFLINE_BIOVOC='true '\n"
RUNDIR_VARS+="RUNDIR_OFFLINE_SOILNOX='true '\n"
Expand Down