tempoch-cpp 0.5.3
Header-only C++ wrapper for tempoch
Loading...
Searching...
No Matches
eop.hpp File Reference

C++ wrapper for IERS Earth Orientation Parameters (EOP). More...

#include "ffi_core.hpp"
#include <cmath>
#include <optional>
Include dependency graph for eop.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tempoch::EopValues
 Interpolated IERS Earth Orientation Parameter values. More...
 

Namespaces

namespace  tempoch
 

Functions

bool tempoch::eop_covers (double mjd_utc) noexcept
 Check whether EOP data is available for mjd_utc.
 
std::optional< EopValuestempoch::eop_at (double mjd_utc)
 Interpolate IERS EOP values at mjd_utc.
 

Detailed Description

C++ wrapper for IERS Earth Orientation Parameters (EOP).

Provides an EopValues aggregate with idiomatic std::optional fields for values that may be absent in the upstream IERS data, and two free functions:

  • eop_covers(double mjd_utc) — check whether data exists for an epoch.
  • eop_at(double mjd_utc) — interpolate EOP values, returning std::optional<EopValues>.

Definition in file eop.hpp.