-
Notifications
You must be signed in to change notification settings - Fork 55
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
Features/517-netcdf4-features #559
Features/517-netcdf4-features #559
Conversation
some of the formatting is wrong here. this is fixed automatically by pre-commit (most of the time). all you need to do is install pre-commit ( |
Thanks, I ran pre-commit and updated the brach. |
bump. is this being worked on? to run the tests locally you can use |
What do you mean, is anything missing? |
the tests are failing. it looks like something in the IO is hanging. you can see it in the Travis CI - Pull Request details |
In Travis CI, IO is hanging, but if I do |
check the versions. it is listed in the log for the travis builds but i have also listed it here:
|
Hi, I've got a quick question: Lets say I've got a dndarray |
ok, seems like |
…eft-hand shape of set-operation). Then only merge slices for split-axis. This is a testing/debugging version, cleanup needed
These formatting errors have nothing to do with my changes. Where do they suddenly come from? Is there a way to suppress them? I don't get any errors when running |
Codecov Report
@@ Coverage Diff @@
## master #559 +/- ##
==========================================
- Coverage 97.59% 97.54% -0.06%
==========================================
Files 87 87
Lines 18030 18219 +189
==========================================
+ Hits 17596 17771 +175
- Misses 434 448 +14
Continue to review full report at Codecov.
|
please extend the unit tests to cover the new additions |
Also, I will have time to look at it next week an make some addition/changes. Sorry for the long delay |
bump, there was an update which removed the |
GPU cluster tests are currently disabled on this Pull Request. |
heat/core/io.py
Outdated
merged_slices = __merge_slices(var, file_slices, data) | ||
try: | ||
var[merged_slices] = ( | ||
data._DNDarray__array.cpu() |
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.
Hi Ben, please replace _DNDarray__array__
with the new larray
for consistency with the rest - also in the follow-up code
heat/core/io.py
Outdated
if is_split: | ||
var[slices] = data.larray.cpu() | ||
merged_slices = __merge_slices(var, file_slices, data) | ||
var[merged_slices] = data._DNDarray__array.cpu() |
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.
_DNDarray__array
--> larray
Thanks a lot @ben-bou for your contribution! |
Description
Adding the following features to the
save_netcdf
method:Issue/s resolved: #517 (partially)
Changes proposed:
Type of change
Due Diligence
Does this change modify the behaviour of other functions? If so, which?
no