Skip to content

CHANGE: Expand uncert to include coefficient of variation - #210

Open
nocollier wants to merge 2 commits into
mainfrom
expand-uncert
Open

CHANGE: Expand uncert to include coefficient of variation#210
nocollier wants to merge 2 commits into
mainfrom
expand-uncert

Conversation

@nocollier

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 73.13433% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.91%. Comparing base (34a4d74) to head (eac51f3).

Files with missing lines Patch % Lines
ilamb3/dataset.py 83.05% 10 Missing ⚠️
ilamb3/analysis/bias.py 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
- Coverage   73.01%   72.91%   -0.10%     
==========================================
  Files          48       48              
  Lines        4707     4734      +27     
==========================================
+ Hits         3437     3452      +15     
- Misses       1270     1282      +12     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread ilamb3/analysis/bias.py
@@ -317,7 +317,15 @@ def __call__(

# Integrate uncertainty over time like we did with mean
if dset.is_temporal(uncert):

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better to embed this logic in the get_scalar_uncertainty function and then return xr.Dataset()?

Comment thread ilamb3/dataset.py

Note
----
Uncertainty is indicated either by the presence of the `ancillary_variables`

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beef up docstrings

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The users (and Morgan) should understand why we cal lthis and the interval version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant