earthkit.data.utils.meteo.lunar.local

Attributes

Functions

delta_distance_to_moon(date, latitudes, longitudes)

Delta distance to the Moon in km, relative to the minimum instantaneous distance.

distance_from_earth_centre_to_moon(date)

Distance to the Moon in km from the Earth centre,

distance_to_moon(date, latitudes, longitudes)

Distance to the Moon in km.

Module Contents

type earthkit.data.utils.meteo.lunar.local.ArrayNamespace = Any
type earthkit.data.utils.meteo.lunar.local.NDArrayLike = NDArray | float
earthkit.data.utils.meteo.lunar.local.delta_distance_to_moon(date, latitudes, longitudes)

Delta distance to the Moon in km, relative to the minimum instantaneous distance.

Parameters:
  • date (datetime.datetime) – The date and time for which to compute the delta distance.

  • latitudes (NDArrayLike) – Latitudes of the observer(s) in degrees.

  • longitudes (NDArrayLike) – Longitudes of the observer(s) in degrees.

Returns:

delta_distances – The difference between the distances and the minimum distance to the Moon of the specific observer(s).

Return type:

NDArrayLike

earthkit.data.utils.meteo.lunar.local.distance_from_earth_centre_to_moon(date)

Distance to the Moon in km from the Earth centre, with no reference to the latitude and longitude of the observer.

Parameters:

date (datetime.datetime) – The date and time for which to compute the distance.

Returns:

distance – Distance to the Moon in km from the Earth centre at the given date and time.

Return type:

float

earthkit.data.utils.meteo.lunar.local.distance_to_moon(date, latitudes, longitudes)

Distance to the Moon in km.

Parameters:
  • date (datetime.datetime) – The date and time for which to compute the distance.

  • latitudes (NDArrayLike) – Latitudes of the observer(s) in degrees.

  • longitudes (NDArrayLike) – Longitudes of the observer(s) in degrees.

Returns:

distances – Distances to the Moon in km.

Return type:

NDArrayLike