Skip to main content

A Jupyter Notebook server extension which crawls a thredds catalog

Project description

# jupyterlab_thredds

[![Build Status](]( [![SonarCloud Quality](]( [![SonarCloud Coverage](]( [![DOI](](

JupyterLab dataset browser for [THREDDS catalog](

Can inject [iris]([xarray]([leaflet]( code cells into a Python notebook of a selected dataset to further process/visualize the dataset.

![screenshot]( “Screenshot”)

## Prerequisites

  • JupyterLab, pip install jupyterlab
  • ipywidgets, jupyter labextension install @jupyter-widgets/jupyterlab-manager, requirement for ipyleaflet
  • ipyleaflet, jupyter labextension install jupyter-leaflet, to load a WMS layer
  • [iris](, conda install -c conda-forge iris

## Installation

`bash pip install jupyterlab_thredds jupyter labextension install @ewatercycle/jupyterlab_thredds `

## Usage

  1. Start Jupyter lab with jupyter lab
  2. In Jupyter lab open a notebook
  3. Open the THREDDS tab on the left side.
  4. Fill the catalog url
  5. Press search button
  6. Select how you would like to open the dataset, by default it uses [iris]( Python package.
  7. Press a dataset to insert code into a notebook

## Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

`bash npm install npm run build jupyter labextension link . python develop jupyter serverextension enable --sys-prefix jupyterlab_thredds `

To rebuild the package and the JupyterLab app:

`bash npm run build jupyter lab build `

Watch mode `bash # shell 1 npm run watch # shell 2 jupyter lab --ip= --no-browser --watch `

## Release

To make a new release perform the following steps: 1. Update version in package.json and jupyterlab_thredds/ 2. Make sure tests pass by running npm test and pytest 3. Publish lab extension to npmjs with npm run build and npm publish –access=public 4. Publish server extension to pypi with python sdist bdist_wheel and twine upload dist/*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyterlab-thredds, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size jupyterlab_thredds-0.2.0-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size jupyterlab_thredds-0.2.0.tar.gz (11.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page