pub enum EopFormat {
Finals2000A,
C04,
JplEop2,
Custom(CustomEopCols),
}Expand description
File layout for the orientation-table parser.
Finals2000A— e.g. https://maia.usno.navy.mil/ser7/finals2000A.allC04— e.g. https://datacenter.iers.org/data/latestVersion/EOP_20u24_C04_one_file_1962-now.txtJplEop2— e.g. https://eop2-external.jpl.nasa.gov/eop2/latest_eop2.shortCustom— column indices viaCustomEopCols
IERS formats set EopData::strip_offset_leaps to true; JplEop2 and Custom
to false.
Variants§
Finals2000A
USNO finals2000A fixed-width lines.
Uses final (B) columns when filled, otherwise rapid (A). Epoch is UTC MJD.
C04
IERS C04 / eopc04 long-term series. Epoch is UTC MJD.
JplEop2
JPL EOP2 comma-separated series (latest_eop2.short / .long).
File columns: TAI MJD, PMx (mas), PMy (mas), TAI−UT1 (ms), …
Stored as: epoch = TAI MJD, offset = UT1 − TAI in seconds
(file ms/1000, then negated), pm_x / pm_y in arcseconds.
to_ut1 adds offset. For this
table that means TAI + (UT1 − TAI) = UT1.
Always comma-split; the separator argument is ignored.
Custom(CustomEopCols)
User-defined column indices (0-based). Epoch is whatever that column holds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EopFormat
impl RefUnwindSafe for EopFormat
impl Send for EopFormat
impl Sync for EopFormat
impl Unpin for EopFormat
impl UnsafeUnpin for EopFormat
impl UnwindSafe for EopFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more