pyvista / pyvista-xarray

xarray DataArray accessors for PyVista
Apache License 2.0
100 stars 7 forks source link

Refactor #25

Closed banesullivan closed 2 years ago

banesullivan commented 2 years ago

A significant refactor and reimplementation of the API.

Now the RectilinearGrid and StructuredGrid accessors are both available under the .pyvista namespace.

Users must now manually specify x, y, and/or z coordinate names in order to build the mesh

codecov-commenter commented 2 years ago

Codecov Report

Merging #25 (ed61cd7) into main (6c9d807) will decrease coverage by 2.07%. The diff coverage is 91.17%.

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
- Coverage   94.19%   92.12%   -2.08%     
==========================================
  Files           5        7       +2     
  Lines         224      165      -59     
==========================================
- Hits          211      152      -59     
  Misses         13       13              
Impacted Files Coverage Δ
pvxarray/structured.py 85.29% <85.29%> (ø)
pvxarray/accessor.py 95.91% <96.66%> (+1.44%) :arrow_up:
pvxarray/rectilinear.py 97.05% <97.05%> (ø)
pvxarray/__init__.py 100.00% <100.00%> (ø)
pvxarray/errors.py 100.00% <100.00%> (ø)

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 6c9d807...ed61cd7. Read the comment docs.