CABLE-LSM / CABLE-Trac-archive

Archive CABLE Trac contents as issues
Other
0 stars 0 forks source link

internal inconsistency in canopy%fwet #134

Closed penguian closed 2 years ago

penguian commented 7 years ago

keyword_canopy%fwet_nogit resolution_fixed type_defect | by inh599


The variable canopy%fwet is calculated in (at least) three occasions within cable_canopy

The value set within surf_wetness_fact differs from that in dryLeaf and wetLeaf, if the LAI threshold is exceeded (it is limited to <0.9 not <1.0). As it appears that %fwet is not used unless the LAI threshold is exceeded, the value given in surf_wetness_fact is NOT used within CABLE. Also there is no physical reason why the value should vary during the iteration loop.

For internal consistency the three calculations need to be made to be consistent and/or (preferably for efficiency and code legibility) the calculations within dryLeaf and wetLeaf removed.

The current implementation risks the creation of bugs into the future as researchers are unaware of the different locations where %fwet is determined.


Issue migrated from trac:134 at 2023-11-27 11:19:18 +1100

penguian commented 7 years ago

@jxs599@nci.org.au changed milestone from Report to Closed

penguian commented 7 years ago

@jxs599@nci.org.au changed milestone from 1. Closed to 6. Report

penguian commented 2 years ago

@jxs599@nci.org.au changed status from new to closed

penguian commented 2 years ago

@jxs599@nci.org.au set resolution to fixed

penguian commented 2 years ago

@jxs599@nci.org.au changed type from code improvement to defect

penguian commented 2 years ago

@jxs599@nci.org.au changed milestone from 6. Report to 1. Closed

penguian commented 2 years ago

@jxs599@nci.org.au commented


pushe to trunk @ 8663

penguian commented 1 year ago

@ccc561@nci.org.au changed keywords from canopy%fwet to canopy%fwet nogit