geocat.viz.set_vector_density

geocat.viz.set_vector_density(data, minDistance=0)

Utility function to change density of vector plots.

Parameters
  • data (xarray.DataArray) – Data array that contains the vector plot latitude/longitude data.

  • minDistance (int) – Value in degrees that determines the distance between the vectors.

Returns

ds – Sliced version of the input data array.

Return type

xarray.DataArray

Examples

All usage examples are within the GeoCAT-Examples Gallery. To see more usage cases, search the function on the website.