Skip to content

Commit

Permalink
Revert "update fates hydro test module to change sapwood allometry mode"
Browse files Browse the repository at this point in the history
This reverts commit ed346d4.
  • Loading branch information
glemieux committed Oct 11, 2024
1 parent ed346d4 commit b8a44d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
#!/bin/bash
if [ `./xmlquery --value MACH` == bebop ]; then ./xmlchange --id LND_PIO_TYPENAME --val netcdf; fi
module load e4s
spack env activate gcc
spack load nco

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

spack unload nco
module unload e4s
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ hist_nhtfrq = -24
hist_empty_htapes = .true.
use_fates_planthydro = .true.
fates_spitfire_mode = 1
fates_paramfile = '$CASEROOT/fates_params_hydrograsstempfix.nc'
hist_fincl1 = 'FATES_ERRH2O_SZPF', 'FATES_TRAN_SZPF',
'FATES_SAPFLOW_SZPF', 'FATES_ITERH1_SZPF','FATES_ABSROOT_H2O_SZPF',
'FATES_TRANSROOT_H2O_SZPF','FATES_STEM_H2O_SZPF','FATES_LEAF_H2O_SZPF',
Expand Down

0 comments on commit b8a44d4

Please sign in to comment.