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

Added RRTMG and RATS toggles and settings #649

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
5 changes: 4 additions & 1 deletion AGCM.rc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,8 @@ DIURNAL_BIOMASS_BURNING: yes
RATS_PROVIDER: @RATS_PROVIDER # options: PCHEM, GMICHEM, STRATCHEM (Radiatively active tracers)
AERO_PROVIDER: @AERO_PROVIDER # options: GOCART2G, MAM, none (Radiatively active aerosols)
ANALYSIS_OX_PROVIDER: @OANA_PROVIDER # options: PCHEM, GMICHEM, STRATCHEM, GOCART
CH4_PROVIDER: @CH4_PROVIDER # options: GOCART, GHG, none (GHG = RRG)
Copy link
Member

@mathomp4 mathomp4 Oct 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like no setup script is providing @CH4_PROVIDER (and I'm guessing @CO2_PROVIDER), so you probably need edits in those.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. Yes. Thanks. Will do.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mathomp4 OK. Done. Do I need to create a new PR? The changes are pushed to the mslong1/rrg+rad branch

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. You did right, though I found a small bug. I just pushed a fix and we'll see how CI goes.

CO2_PROVIDER: @CO2_PROVIDER # options: GOCART, GHG, none (GHG = RRG)


# Flag for real-time forecasts (persisted SST) OGCM_IS_FCST: 1 (AMIP-Style Default: 0)
Expand Down Expand Up @@ -892,7 +894,8 @@ USE_SKIN_LAYER: @USE_SKIN_LAYER
# Model Tuning Parameters (For CMIP5 recommended SOLAR_CONSTANT and CO2 values, use -1)
# -------------------------------------------------------------------------------------
SOLAR_CONSTANT: -1
CO2: -1
CO2: -1 # CO2 conc to use in RRTMG. -2 will use 3D CO2 imported from @CO2_PROVIDER set above. -1 will read from a table. >=0 sets ppmv
RATS_DIAGNOSTICS: # Set one or more LW diagnostic analysis for specific RATS in RRTMG (options: O3 CO2 CH4 N2O CFC11 CFC12 CFC22 CCl4)
mathomp4 marked this conversation as resolved.
Show resolved Hide resolved


# Flags for SATSIM Output
Expand Down
7 changes: 7 additions & 0 deletions gcm_setup
Original file line number Diff line number Diff line change
Expand Up @@ -1604,6 +1604,10 @@ EMISSIONS:
# -------------
set RATS_PROVIDER = PCHEM

# Additional RATS settings for specific GHGs
# ------------------------------------------
set CH4_PROVIDER = none
set CO2_PROVIDER = none

#######################################################################
# Confirm HEARTBEAT time for the model
Expand Down Expand Up @@ -2450,6 +2454,9 @@ s?@AERO_PROVIDER?$AERO_PROVIDER?g
s?@OANA_PROVIDER?PCHEM?g
s?@EMISSIONS?$EMISSIONS?g

s?@CH2_PROVIDER?$CH4_PROVIDER?g
mathomp4 marked this conversation as resolved.
Show resolved Hide resolved
s?@CO2_PROVIDER?$CO2_PROVIDER?g

s^@DYCORE^$DYCORE^g
s^@AGCM_GRIDNAME^$AGCM_GRIDNAME^g
s^@OGCM_GRIDNAME^$OGCM_GRIDNAME^g
Expand Down
Loading