boutproject / xBOUT

Collects BOUT++ data from parallelized simulations into xarray.
https://xbout.readthedocs.io/en/latest/
Apache License 2.0
22 stars 10 forks source link

Fixes for transforming to/from field-aligned #128

Closed johnomotani closed 4 years ago

johnomotani commented 4 years ago

Renames methods to to_field_aligned and from_field_aligned to follow PEP8 naming convention.

Add support for shifting staggered fields if staggered zShift coordinates are present.

codecov-commenter commented 4 years ago

Codecov Report

Merging #128 into master will increase coverage by 0.33%. The diff coverage is 91.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
+ Coverage   71.27%   71.61%   +0.33%     
==========================================
  Files          14       14              
  Lines        1699     1705       +6     
  Branches      361      363       +2     
==========================================
+ Hits         1211     1221      +10     
+ Misses        382      380       -2     
+ Partials      106      104       -2     
Impacted Files Coverage Δ
xbout/boutdataarray.py 85.14% <90.47%> (+2.49%) :arrow_up:
xbout/boutdataset.py 74.68% <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 c7dccf8...22606ba. Read the comment docs.