Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EarthOrientation file corruption #70

Open
ameliasamuel opened this issue Nov 24, 2023 · 0 comments
Open

EarthOrientation file corruption #70

ameliasamuel opened this issue Nov 24, 2023 · 0 comments

Comments

@ameliasamuel
Copy link

When installing the AstroTime, a warning is flagged saying that downloaded files are corrupted and to execute EarthOrientation.update(force = true). This still does not fix the issue as this error appears:

julia> EarthOrientation.update(force = true)
[ Info: Downloading file 'finals.csv' from 'https://datacenter.iers.org/data/csv/finals.all.csv' with cURL.
[ Info: Downloading file 'finals2000A.csv' from 'https://datacenter.iers.org/data/csv/finals2000A.all.csv' with cURL.
ERROR: BoundsError: attempt to access 19011-element Vector{Float64} at index [0]
Stacktrace:
[1] getindex(A::Vector{Float64}, i1::Int64)
@ Base ./essentials.jl:13
[2] EOParams(iau1980file::String, iau2000file::String)
@ EarthOrientation ~/.julia/packages/EarthOrientation/1ITdn/src/EarthOrientation.jl:161
[3] push!
@ ~/.julia/packages/OptionalData/sGxJ1/src/OptionalData.jl:98 [inlined]
[4] push!
@ ~/.julia/packages/OptionalData/sGxJ1/src/OptionalData.jl:101 [inlined]
[5] update(; force::Bool)
@ EarthOrientation ~/.julia/packages/EarthOrientation/1ITdn/src/EarthOrientation.jl:62
[6] top-level scope
@ REPL[8]:1

Any help on this would be appreciated as it means that we cannot use the AstroTime package for satellite propagation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant