forked from ESCOMP/CTSM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'escomp/master' into ctsm5.2_to_5.1.dev166
- Loading branch information
Showing
32 changed files
with
1,353 additions
and
685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Auto Assign to Project(s) | ||
|
||
on: | ||
issues: | ||
types: [opened, labeled] | ||
pull_request: | ||
types: [opened, labeled] | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
assign_high_priority: | ||
runs-on: ubuntu-latest | ||
name: Assign to High Priority project | ||
steps: | ||
- name: Assign issues and pull requests with priority-high label to project 25 | ||
uses: srggrs/[email protected] | ||
if: | | ||
contains(github.event.issue.labels.*.name, 'priority: high') || | ||
contains(github.event.pull_request.labels.*.name, 'priority: high') | ||
with: | ||
project: 'https://github.com/ESCOMP/CTSM/projects/25' | ||
column_name: 'Needs triage' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
cime_config/testdefs/testmods_dirs/clm/FatesColdSeedDisp/shell_commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
SRCDIR=`./xmlquery SRCROOT --value` | ||
CASEDIR=`./xmlquery CASEROOT --value` | ||
FATESROOT=$SRCDIR/src/fates/ | ||
FATESPARAMFILE=$FATESROOT/parameter_files/fates_params_seeddisp_4x5.nc | ||
FATESDIR=$SRCDIR/src/fates/ | ||
FATESPARAMFILE=$SRCDIR/fates_params_seeddisp_4x5.nc | ||
|
||
ncgen -o $FATESPARAMFILE $FATESROOT/parameter_files/fates_params_default.cdl | ||
ncgen -o $FATESPARAMFILE $FATESDIR/parameter_files/fates_params_default.cdl | ||
|
||
$FATESROOT/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_fraction --val 0.2 --allpfts | ||
$FATESROOT/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_max_dist --val 2500000 --allpfts | ||
$FATESROOT/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_pdf_scale --val 1e-05 --allpfts | ||
$FATESROOT/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_pdf_shape --val 0.1 --allpfts | ||
$FATESDIR/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_fraction --val 0.2 --allpfts | ||
$FATESDIR/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_max_dist --val 2500000 --allpfts | ||
$FATESDIR/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_pdf_scale --val 1e-05 --allpfts | ||
$FATESDIR/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_seed_dispersal_pdf_shape --val 0.1 --allpfts |
2 changes: 1 addition & 1 deletion
2
cime_config/testdefs/testmods_dirs/clm/FatesColdSeedDisp/user_nl_clm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
fates_paramfile = '$SRCROOT/src/fates/parameter_files/fates_params_seeddisp_4x5.nc' | ||
fates_paramfile = '$SRCROOT/fates_params_seeddisp_4x5.nc' | ||
fates_seeddisp_cadence = 1 | ||
hist_fincl1 = 'FATES_SEEDS_IN_GRIDCELL_PF', 'FATES_SEEDS_OUT_GRIDCELL_PF' |
15 changes: 15 additions & 0 deletions
15
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStream/README
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Testing FATES two-stream radiation scheme is activated by switching the fates_rad_model | ||
parameter from 1 to 2. This is all that is needed, both radiation schemes | ||
1) Norman and 2) two-stream use the same optical parameters. | ||
|
||
fates_rad_model | ||
|
||
Note that to avoid exceeding the filename string length maximum, the parameter | ||
file generated on the fly is placed in the $SRCROOT/src/fates/parameter_files | ||
directory. This may still run into problems is the $SRCROOT string is too long. | ||
|
||
Like the test with seed dispersal activation, the main downside of this method is | ||
that this file will require a custom update for every fates parameter file API update. | ||
Addressing CTSM issue #2126 will alleviate | ||
this issue as it will provide the capability to build the fates parameter file on | ||
the fly which with the appropriate values for this test. |
1 change: 1 addition & 0 deletions
1
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStream/include_user_mods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../FatesCold |
8 changes: 8 additions & 0 deletions
8
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStream/shell_commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SRCDIR=`./xmlquery SRCROOT --value` | ||
CASEDIR=`./xmlquery CASEROOT --value` | ||
FATESDIR=$SRCDIR/src/fates | ||
FATESPARAMFILE=$CASEDIR/fates_params_twostream.nc | ||
|
||
ncgen -o $FATESPARAMFILE $FATESDIR/parameter_files/fates_params_default.cdl | ||
|
||
$FATESDIR/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_rad_model --val 2 --allpfts |
1 change: 1 addition & 0 deletions
1
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStream/user_nl_clm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fates_paramfile = '$CASEROOT/fates_params_twostream.nc' |
3 changes: 3 additions & 0 deletions
3
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStreamNoCompFixedBioGeo/README
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This tests two-stream radiation crossed with fixed biogeography and nocomp, for | ||
a description of how two-stream is turned on for tests see | ||
FatesColdTwoStream/README |
1 change: 1 addition & 0 deletions
1
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStreamNoCompFixedBioGeo/include_user_mods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../FatesColdNoComp |
8 changes: 8 additions & 0 deletions
8
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStreamNoCompFixedBioGeo/shell_commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SRCDIR=`./xmlquery SRCROOT --value` | ||
CASEDIR=`./xmlquery CASEROOT --value` | ||
FATESDIR=$SRCDIR/src/fates | ||
FATESPARAMFILE=$CASEDIR/fates_params_twostream.nc | ||
|
||
ncgen -o $FATESPARAMFILE $FATESDIR/parameter_files/fates_params_default.cdl | ||
|
||
$FATESDIR/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_rad_model --val 2 --allpfts |
2 changes: 2 additions & 0 deletions
2
cime_config/testdefs/testmods_dirs/clm/FatesColdTwoStreamNoCompFixedBioGeo/user_nl_clm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fates_paramfile = '$CASEROOT/fates_params_twostream.nc' | ||
use_fates_fixed_biogeog=.true. |
Oops, something went wrong.