-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add shell call to generate fates hydro parameter file on the fly
This is a temporary update to avoid NGEET/fates#1254 and should be removed once a fix comes in on the fates-side.
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
cime_config/testdefs/testmods_dirs/clm/FatesColdHydro/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_hydrograsstempfix.nc | ||
|
||
ncgen -o $FATESPARAMFILE $FATESDIR/parameter_files/fates_params_default.cdl | ||
|
||
$FATESDIR/tools/modify_fates_paramfile.py --O --fin $FATESPARAMFILE --fout $FATESPARAMFILE --var fates_allom_smode --val 1 --allpfts |
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