Open zonca opened 4 months ago
in particular, even if I specify the pyhealpy wheel in https://github.com/healpy/pyhealpy/blob/pyhealpy/jupyterlite/jupyter_lite_config.json, it is not available at runtime and I have to install it in the first cell with %pip
.
Hello,
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?