ILAMB.Variable.Variable.extractDatasites

Variable.extractDatasites(lat, lon)[source]

Extracts a variable at sites defined by a set of latitude and longitude.

Parameters
  • lat (numpy.ndarray) – an array with the latitude values, must be same size as the longitude values

  • lon (numpy.ndarray) – an array with the longitude values, must be same size as the latitude values

Returns

extracted – The extracted variables

Return type

ILAMB.Variable.Variable