Skip to content
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
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/CGILS/run_e3sm_scm_CGILS_s11_cntl.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/CGILS/run_e3sm_scm_CGILS_s11_p2k.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/CGILS/run_e3sm_scm_CGILS_s12_cntl.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/CGILS/run_e3sm_scm_CGILS_s12_p2k.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/CGILS/run_e3sm_scm_CGILS_s6_cntl.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/CGILS/run_e3sm_scm_CGILS_s6_p2k.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/EPCAPE/run_e3sm_scm_EPCAPE_2023-04-26.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/EPCAPE/run_e3sm_scm_EPCAPE_2023-05-15.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/EPCAPE/run_e3sm_scm_EPCAPE_2023-07-02.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
5 changes: 4 additions & 1 deletion E3SM_SCM_scripts/generate_scmscripts.csh
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ cp -r run_e3sm_scm_TEMPLATE.csh $outfile
sed -i s/THECASENAME/$casename/ $outfile
sed -i s/THECASEDESCRIPTION/"Non-precipitating marine stratocumulus"/ $outfile
sed -i s/AEROTYPE/prescribed/ $outfile
sed -i s/CSAEsetres/ne30_ne30/ $outfile
sed -i s/CASElat/31.5/ $outfile
sed -i s/CASElon/239.0/ $outfile
sed -i s/CASEsrfprop/.true./ $outfile
Expand All @@ -642,6 +643,7 @@ cp -r run_e3sm_scm_TEMPLATE.csh $outfile
sed -i s/THECASENAME/$casename/ $outfile
sed -i s/THECASEDESCRIPTION/"Drizzling marine stratocumulus"/ $outfile
sed -i s/AEROTYPE/observed/ $outfile
sed -i s/CSAEsetres/ne30_ne30/ $outfile
sed -i s/CASElat/31.5/ $outfile
sed -i s/CASElon/239.0/ $outfile
sed -i s/CASEsrfprop/.true./ $outfile
Expand Down Expand Up @@ -1287,9 +1289,10 @@ sed -i s/CASEstopn/15/ $outfile
sed -i s/CASEdebug/true/ $outfile
sed -i s/FORCINGPROVIDER/"Bill Gustafson"/ $outfile


# Set defaults and delete any unused options
foreach file (*.csh)
if ($file != run_e3sm_scm_TEMPLATE.csh && $file != generate_scmscripts.csh) then
sed -i s/CASEsetres/ne4_ne4/ $file
sed -i '/OBSERVEDAERO/d' $file
sed -i '/LENGTHNOTE/d' $file
sed -i '/CASEstartdate/d' $file
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_AEROSOLINDIRECT.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_ARM95.csh
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_ARM97.csh
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_ARM_shallow.csh
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_ATEX.csh
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_BOMEX.csh
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_CASS.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_COMBLE.csh
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
4 changes: 2 additions & 2 deletions E3SM_SCM_scripts/run_e3sm_scm_DARWIN.csh
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,14 @@ EOF
endif

# if we want to turn off SW radiation, then set appropriate namelist settings here
if ($do_turnoff_swrad == true) then
if ($do_turnoff_swrad == .true.) then
set iradsw_in = 0
else
set iradsw_in = 1
endif

# if we want to turn off LW radiation, then set appropriate namelist settings here
if ($do_turnoff_lwrad == true) then
if ($do_turnoff_lwrad == .true.) then
set iradlw_in = 0
else
set iradlw_in = 1
Expand Down
Loading