nenupy.astro.astro_tools.geo_to_etrs

nenupy.astro.astro_tools.geo_to_etrs(location=<EarthLocation (4323936.68522791, 165534.49991696, 4670345.36540385) m>)[source]

Transforms geographic coordinates to ETRS (European Terrestrial Reference System).

Parameters:

location (EarthLocation) – Location to convert.

Returns:

ETRS positions.

Return type:

ndarray

Example:
from nenupy.astro import geo_to_etrs
from astropy.coordinates import EarthLocation
import astropy.units as u

locs = EarthLocation(
    lat=[30, 40] * u.deg,
    lon=[0, 10] * u.deg,
    height=[100, 200] * u.m
)
geo_to_etrs(location=locs)