xgcm / xcape

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

changed pressure level to work with p = 1d #12

Closed chiaral closed 4 years ago

chiaral commented 4 years ago

In the pressure level application, we have p_surface (a time,lat,lon field), and p = number of level. it is fixed for all time,lat,lon.

Here the changes needed to have a case when p3d is p_level.

codecov-io commented 4 years ago

Codecov Report

Merging #12 into master will increase coverage by 4.58%. The diff coverage is 72.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   57.19%   61.78%   +4.58%     
==========================================
  Files           7        7              
  Lines         264      280      +16     
  Branches       73       76       +3     
==========================================
+ Hits          151      173      +22     
+ Misses         91       83       -8     
- Partials       22       24       +2
Impacted Files Coverage Δ
xcape/stdheight.py 62.5% <50%> (+8.65%) :arrow_up:
xcape/cape_fortran.py 66.66% <57.14%> (-22.23%) :arrow_down:
xcape/core.py 77.77% <78.94%> (+4.35%) :arrow_up:
xcape/srh.py 80% <0%> (+33.33%) :arrow_up:

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 48cfcda...e04046e. Read the comment docs.