question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Write on Virtual Dataset

See original GitHub issue

Hi! I’m currently working on a project that involves a possible write on HDF5 virtual dataset, specifically writing on the VDS will also write to the files that constructed the VDS. I tried the following but doesn’t seem to work:

f = h5py.File("test.h5", 'w')
f["vds"][4][3][2][1] = 1

Suppose the ‘test.h5’ already have a 4d VDS called “vds” , this assigment did not modify the VDS itself, left alone the files behind it. To be honest, I didn’t look into the C version of HDF5 API, but from the documentation, it seems that they support this functionality (not too sure) I wonder if h5py does support this feature that I missed some info from the documentation or it’s not supported at all.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jisonZcommented, Jan 22, 2021

@tacaswell I agree. I could take a closer look at the HDF5 library and follow up on the discussion

0reactions
takluyvercommented, Feb 22, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Virtual Datasets (VDS) — h5py 3.7.0 documentation
Virtual datasets allow a number of real datasets to be mapped together into a single, sliceable dataset via an interface layer. The mapping...
Read more >
Writing to virtual datasets - HDF5 - HDF Forum
Is writing to a virtual dataset meant to work? ... On paper and in “straightforward” (TBD) cases, write operations are supported.
Read more >
Virtual Datasets - Preset Docs
A virtual dataset is a view of data that is created within Preset using SQL Lab. This means you can use JOIN and...
Read more >
Work with HDF5 Virtual Datasets (VDS) - MATLAB & Simulink
Virtual datasets can have unlimited dimensions and map to source datasets with unlimited dimensions. This mapping allows a Virtual Dataset to grow over...
Read more >
Chapter 6. Building the virtual database
The next step is to define a virtual database that can read and write from ... The service is not a component of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found