xgcm / xcape

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

Revised documentation of CAPE functions in core.py #27

Closed xebadir closed 4 years ago

xebadir commented 4 years ago

Added documentation for CAPE and CIN calculation and associated wrapped functions. As a user will interact with calc_cape my feeling is that the specification and documentation is required at that point for clarity, with wrapper functions having documentation restricted to what is necessary for contributors.

Still need to:

codecov[bot] commented 4 years ago

Codecov Report

Merging #27 into master will increase coverage by 0.82%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   66.07%   66.89%   +0.82%     
==========================================
  Files           7        9       +2     
  Lines         280      287       +7     
  Branches       76       76              
==========================================
+ Hits          185      192       +7     
  Misses         73       73              
  Partials       22       22              
Impacted Files Coverage Δ
src/xcape/__init__.py 100.00% <ø> (ø)
src/xcape/_version.py 100.00% <ø> (ø)
src/xcape/cape_numba.py 50.00% <ø> (ø)
src/xcape/core.py 84.31% <ø> (ø)
src/xcape/duck_array_ops.py 79.31% <ø> (ø)
src/xcape/srh.py 93.33% <ø> (ø)
src/xcape/stdheight.py 62.50% <ø> (ø)
src/xcape/xarray.py 0.00% <ø> (ø)
src/xcape/cape_fortran.py 63.63% <33.33%> (ø)
... 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 ec5b6a7...f70056c. Read the comment docs.