Skip to content

Commit 9a5202a

Browse files
authored
Merge branch E3SM-Project/whannah/fix-domain-tool-thresholds (PR #8533)
Fix CL options for minimum and maximum land fraction. Provides explicit types for fminval and fmaxval. [BFB]
2 parents b589ae8 + c7699c5 commit 9a5202a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/generate_domain_files/generate_domain_files_E3SM.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,12 @@ class clr:END,RED,GREEN,MAGENTA,CYAN = '\033[0m','\033[31m','\033[32m','\033[35m
9494
help='Creation date stamp for domain files')
9595
parser.add_option('--fminval',
9696
dest='fminval',
97+
type='float',
9798
default=1e-8,
9899
help='Minimum allowable land fraction (reset to 0 below fminval)')
99100
parser.add_option('--fmaxval',
100101
dest='fmaxval',
102+
type='float',
101103
default=1,
102104
help='Maximum allowable land fraction (reset to 1 above fmaxval)')
103105
parser.add_option('--set-omask',

0 commit comments

Comments
 (0)