UoA-eResearch / SPOC-Rongowai-L1

Translation of the Matlab L1 files into Python
MIT License
0 stars 1 forks source link

Better error handling for orbit file issues #10

Open mike-ivs opened 1 year ago

mike-ivs commented 1 year ago

the C code currently returns NaN arrays if there is an issue, rather than breaking (un)gracefully

mike-ivs commented 1 year ago

The auto-download SP3 file also breaks cryptically if you don't provide valid credentials

mike-ivs commented 1 year ago

also, unsuccessful attempts still create empty files which then interferes with the code

mike-ivs commented 1 year ago

Looks like the website is down: https://cddis.nasa.gov/archive/gnss/products/

Might need a graceful way to redo these files

mike-ivs commented 1 year ago

General improvements to orbit file handling made in v1.0.2. Still needs improvements to handle above issues

mike-ivs commented 11 months ago

It seems that old orbit file names may have changes to have an additional ".Z" prefix.... might be worth setting up some tests for this?

mike-ivs commented 1 month ago

Hopefully fixed via a OrbitFileDelayError via this commit, time will tell 0851535