Some biomass outputs only updated for non-new cohorts #1261
Labels
science: history output
Pertaining to FATES history output variables
software: bug
Bug that is specific to software
As part of cleaning up PR #1252, I found myself confused about something I did. This prompted me to do a deep dive on the
VEGC
biomass outputs to understand which are saved for all cohorts vs. only for non-new cohorts.sci.1.77.0_api.36.0.0
FATES_VEGC
ih_totvegc_si
FATES_VEGC_ABOVEGROUND
hio_agb_si
FATES_VEGC_PF
hio_biomass_si_pft
FATES_VEGC_SE_PF
hio_biomass_sec_si_pft
FATES_VEGC_AP
hio_biomass_si_age
FATES_VEGC_APPF
hio_biomass_si_agepft
FATES_VEGC_ABOVEGROUND_SZPF
hio_agb_si_scpf
FATES_VEGC_ABOVEGROUND_SZ
hio_agb_si_scls
FATES_VEGC_SZ
hio_biomass_si_scls
FATES_VEGC_SZPF
ih_totvegc_scpf
Specifically, during development of #1252 I discovered that summing
FATES_VEGC_APPF
across the age-class axis didn't result in theFATES_VEGC_PF
values. I solved that by updating the former for every cohort, not just non-new ones.This implies that non-new cohorts can have positive biomass, so they should never be skipped when processing biomass history outputs.
The text was updated successfully, but these errors were encountered: