class pyinterp.core.geodetic.Coordinates(self, spheroid: pyinterp.core.geodetic.Spheroid | None = None)#

Bases: pybind11_object

World Geodetic Coordinates System.


spheroid – Optional spheroid to use. Defaults to WGS-84.



WGS used to transform the coordinates.

Public Methods

ecef_to_lla(self, x, y, z[, num_threads])

Converts Cartesian coordinates to Geographic latitude, longitude, and altitude.

lla_to_ecef(self, lon, lat, alt[, num_threads])

Converts Geographic coordinates latitude, longitude, and altitude to Cartesian coordinates.

transform(self, target, lon, lat, alt[, ...])

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

Special Methods


__setstate__(self, arg0)