PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
202 stars 230 forks source link

`get.trait.data.pft()` doesn't use <bety><write> tag #3057

Closed Aariq closed 1 year ago

Aariq commented 1 year ago

Bug Description

Despite setting <bety><write>FALSE</write></bety> in pecan.xml, get.trait.data.pft() writes to BETY.

To Reproduce

run runModule.get.trait.data(settings)

Expected behavior

Based on the function name, I wouldn't expect it to write anything by default. It should at least respect the BETY settings in settings.

Aariq commented 1 year ago

Oops, duplicate of #2968