Created
October 17, 2024 23:16
-
-
Save agrif/60c5dca1dd546d23b183cb64cc9dbbfc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let eop = | |
frameshift::provider::CelestrakProvider::from_csv(std::fs::File::open("EOP-All.csv")?)?; | |
println!("J2000 = {}", frameshift::time::epoch::J2000.to_tai()); | |
println!("J2000 = {}", frameshift::time::epoch::J2000.to_tt()); | |
println!( | |
"J2000 = {}", | |
frameshift::time::epoch::J2000 | |
.to_tai() | |
.to_utc_with(&eop) | |
.unwrap() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment