Comments (6)
There is an issue for the integration of h5web in JLab file browser which needs to be solved in jupyterlab (see #24): There is no way to avoid loading the hdf5 file in the browser!.... so next version of JLab v3.1.x will be needed (jupyter-slurm runs JLab v2).
There is no such issue when opening a file from within a notebook (within JLab):
from jupyterlab_h5web import H5Web
H5Web('<path to the HDF5 file>')
https://github.com/silx-kit/jupyterlab-h5web#in-jupyter-notebooks
This should avoid at least the time for the first loading of a file.
from jupyterlab-h5web.
Ok, thanks!
Just to be sure: to use it in my own jupyterlab installation, so I need to install jupyterlab-h5web
in the jupyterlab's environment or on the kernel's environment (I use different kernels)? Or both?
Last but not least, is JLab v2
--> JLab v3.1.X
upgrade supposed to happen anytime soon? I'm just wondering so I can organize my own priorities.
from jupyterlab-h5web.
to use it in my own jupyterlab installation, so I need to install jupyterlab-h5web in the jupyterlab's environment or on the kernel's environment (I use different kernels)? Or both?
Both: kernel side for the jupyterlab_h5web
import in the notebook, jupyterlab side for enabling the feature in JLab.
On JLab side, you might also need to rebuild JLab (see https://github.com/silx-kit/jupyterlab-h5web#install)
is JLab v2 --> JLab v3.1.X upgrade supposed to happen anytime soon?
Not soon, to upgrade it requires quite a bit of change in the jupyter-slurm installation first (to workaround incompatibilty of matplotlib version installed on the system and JLab 3 compatible extension), and it's not my priority for now.
from jupyterlab-h5web.
Hello @joaopcbertoldo and thanks for the feedback ! To add on @t20100 comments:
- Even though
jupyterlab-h5web
only officially supports JupyterLab 2.x, CI tests should ensure that the extension should work for JupyterLab 3.0.x. Note that so far (v0.0.9 and below), the extension does not work with JupyterLab 3.1.x (see #49). - Even if we release a version of
jupyterlab-h5web
compatible with JupyterLab 3.1.x (which we will do!), this will not fix #24 straight away. There are still roadblocks on the way that I need to overcome by changing things in the extension and in core JupyterLab. That is why we put forward the opening of files in the notebook rather than in the browser. - Now getting back to the issues you reported, I expect 4. to be due to #24 so there is not much to be done.
- The other operations seem indeed slower than what I would expect so I will investigate. I will have a go with your files to see if I get the same.
from jupyterlab-h5web.
As already mentioned, the root issue is that opening an h5web tab by double-clicking on a file fetched the whole file as a base64 blob. Not only this is quite inefficient but also pending requests of this type will slow down the whole "regular" fetching process.
I thought we needed to wait for a newer version of JLab to remove this blob fetching but I was able to bypass the problematic machinery in 0.0.10. Therefore, 0.0.10 removed this blob fetching.
Getting back to the issue at hand: 0.0.10 is now deployed on jupyter-slurm and I tried all the operations above. Except for the external links one (3.), I found that operations were way faster than what you presented so I would invite you to retry and tell us if you get the same impression.
from jupyterlab-h5web.
Latest versions (1.1.0 and 0.0.14) fix 3. and I already mentioned that other points are fixed for versions above 0.0.10.
Therefore I will now close this issue. We can reopen if needed.
from jupyterlab-h5web.
Related Issues (20)
- jupyterlab_h5web is installable through conda-forge HOT 2
- Using file-like objects to open HDF files HOT 5
- Jupyter-lab is not giving the graphical display but just showing the object HOT 3
- Error 500 HOT 3
- Custom selection of dimensions to be plotted HOT 2
- Implement search
- Opening Virtual Datasets raises error: "Request failed with status code 500" HOT 8
- "Expected complex" error HOT 2
- Make the extension compatible for JupyterLab 4 HOT 2
- Dark theme incorrect NXline color HOT 2
- File not found in collaborative mode Jupyterlab v4 HOT 19
- Slashes in .h5 paths are converted to escaped backslashes HOT 2
- The extension is incompatible with h5grove latest release (0.0.9)
- Enter key presses are intercepted for all filebrowser operations (e.g. renaming and deleting)
- When doing a develop install, R3F visualisations freeze the browser HOT 3
- Crashes reading a large file HOT 6
- Ordinate axis appears stretched out in Chrome HOT 8
- Customize colors of 2D plots in H5Web cell HOT 5
- 500 Error when trying to visualize datasets saved in `float128` HOT 5
- h5web-in-cell css style height HOT 4
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 jupyterlab-h5web.