xoa.geo.with_geosel

Contents

xoa.geo.with_geosel#

xoa.geo.with_geosel(func)[source]#

Decorator that adds a geosel argument to a function whose first argument is a data array or dataset, to select it geographically before calling the function

The geosel argument is either a GeoSelection or a dict of arguments of get_geosel(), like geosel=dict(lon=(-6, -3), lat=(47, 49)).