Closed johnomotani closed 5 years ago
Hello @johnomotani! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
:exclamation: No coverage uploaded for pull request base (
fix-test-against-collect@212f913
). Click here to learn what that means. The diff coverage is55.55%
.
@@ Coverage Diff @@
## fix-test-against-collect #58 +/- ##
===========================================================
Coverage ? 69.14%
===========================================================
Files ? 8
Lines ? 444
Branches ? 93
===========================================================
Hits ? 307
Misses ? 85
Partials ? 52
Impacted Files | Coverage Δ | |
---|---|---|
xbout/boutdataset.py | 46.87% <ø> (ø) |
|
xbout/load.py | 77.65% <100%> (ø) |
|
xbout/geometries.py | 75.64% <46.66%> (ø) |
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 212f913...3fc4f02. Read the comment docs.
Builds on #55, so merging into
fix-test-against-collect
.Adds unit tests for loading datasets with 'toroidal' or 's-alpha' geometries. These show the need to be able to pass a grid file to get
psixy
,Rxy
,Zxy
,hthe
variables, which are not needed by BOUT++ so are never loaded or saved to the dump files. Therefore reinstates the option to pass agridfilepath
, but now the grid file can be opened with justopen_boutdataset
:tada:Also includes a work-around to tell Travis to exclude xarray-0.14.0, which fixes the Travis tests.
Resolves #17.