xpublish module#
- async jupyter_xarray_tiler.xpublish.add_data_array(data_array, *, rescale=None, **kwargs)[source]#
Adds a DataArray to the xpublish-tiles server and returns a URL template.
The xpublish-tiles server is lazily started when the first DataArray is added.
- jupyter_xarray_tiler.xpublish.get_routes()[source]#
Display a list of all available routes on the TiTiler server.
- Returns:
list[dict[str,Any]] – A list containing one dictionary per route exposed by the TiTiler server.- Raises:
RuntimeError – If called before the server is started. Always
awaitadd_data_array()first.