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
Lazy save improvement #2797
Merged
ericpre
merged 18 commits into
hyperspy:RELEASE_next_minor
from
ericpre:lazy_save_improvement
Oct 30, 2021
Merged
Lazy save improvement #2797
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2338918
Add option to save hspy file without closing the file
ericpre 2526e78
Add option not to write dataset
ericpre 6272e58
Improve docstring load and extra saving arguments of hspy format
ericpre 716e94f
Fix hdf5 opening mode when writing and using `write_dataset=False`
ericpre f4ea563
Add changelog entry
ericpre 986c1cf
Increase coverage
ericpre 7d2abea
Simplify test using pathlib and tmp_path fixture
ericpre c94aa9f
Fix issue with latest h5py (3.5): comparison of hdf5 dataset with sig…
ericpre 1196121
Simplify write to zarr array and increase test coverage of lazy data
ericpre 8b66647
Fix typo docstring and user guide
ericpre f03c2f8
Use lock=False in da.store when writing zspy file
ericpre 84ced7a
Re-introduce passing zarr store to save zspy file
ericpre caf6a01
Tidy up public API and improve docstring
ericpre 3d02aa0
some typos
jlaehne 28d6812
Merge pull request #20 from jlaehne/lazy_save_improvement_typos
ericpre 50fdde7
Update _hierarchical.py
jlaehne 575c975
Increase coverage
ericpre de5ec73
Fix `load` and `save` docstrings and typos
ericpre File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is this sentence correct? Or at least ambiguous?
I'm guessing it should say that using compression can cause file saving and loading to be much slower.
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.
Yes, this is correct in many cases when the IO time is balanced against with the CPU time - most of the time, CPU are fast enough and compressor are efficient enough.