pyinterp.core.geodetic.Coordinates.transform#

Coordinates.transform(self: pyinterp.core.geodetic.Coordinates, target: pyinterp.core.geodetic.Coordinates, lon: numpy.ndarray[numpy.float64[m, 1]], lat: numpy.ndarray[numpy.float64[m, 1]], alt: numpy.ndarray[numpy.float64[m, 1]], num_threads: int = 0) tuple#

Transforms the positions, provided in degrees and meters, from one WGS system to another.

Parameters
  • target – WGS target.

  • lon – Longitudes in degrees.

  • lat – Latitudes in degrees.

  • alt – Altitudes in meters.

  • num_threads – The number of threads to use for the computation. If 0 all CPUs are used. If 1 is given, no parallel computing code is used at all, which is useful for debugging. Defaults to 0.

Returns

Longitudes, latitudes and altitudes in the new coordinate system.