EopTable
Defined in: table.rs:12
pub struct EopTableInterpolated EOP lookup table.
Stores sorted EOP entries and provides interpolated parameter
lookups at arbitrary MJD values. Implements all four EOP
capability traits (Ut1Offset, PolarMotion, NutationCorrections,
LengthOfDay).
Methods
Section titled “Methods”fn new(entries: [Vec<EopEntry>](https://doc.rust-lang.org/std/vec/struct.Vec.html)) -> [Result<Self, EopLookupError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Create an EOP table from a sorted vector of entries.
Entries must be sorted by MJD and non-empty.
from_finals2000a()
Section titled “from_finals2000a()”fn from_finals2000a(text: &str) -> [Result<Self, super::error::EopParseError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Convenience: parse finals2000A text and build a table.
mjd_range()
Section titled “mjd_range()”fn mjd_range(&self) -> (f64, f64)
MJD range covered by this table.
fn len(&self) -> usize
Number of entries.
is_empty()
Section titled “is_empty()”fn is_empty(&self) -> bool
Whether the table is empty.
dut1_checked()
Section titled “dut1_checked()”fn dut1_checked(&self, utc_mjd: f64) -> [Result<f64, EopLookupError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Checked UT1-UTC lookup with linear interpolation.
xp_checked()
Section titled “xp_checked()”fn xp_checked(&self, utc_mjd: f64) -> [Result<f64, EopLookupError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Checked x-pole lookup.
yp_checked()
Section titled “yp_checked()”fn yp_checked(&self, utc_mjd: f64) -> [Result<f64, EopLookupError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Checked y-pole lookup.
dx_checked()
Section titled “dx_checked()”fn dx_checked(&self, utc_mjd: f64) -> [Result<f64, EopLookupError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Checked dX nutation correction lookup.
dy_checked()
Section titled “dy_checked()”fn dy_checked(&self, utc_mjd: f64) -> [Result<f64, EopLookupError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Checked dY nutation correction lookup.
lod_checked()
Section titled “lod_checked()”fn lod_checked(&self, utc_mjd: f64) -> [Result<f64, EopLookupError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Checked LOD lookup.