py_eddy_tracker.generic.coordinates_to_local

py_eddy_tracker.generic.coordinates_to_local(lon, lat, lon0, lat0)[source]

Take latlong coordinates to transform in local coordinates (in m).

Parameters:
  • x (array) – coordinates to transform

  • y (array) – coordinates to transform

  • lon0 (float) – longitude of local reference

  • lat0 (float) – latitude of local reference

Returns:

x,y

Retype:

(array, array)