You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows to run JupyterLite, load healpy, read maps loaded into JupyterLite with healpy, it is also possible to use jupyterlab-open-url-parameter to retrieve a map at runtime. However there are several limitations:
loading maps via fromUrl is very slow and works only for tiny maps, even a 30 MB map is too large and makes JupyterLite hang for minutes
pyhealpy only supports maps in ring ordering, maps in nest ordering require ring2nest functionality which is not imported from the C++ package.
Unfortunately, Pyodide does not currently support pre-installing packages, as seen here in the documentation, meaning that pip must still be used to install it at runtime.
As for the limitations, I would say that I have seen fromURL mainly load sheets and other notebooks, so I don't know how well it works with loading maps.
We can also run JupyterLite in the browser and import this package, see a preliminary test at:
https://github.com/healpy/pyhealpy/tree/pyhealpy/jupyterlite
it is deployed at https://healpy.github.io/pyhealpy/jup/lab/index.html
This allows to run JupyterLite, load healpy, read maps loaded into JupyterLite with
healpy
, it is also possible to usejupyterlab-open-url-parameter
to retrieve a map at runtime. However there are several limitations:pyhealpy
only supports maps inring
ordering, maps innest
ordering requirering2nest
functionality which is not imported from the C++ package.@rpwagner @VeerioSDSC would you have any feedback?
The text was updated successfully, but these errors were encountered: