Skip to content
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

Merged
merged 16 commits into from
Jul 25, 2019
Merged

Conversation

johnomotani
Copy link
Collaborator

I've had a go at merging master to fix the merge conflicts in #30 and implement the suggestions from the comments.

TomNicholas and others added 15 commits July 2, 2019 09:52
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.
@pep8speaks
Copy link

pep8speaks commented Jul 22, 2019

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-io
Copy link

codecov-io commented Jul 23, 2019

Codecov Report

Merging #39 into keep_guard_cells will increase coverage by 0.35%.
The diff coverage is 83.33%.

Impacted file tree graph

@@                 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
Impacted Files Coverage Δ
xbout/boutdataset.py 37.07% <ø> (ø) ⬆️
xbout/load.py 86.91% <83.33%> (+0.24%) ⬆️

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 602f557...b4d8a23. Read the comment docs.

@johnomotani johnomotani requested a review from TomNicholas July 25, 2019 16:15
Copy link
Collaborator

@TomNicholas TomNicholas left a 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):
Copy link
Collaborator

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!

@TomNicholas TomNicholas merged commit 99f6d2b into keep_guard_cells Jul 25, 2019
@johnomotani johnomotani deleted the keep_guard_cells-merge-master branch July 26, 2019 14:47
johnomotani pushed a commit that referenced this pull request Dec 11, 2019
Merge master into #30 to fix conflicts in making boundary cells optional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants