Vegetation Mortality Function Test for Calibration #712
valeriabriones
started this conversation in
General
Replies: 1 comment
-
Was hoping to first present the concepts behind the function based on previous discussions. Can also share the code for the functions as well |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've drafted two new functions which attempt to further aid in the post_hoc analysis for calibration. The intent for these new functions is to be executed as a first check after completing "step 2" and before the equilibrium check. Executing this function first ensures that all pfts and pftparts are remaining alive at the end of the equilibrium stage, therefore the subsequent equilibrium check isn't being unknowingly executed on 'dead' pfts or pftparts.
The functions are:
Here we look at output VEGC and check whether or not a given PFTPART for each PFT is >0 over the last 10 years of equilibrium. If the value is >0 then its considered alive and Passes, else its dead and Fails
This function produces line plots for each PFTPART and PFT for VEGC:
Which produces a dataframe that states for each pft and pftpart whether it passed or failed

and a final 'result' column which determines if the entire sample passed or failed
This function looks to see whether a given PFT is alive based on the condition that the values for VEGC over the last 10 years are >0 AND the last year of eq for GPP is also >0. This will print out whether each PFT is alive or whether it failed for this condtion, and will also print the % passed for each variable. Since this function require both VEGC and GPP, i've included a statement to print which notifies if a variable is missing and for which sample, the check will print False if one variable is missing
Beta Was this translation helpful? Give feedback.
All reactions