You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_guide/config_options.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -414,6 +414,7 @@ realisations:
414
414
415
415
: **Default:** unset, _optional key_. :octicons-dash-24: Branch-specific namelist settings for `cable.nml`. Settings specified in `patch` get "patched" to the base namelist settings used for both branches. Any namelist settings specified here will overwrite settings defined in the default namelist file and in the science configurations. This means these settings will be set as stipulated in the `patch` for this branch for all science configurations run by `benchcab`.
416
416
: The `patch` key must be a dictionary-like data structure that is compliant with the [`f90nml`][f90nml-github] python package.
417
+
: To specify a boolean namelist option, one needs to use the Python booleans, True and False, **not the Fortran booleans**
417
418
418
419
```yaml
419
420
realisations:
@@ -424,10 +425,12 @@ realisations:
424
425
cable:
425
426
cable_user:
426
427
FWSOIL_SWITCH: "Lai and Ktaul 2000"
428
+
litter: True # (2)
427
429
```
428
430
429
431
1. Sets FWSOIL_SWITCH to "Lai and Ktaul 2000" for all science configurations for this branch
430
-
432
+
2. The Python boolean will be translated to a Fortran boolean when writing to the namelist file
433
+
431
434
### [patch_remove](#patch_remove)
432
435
433
436
: **Default:** unset, _optional key. :octicons-dash-24: Specifies branch-specific namelist settings to be removed from the `cable.nml` namelist settings. When the `patch_remove` key is specified, the specified namelists are removed from all namelist files for this branch for all science configurations run by `benchcab`. When specifying a namelist parameter in `patch_remove`, the value of the namelist parameter is ignored.
@@ -449,14 +452,16 @@ realisations:
449
452
## science_configurations
450
453
451
454
: **Default:** unset, _optional key_. :octicons-dash-24: User defined science configurations. Science configurations that are specified here will replace [the default science configurations](default_science_configurations.md). In the output filenames, each configuration is identified with S<N\> where N is an integer starting from 0 for the first listed configuration and increasing by 1 for each subsequent configuration.
455
+
: To specify a boolean namelist option, one needs to use the Python booleans, True and False, **not the Fortran booleans**
452
456
453
457
```yaml
454
458
science_configurations: [
455
459
{ # S0 configuration
456
460
cable: {
457
461
cable_user: {
458
462
GS_SWITCH: "medlyn",
459
-
FWSOIL_SWITCH: "Haverd2013"
463
+
FWSOIL_SWITCH: "Haverd2013",
464
+
litter: True # (1)
460
465
}
461
466
}
462
467
},
@@ -471,6 +476,8 @@ science_configurations: [
471
476
]
472
477
```
473
478
479
+
1. The Python boolean will be translated to a Fortran boolean when writing the namelist file.
480
+
474
481
## codecov
475
482
476
483
: **Default:** False, _optional key. :octicons-dash-24: Specifies whether to build `benchcab` with code-coverage flags, which can then be used in post-run analysis (`benchcab gen_codecov`).
0 commit comments