-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge master into #30 #39
Conversation
Arguments for open_mfdataset() now match signature in xarray master branch
Timing information is not consistent between processes and therefore cannot be concatenated.
- Make _BOUT_TIMING_VARIABLES all-uppercase as it is a global constant. - Remove attempt to test that some timing variables have been added to a test dataset before removing them.
Drop timing info dumped by BOUT v4.3
_trim was missing a required argument.
Since _trim is a private method, and in the only place it is used all the arguments are passed, it is clearer not to handle default arguments.
In BOUT++ there are always the same number of guard cells and boundary cells in a given direction, so do not need to specify the number of boundary cells separately.
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! 🍻 Comment last updated at 2019-07-23 08:17:38 UTC |
Codecov Report
@@ Coverage Diff @@
## keep_guard_cells #39 +/- ##
====================================================
+ Coverage 51.27% 51.62% +0.35%
====================================================
Files 6 6
Lines 275 277 +2
Branches 56 56
====================================================
+ Hits 141 143 +2
Misses 123 123
Partials 11 11
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
@@ -155,62 +156,65 @@ def _arrange_for_concatenation(filepaths, nxpe=1, nype=1): | |||
return paths_grid, concat_dims | |||
|
|||
|
|||
def _trim(ds, ghosts, guards={}, keep_guards={}, nxpe=1, nype=1): | |||
def _trim(ds, *, guards, keep_boundaries, nxpe, nype): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not actually know you could do this!
Merge master into #30 to fix conflicts in making boundary cells optional
I've had a go at merging master to fix the merge conflicts in #30 and implement the suggestions from the comments.