-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add warning for AgMIP probabilty distributions and return nothing #30
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #30 +/- ##
==========================================
- Coverage 82.25% 78.46% -3.80%
==========================================
Files 6 6
Lines 62 65 +3
==========================================
Hits 51 51
- Misses 11 14 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Nice addition @lrennels! Will this alter the overall size of the |
@bryanparthum ah that's a good point, I assume your concern being if you wanted to apples to apples compare a Monte Carlo Simulation with |
You got it (assuming this is still sensitive to the |
Really good catch, a vector of |
Issue: The
get_probdists_gtap_df
function does not take the damage function as an argument, so it returns samples from a probability distributionconstructed from a distribution oflowDF
,midDF
, andhighDF
for all damage function settings.Update: The function will now return those samples only if the damage function is one of
lowDF
,midDF
, andhighDF
, and otherwise returnnothing
since we do not currently have a method to produce distributions for that damage function. In addition, this PR adds the parametergtap_name
to the component so that any model using the component can easily recover the name of the damage function used to specific the component.@djsmithumn and @bryanparthum for awareness