earthkit.meteo.lunar

Lunar computation functions.

The API is split into two layers:

  • Low-level implementations are in the array submodules.

  • High-level functions are in this module and dispatch to backend implementations based on input type.

Currently, the only supported backend is the array implementation, so the low-level and high-level functions are identical. In the future, additional backends may be added, such as xarray and fieldlist.

Submodules

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.