In the subroutine patch_pft_size_profile() of EDPatchDynamicsMod, the array pft_agb_profile(:,:) is filled with the integrated structural biomass of all cohorts that fall within its different size and pft classes (the two dimensions). This array is compared among patches as the metric for similarity when it comes time to decide which should fuse.
My expectation was that the largest of the size class bins in the array should be allotted to all of those cohorts greater than some maximum size class (currently defined as DBHMAX = 150cm). But, it seems like cohorts larger than this threshold are not contributing biomass to the largest bin, and are instead contributing to the second largest.
Could others confirm my interpretation please?
Could others agree/disagree that we should re-structure the array indexing so that diameters larger than DBHMAX are the sole inhabitants of of the highest index, and those of smaller sizes populate indices 1:N_DBH_BINS-1?
Summary of Issue:
In the subroutine patch_pft_size_profile() of EDPatchDynamicsMod, the array pft_agb_profile(:,:) is filled with the integrated structural biomass of all cohorts that fall within its different size and pft classes (the two dimensions). This array is compared among patches as the metric for similarity when it comes time to decide which should fuse.
My expectation was that the largest of the size class bins in the array should be allotted to all of those cohorts greater than some maximum size class (currently defined as DBHMAX = 150cm). But, it seems like cohorts larger than this threshold are not contributing biomass to the largest bin, and are instead contributing to the second largest.
Could others confirm my interpretation please?
Could others agree/disagree that we should re-structure the array indexing so that diameters larger than DBHMAX are the sole inhabitants of of the highest index, and those of smaller sizes populate indices 1:N_DBH_BINS-1?
Code as it appears:
In EDTypesMode.F90:
In EDPatchDynamicsMod.F90:
What is the changeset ID of the code, and the machine you are using: 763a722
Screen output or output files showing the error message and context: