comet-toolkit / obsarray

Measurement uncertainty handling in Python
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Flag accessor #7

Closed shunt16 closed 1 year ago

shunt16 commented 1 year ago

Adds xarray dataset accessor for handling flag variables (defined following the cf conventions).

A basic explanation of how to use the interface is defined in docs/content/user/flag_accessor.rst.

codecov[bot] commented 1 year ago

Codecov Report

Merging #7 (e0d0983) into main (1ca1fb2) will decrease coverage by 0.13%. The diff coverage is 80.36%.

:exclamation: Current head e0d0983 differs from pull request most recent head 2092521. Consider uploading reports for the commit 2092521 to get more accurate results

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
- Coverage   80.74%   80.61%   -0.13%     
==========================================
  Files          14       16       +2     
  Lines        1667     2162     +495     
==========================================
+ Hits         1346     1743     +397     
- Misses        321      419      +98     
Impacted Files Coverage Δ
obsarray/flag_accessor.py 62.25% <62.25%> (ø)
obsarray/test/test_flag_accessor.py 99.32% <99.32%> (ø)
obsarray/__init__.py 100.00% <100.00%> (ø)
obsarray/templater/dataset_util.py 76.52% <100.00%> (+4.79%) :arrow_up:
obsarray/templater/tests/test_dataset_util.py 99.59% <100.00%> (+0.10%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.