Skip to content

Commit

Permalink
Update IGN_BASE_URL to gssc.esa.int
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellgoffpc committed Jan 3, 2025
1 parent 080d0a8 commit 1aaf0a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions laika/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
GLONAS_IAC_BASE_URL = os.getenv("GLONAS_IAC_BASE_URL", "https://raw.githubusercontent.com/commaai/gnss-data-alt/master")

# no mirror
IGN_BASE_URL = os.getenv("IGN_BASE_URL", "ftp://igs.ign.fr/pub")
IGN_BASE_URL = os.getenv("IGN_BASE_URL", "ftp://gssc.esa.int")


class DownloadFailed(Exception):
Expand Down Expand Up @@ -343,7 +343,7 @@ def download_orbits_gps_cod0(time, cache_dir, ephem_types):
def download_orbits_gps(time, cache_dir, ephem_types):
url_bases = (
mirror_url(CDDIS_BASE_URL, '/gnss/products/'),
mirror_url(IGN_BASE_URL, '/igs/products/'),
mirror_url(IGN_BASE_URL, '/gnss/products/'),
)

if time.week < 2238:
Expand Down Expand Up @@ -467,7 +467,7 @@ def download_dcb(time, cache_dir):
folder_paths = []
url_bases = (
mirror_url(CDDIS_BASE_URL, '/gnss/products/bias/'),
mirror_url(IGN_BASE_URL, '/igs/products/mgex/dcb/'),
mirror_url(IGN_BASE_URL, '/gnss/products/mgex/dcb/'),
)
# seem to be a lot of data missing, so try many days
for time_step in [time - i * SECS_IN_DAY for i in range(14)]:
Expand Down

0 comments on commit 1aaf0a7

Please sign in to comment.