# Path: tecs/sat/datum.py
# C20 = -1082.63e-6


import logging
from math import pi, sin, cos, atan, atan2, sqrt
from tecs.sat import datum

    B = Bi1

    # H - height
    H = Q * cos(B) + z * sin(B) - N * (1 - datum_e ** 2 * sin(B) ** 2)

    return L, B, H


def compute_el_az(obs, sat):
    """compute_el_az(obs, sat) -> el, az

    computes elevation and azimuth to satellite.

    Parameters
    ----------
    obs : tuple
        obs = (x, y, z); cartesian coordinates of the observer

    sat : tuple
        sat = (x, y, z); cartesian coordinates of the satellite

    Returns
    -------
    el : float
        elevation, deg
    az : float
        azimuth, deg
    """


# Path: tecs/sat/datum.py
# C20 = -1082.63e-6


# Path: tecs/sat/common.py
import logging
from math import pi, sin, cos, atan, atan2, sqrt
from tecs.sat import datum


    B = Bi1

    # H - height
    H = Q * cos(B) + z * sin(B) - N * (1 - datum_e ** 2 * sin(B) ** 2)

    return L, B, H


def compute_el_az(obs, sat):
    """compute_el_az(obs, sat) -> el, az

    computes elevation and azimuth to satellite.

    Parameters
    ----------
    obs : tuple
        obs = (x, y, z); cartesian coordinates of the observer

    sat : tuple
        sat = (x, y, z); cartesian coordinates of the satellite

    Returns
    -------
    el : float
        elevation, deg
    az : float
        azimuth, deg
    """


    datum_re = datum.r_e