pyinterp.core.geodetic.Coordinates#

class pyinterp.core.geodetic.Coordinates(self, system: Optional[pyinterp.core.geodetic.System] = None)#

Bases: pybind11_builtins.pybind11_object

World Geodetic Coordinates System.

Parameters

system – WGS System. If this option is not defined, the instance manages a WGS84 ellipsoid.

Attributes

system

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

__getstate__(self)

__setstate__(self, arg0)