xarray.DataArray.monet.nearest_latlon

DataArray.monet.nearest_latlon(lat=None, lon=None, cleanup=True, esmf=False, **kwargs)

Uses xesmf to interpolate to a given latitude and longitude. Note that the conservative method is not available.

Parameters
  • lat (float)

  • lon (float)

  • kwargs (dict) – Passed on to resampling routines.

Return type

xarray.Dataset