Skip to content
Open
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
2 changes: 1 addition & 1 deletion AGCM.rc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ SHALLOW_OPTION: UW
# convection scheme options
# ----------------------------------------
CONVPAR_OPTION: @CONVPAR_OPTION
# @BACM_1M_USE_GF2020: 0
@BACM_1M_USE_GF2020: 0
# Convective plumes to be activated (1 true, 0 false)
DEEP: 1
SHALLOW: 0
Expand Down
13 changes: 13 additions & 0 deletions gcm_setup
Original file line number Diff line number Diff line change
Expand Up @@ -2488,6 +2488,19 @@ endif
# Enable DATA_DRIVEN GOCART2G
# ---------------------------
if( $AERO_PROVIDER == GOCART2G ) then

# Switch GOCART2G tuning coefficients to L072 values if needed
# -------------------------------------------------------------
if( $AGCM_LM == 72 ) then
foreach file ($EXPDIR/RC/DU2G_instance_DU.rc $EXPDIR/RC/SS2G_instance_SS.rc)
/bin/mv $file $EXPDIR/RC/dummy
sed -e 's/^\(.*# L181\)/#\1/' \
-e 's/^#\(.*# L072\)/\1/' \
$EXPDIR/RC/dummy > $file
end
/bin/rm -f $EXPDIR/RC/dummy
endif

if ($DATA_DRIVEN == TRUE ) then
/bin/mv $EXPDIR/RC/GOCART2G_GridComp.rc $EXPDIR/RC/GOCART2G_GridComp.tmp
cat $EXPDIR/RC/GOCART2G_GridComp.tmp | \
Expand Down
13 changes: 13 additions & 0 deletions geoschemchem_setup
Original file line number Diff line number Diff line change
Expand Up @@ -2669,6 +2669,19 @@ endif
# Enable DATA_DRIVEN GOCART2G
# ---------------------------
if( $AERO_PROVIDER == GOCART2G ) then

# Switch GOCART2G tuning coefficients to L072 values if needed
# -------------------------------------------------------------
if( $AGCM_LM == 72 ) then
foreach file ($EXPDIR/RC/DU2G_instance_DU.rc $EXPDIR/RC/SS2G_instance_SS.rc)
/bin/mv $file $EXPDIR/RC/dummy
sed -e 's/^\(.*# L181\)/#\1/' \
-e 's/^#\(.*# L072\)/\1/' \
$EXPDIR/RC/dummy > $file
end
/bin/rm -f $EXPDIR/RC/dummy
endif

if ($DATA_DRIVEN == TRUE ) then
/bin/mv $EXPDIR/RC/GOCART2G_GridComp.rc $EXPDIR/RC/GOCART2G_GridComp.tmp
cat $EXPDIR/RC/GOCART2G_GridComp.tmp | \
Expand Down
13 changes: 13 additions & 0 deletions gmichem_setup
Original file line number Diff line number Diff line change
Expand Up @@ -2842,6 +2842,19 @@ awk '{ if ($1~"ENABLE_GOCART_DATA:") { sub(/TRUE/,"FALSE") }; print }' > $EXPDIR
# Turn on GOCART2G
# ----------------
if( $LGOCART2G == TRUE ) then

# Switch GOCART2G tuning coefficients to L072 values if needed
# -------------------------------------------------------------
if( $AGCM_LM == 72 ) then
foreach file ($EXPDIR/RC/DU2G_instance_DU.rc $EXPDIR/RC/SS2G_instance_SS.rc)
/bin/mv $file $EXPDIR/RC/dummy
sed -e 's/^\(.*# L181\)/#\1/' \
-e 's/^#\(.*# L072\)/\1/' \
$EXPDIR/RC/dummy > $file
end
/bin/rm -f $EXPDIR/RC/dummy
endif

if ($DATA_DRIVEN == TRUE ) then
/bin/mv $EXPDIR/RC/GOCART2G_GridComp.rc $EXPDIR/RC/GOCART2G_GridComp.tmp
cat $EXPDIR/RC/GOCART2G_GridComp.tmp | \
Expand Down
13 changes: 13 additions & 0 deletions stratchem_setup
Original file line number Diff line number Diff line change
Expand Up @@ -2535,6 +2535,19 @@ endif
# Enable DATA_DRIVEN GOCART2G
# ---------------------------
if( $AERO_PROVIDER == GOCART2G ) then

# Switch GOCART2G tuning coefficients to L072 values if needed
# -------------------------------------------------------------
if( $AGCM_LM == 72 ) then
foreach file ($EXPDIR/RC/DU2G_instance_DU.rc $EXPDIR/RC/SS2G_instance_SS.rc)
/bin/mv $file $EXPDIR/RC/dummy
sed -e 's/^\(.*# L181\)/#\1/' \
-e 's/^#\(.*# L072\)/\1/' \
$EXPDIR/RC/dummy > $file
end
/bin/rm -f $EXPDIR/RC/dummy
endif

if ($DATA_DRIVEN == TRUE ) then
/bin/mv $EXPDIR/RC/GOCART2G_GridComp.rc $EXPDIR/RC/GOCART2G_GridComp.tmp
cat $EXPDIR/RC/GOCART2G_GridComp.tmp | \
Expand Down
Loading