pyinterp.core.geodetic.Coordinates

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

Bases: pybind11_object

World Geodetic Coordinates System.

Parameters:

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

Attributes

spheroid

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.

Protected Methods

Special Methods

__getstate__(self)

__setstate__(self, arg0)