• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

esdc-esac-esa-int/pyesasky: ESASky Widget for Jupyter Notebook

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

esdc-esac-esa-int/pyesasky

开源软件地址:

https://github.com/esdc-esac-esa-int/pyesasky

开源编程语言:

JavaScript 95.8%

开源软件介绍:

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



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap