xarray.DataArray.dggs.explore

xarray.DataArray.dggs.explore#

DataArray.dggs.explore(*, cmap='viridis', center=None, alpha=None)#

interactively explore the data using lonboard

Requires lonboard, matplotlib, and arro3.core to be installed.

Parameters:
  • cmap (str) – The name of the color map to use

  • center (int or float, optional) – If set, will use this as the center value of a diverging color map.

  • alpha (float, optional) – If set, controls the transparency of the polygons.

Returns:

map (lonboard.Map) – The rendered map.

Notes

Plotting currently is restricted to 1D DataArray objects.