pyinterp.geodetic.Coordinates#

class pyinterp.geodetic.Coordinates(spheroid: Spheroid | None = None)[source]#

Bases: Coordinates

World Geodetic Coordinates System.

Parameters:

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

Attributes

spheroid

WGS used to transform the coordinates.

Inherited 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.