xoa.geo.with_geosel#
- xoa.geo.with_geosel(func)[source]#
Decorator that adds a
geoselargument to a function whose first argument is a data array or dataset, to select it geographically before calling the functionThe
geoselargument is either aGeoSelectionor a dict of arguments ofget_geosel(), likegeosel=dict(lon=(-6, -3), lat=(47, 49)).