Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions documentation/docs/user_guide/inputs/cable_nml.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The cable.nml file includes some settings that are common across all CABLE appli
| wiltParam | real | any real | 0.0 | Wilt parameter in hydraulic redistribution module. |
| satuParam | real | any real | 0.0 | Saturation parameter in hydraulic redistribution module. |
| cable_user%FWSOIL_SWITCH | character | 'standard' 'non-linear extrapolation' 'Lai and Ktaul 2000' | '' | Controls root water uptake function. |
| cable_user%DIAG_SOIL_RESP | character(len=3) | 'ON' 'OFF' | '' | Controls soil respiration scheme when CASA-CNP not used. |
| cable_user%DIAG_SOIL_RESP | logical | .TRUE. .FALSE. | .FALSE. | Controls soil respiration scheme when CASA-CNP not used. |
| cable_user%LEAF_RESPIRATION | character(len=3) | 'ON' 'OFF' | uninitialised | Controls what is output into the gross primary productivity stash variable. |
| cable_user%RUN_DIAG_LEVEL | character(len=5) | 'BASIC' 'NONE' | uninitialised | Controls output from CABLE to standard out. |
| cable_user%CONSISTENCY_CHECK | logical | .TRUE. .FALSE. | .FALSE. | TRUE outputs combined fluxes at each timestep for comparison to a control run. |
Expand Down Expand Up @@ -138,4 +138,4 @@ The cable.nml file includes some settings that are common across all CABLE appli

<!-- markdown-link-check-disable-line --> [Walker]: https://doi.org/10.1002/ece3.1173
[obsolete]: ../other_resources/obsolete_and_deprecated_features/obsolete_and_deprecated_features.md
[config_examples]: index.md#example-configurations
[config_examples]: index.md#example-configurations
2 changes: 1 addition & 1 deletion src/offline/cable.nml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
! 2. non-linear extrapolation
! 3. Lai and Ktaul 2000
cable_user%GS_SWITCH = 'leuning'
cable_user%DIAG_SOIL_RESP = 'ON '
cable_user%DIAG_SOIL_RESP = .TRUE.
cable_user%LEAF_RESPIRATION = 'ON '
cable_user%RUN_DIAG_LEVEL= 'BASIC' ! choices are:
! 1. BASIC
Expand Down
3 changes: 1 addition & 2 deletions src/science/misc/cable_carbon.F90
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,7 @@ SUBROUTINE soilcarb( soil, ssnow, veg, bgc, met, canopy)

INTEGER :: k

IF( cable_user%DIAG_SOIL_RESP == 'off' .OR. &
cable_user%DIAG_SOIL_RESP == 'OFF' ) THEN
IF( cable_user%DIAG_SOIL_RESP ) THEN

! key parameter for this scheme is veg%rs20

Expand Down
4 changes: 2 additions & 2 deletions src/util/cable_runtime_opts_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ MODULE cable_runtime_opts_mod
! CABLE-2.0 user switches all in single namelist file cable.nml
! clean these up for new namelist(s) format
TYPE kbl_user_switches
!jhan:make this logical
CHARACTER(LEN=3) :: diag_soil_resp=''

LOGICAL :: diag_soil_resp = .FALSE.

CHARACTER(LEN=20) :: fwsoil_switch='standard'

Expand Down