xgcm / xcape

Fast convective parameters for numpy, dask, and xarray
Other
30 stars 11 forks source link

Add srh #5

Closed chiaral closed 5 years ago

chiaral commented 5 years ago

Added the fortran codes to compute srh stdheight Bunker srh

for both model and pressure levels.

codecov-io commented 5 years ago

Codecov Report

Merging #5 into master will increase coverage by 10.19%. The diff coverage is 86.2%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #5       +/-   ##
===========================================
+ Coverage   51.55%   61.75%   +10.19%     
===========================================
  Files           5        7        +2     
  Lines         161      217       +56     
  Branches       48       58       +10     
===========================================
+ Hits           83      134       +51     
- Misses         70       71        +1     
- Partials        8       12        +4
Impacted Files Coverage Δ
xcape/cape_fortran.py 88.88% <100%> (+33.33%) :arrow_up:
xcape/stdheight.py 76.92% <76.92%> (ø)
xcape/core.py 81.25% <85.71%> (+1.83%) :arrow_up:
xcape/srh.py 93.33% <93.33%> (ø)

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 bdd76c9...92bb0e2. Read the comment docs.

rabernat commented 5 years ago

Can you add tests for srh?

We will also have to figure out how to compile multiple fortran files in setup.py.