• Stars
    star
    161
  • Rank 233,526 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An xarray extension for tiled map plotting.

Binder Build Status

xarray-leaflet: an xarray extension for tiled map plotting

xarray and Leaflet share this ability to work with fragments of data, xarray through Dask's chunks, and Leaflet through map tiles. In the end this is really the same concept, so it was a natural thing to make them work together.

Fortunately xarray is written in Python, and we happen to have a great Python binding for Leaflet, ipyleaflet.

xarray-leaflet uses ipyleaflet as a plotting backend for data arrays. It generates map tiles on the fly, possibly using Dask's lazy evaluation system and Zarr's chunked data storage, and serves them through the Jupyter server, allowing for big data visualization.

See the example notebooks:

How does it compare to other visualization libraries?

xarray-leaflet doesn't try to reinvent the wheel. It stands on the shoulders of giants: xarray, Jupyter widgets, Leaflet. By combining this software stack, it opens up new possibilities while being a relatively small library.

Installation

Using conda:

conda install -c conda-forge xarray_leaflet

Using pip:

pip install xarray_leaflet

Using xarray-leaflet with Voila

To work with xarray-leaflet, Voila has to be launched with the following command:

jupyter server --ServerApp.open_browser=True --ServerApp.default_url="voila/render/path_to_notebook.ipynb"

More Repositories

1

xskillscore

Metrics for verifying forecasts
Python
222
star
2

xarray-tutorial

Xarray Tutorials
Jupyter Notebook
172
star
3

datatree

WIP implementation of a tree-like hierarchical data structure for xarray.
Python
169
star
4

xbatcher

Batch generation from xarray datasets
Python
163
star
5

cf-xarray

an accessor for xarray objects that interprets CF attributes
Python
155
star
6

flox

Fast & furious GroupBy operations for dask.array
Python
123
star
7

xpublish

Publish Xarray Datasets via a REST API.
Python
116
star
8

pint-xarray

Interface for using pint with xarray, providing convenience accessors
Python
101
star
9

xeofs

Comprehensive EOF analysis in Python with xarray: A versatile, multidimensional, and scalable tool for advanced climate data analysis
Python
98
star
10

xvec

Vector data cubes for Xarray
Python
96
star
11

xarray-simlab

Xarray extension and framework for computer model simulations
Python
73
star
12

cupy-xarray

Interface for using cupy in xarray, providing convenience accessors.
Python
65
star
13

xwrf

A lightweight interface for working with the Weather Research and Forecasting (WRF) model output in Xarray.
Python
59
star
14

xarray-regrid

Regridding utility for xarray
Python
58
star
15

xoak

xarray extension that provides tree-based indexes used for selecting irregular, n-dimensional data.
Python
57
star
16

xdggs

Xarray extension for DGGS
Python
54
star
17

xarray-schema

Schema validation for Xarray objects
Python
39
star
18

sphinx-autosummary-accessors

sphinx extension to document pandas and xarray accessors
Python
13
star
19

xarray.dev

The Xarray landing page
JavaScript
12
star
20

cubed-xarray

Interface for using cubed with xarray
Python
11
star
21

issue-from-pytest-log

create issues from pytest-reportlog files
Python
10
star
22

xarray-contrib

Central repository for xarray-contrib organization
9
star
23

xncml

Tools for manipulating NcML (NetCDF Markup Language) files with/for xarray
Python
7
star
24

ci-trigger

A github action to detect trigger keywords in the summary line of commit messages
Shell
3
star
25

xwrf-data

Data repository for xwrf documentation, tutorials, testing
Python
2
star
26

xarray-array-testing

testing framework for testing duck array compatibility with xarray
Python
1
star