Comments (6)
mmap isn't magic; it just makes a file act like a block of memory, the same way swap/virtual memory do. It requires that the in-memory representation is identical to the on-disk representation. This is a limitation at the OS level.
You might be able to use the hyperslab interface, which doesn't use mmap, to read subsets of a compressed array, although I haven't tried it.
from hdf5.jl.
Hi Simon,
I see, the package is using mmap directly.
Pytables (http://pytables.github.io/usersguide/optimization.html#compression-issues) has interesting facilities for compressing data, some that are not on the HDF5 standard, and that work with lazy loading. But it does not use mmap directly, from what I understand it has its own implementation (http://comments.gmane.org/gmane.comp.python.pytables.user/2903).
Is the hyperslab interface implemented in HDF5.jl?
Thanks,
Cássio
from hdf5.jl.
Yes. See the docs.
from hdf5.jl.
Can you point me to it? https://github.com/timholy/HDF5.jl/blob/master/doc/hdf5.md does not mention hyperslab.
I'd like to read an array written as f["A", "chunk", (10000,1), "compress", 3] = A
using lazy loading.
Thanks,
Cássio
from hdf5.jl.
That's what this section describes (the Asub = dset[2:3, 1:3]
syntax).
from hdf5.jl.
Thanks Tim. I thought there was something else to it.
from hdf5.jl.
Related Issues (20)
- Is tab completion supportable? [feature request] HOT 10
- Change use constructors instead of functions HOT 2
- Windows test failures for SZIP compression HOT 2
- Update change log and release notes
- Add to list of known preferences HOT 2
- Convenience function to use custom or system provided HDF5 binaries HOT 1
- Test failures in h5a_iterate HOT 1
- Changed requirements in HDF5_jll's `libhdf5.so` for `libcurl.so`? HOT 8
- Can't get HDF5.jl work with Julia running in docker (julia:1.8-alpine3.17) - can't find libmpi.so.12 HOT 6
- Add mid/high level interface for HDF5 Dimension Scale HOT 1
- Writing scalar datasets of compound types HOT 3
- freeze when `hdf5_type_id` on self-referential datatype HOT 17
- Get rid of HISTORY.md? HOT 1
- Segfault when writing variable length string as attribute HOT 8
- Feature request - add support for SparseMatrixCSC HOT 1
- Support szip (freely) HOT 5
- Installing HDF5.jl on ARM M1 HOT 5
- HDF5.jl triggers segfault in ccall with openmp+clang(m1) with julia 1.10 HOT 20
- Inconsistent writing of complex data inside compound type HOT 1
- `set_libraries!()` fails on fresh install HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdf5.jl.