ESASky Python wrapper
Project description
pyESASky
Welcome to the ESASky Jupyter widget page.
Requirements
Jupyter
comes together with anaconda.
Installation
$ pip install pyesasky
pyesasky in Jupyter lab
$ jupyter labextension install pyesasky
In some cases you might also have to run these 2 commands to enable PyESASky in Jupyter
$ jupyter nbextension install --py pyesasky --sys-prefix
$ jupyter nbextension enable --py pyeasky --sys-prefix
In order to be able to run pyesasky in Jupyter lab it is necessary to install the labextension ivywidgets by the following command:
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
NOTE that this requires node.js
to be installed.
If you use conda, you can get it with:
conda install -c conda-forge nodejs
If you use Homebrew on Mac OS X:
brew install node
You can also download Node.js
from the Node.js website https://nodejs.org/ and install it directly.
Running pyESASky samples:
Multiple sample notebooks of the functionality in pyESASky can be found in https://github.com/esdc-esac-esa-int/pyesasky/tree/master/samples
For the basic functionalities, open the pyESASky-Basic.ipynb. To check how to overlay a catalogue, run the pyESASky-Catalogue.ipynb. To overlay a set of footprints, open pyESASky-Footprints.ipynb .
Run pyesasky
In general, it is possible to instantiate pyESASky by running the folowing code in your Jupyter Notebook.
from pyesasky import ESASkyWidget
esasky = ESASkyWidget()
esasky
To be able to use catalogue features, the following additional classes must be imported:
from pyesasky import Catalogue
from pyesasky import CatalogueDescriptor
from pyesasky import MetadataDescriptor
from pyesasky import MetadataType
To be able to use footprints features, the following additional classes must be imported:
from pyesasky import FootprintSet
from pyesasky import FootprintSetDescriptor
from pyesasky import MetadataDescriptor
from pyesasky import MetadataType
Source code installation
For a development installation (requires npm),
$ git clone https://github.com/esdc-esac-esa-int/pyesasky
$ cd pyesasky
$ sh install.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyesasky-1.9.5.tar.gz
.
File metadata
- Download URL: pyesasky-1.9.5.tar.gz
- Upload date:
- Size: 900.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d4a406c34d24a8d41e3a6b7ac520411d19949cbc484cf376ff36c3f895dd45c |
|
MD5 | 084bd8b5c2308429b4cf188f401403b2 |
|
BLAKE2b-256 | 26b9a3f5962bbda89ee1929ff4e0790e2a58d2aec4bd0036019cb5fc7ecd8b21 |
File details
Details for the file pyesasky-1.9.5-py2.py3-none-any.whl
.
File metadata
- Download URL: pyesasky-1.9.5-py2.py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4d90484e382e4a0b78129d4876b02d1f1fb2454c38799e8f7231a24215a080 |
|
MD5 | 85e5d696939b790f70985f506e6a641e |
|
BLAKE2b-256 | 7166716a85c6f77ca50dfc83ec568b50c03cca7eb818b0df6251c9570016f589 |