xarray.DataArray.monet.window

DataArray.monet.window(lat_min=None, lon_min=None, lat_max=None, lon_max=None, rectilinear=False)

Function to window, ie select a specific region, given the lower left latitude and longitude and the upper right latitude and longitude

Parameters
  • lat_min (float) – lower left latitude .

  • lon_min (float) – lower left longitude.

  • lat_max (float) – upper right latitude.

  • lon_max (float) – upper right longitude.

  • rectilinear (bool) – flag if this is a rectilinear lat lon grid

Returns

returns the windowed object.

Return type

xr.DataArray