xarray.Dataset.monet.nearest_latlon

Dataset.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 routine.

Return type

xarray.Dataset