jbusecke / cmip6_omz

MIT License
2 stars 0 forks source link

Added oxycline algo #24

Closed jbusecke closed 3 years ago

jbusecke commented 3 years ago

I was able to put this together rather quickly! This algorithm detects the upper and lower bound of the OMZ (oxycline). It works super fast on large dask arrays, thanks to numba! I was literally able to plot the linear trend over these values over 100 years 'on-the-fly' in the cloud!

codecov[bot] commented 3 years ago

Codecov Report

Merging #24 (7c115f5) into main (163ff59) will increase coverage by 4.99%. The diff coverage is 60.86%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   54.67%   59.66%   +4.99%     
==========================================
  Files          10       13       +3     
  Lines         289      419     +130     
==========================================
+ Hits          158      250      +92     
- Misses        131      169      +38     
Flag Coverage Δ
unittests 59.66% <60.86%> (+4.99%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmip6_omz/utils.py 0.00% <ø> (ø)
cmip6_omz/boundaries.py 31.57% <31.57%> (ø)
cmip6_omz/upstream_stash.py 49.31% <49.31%> (ø)
tests/test_boundaries.py 100.00% <100.00%> (ø)
tests/test_upstream_stash.py 100.00% <100.00%> (ø)
cmip6_omz/dummy_module.py 0.00% <0.00%> (-100.00%) :arrow_down:
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1c42248...7c115f5. Read the comment docs.