Skip to content

Commit 378f569

Browse files
authored
Merge branch 'v0.2.3' into ashwin/z-tracking
2 parents b5d04ed + 35445af commit 378f569

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gnss_lib_py/utils/ephemeris_downloader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def _valid_ephemeris_in_paths(date, possible_types, file_paths=None):
662662
if os.path.split(path)[1][3:] == str(gps_week).zfill(4) + str((timetuple.tm_wday+1)%7) + ".sp3":
663663
return True, path
664664

665-
# sp3 before Aug 13, 2017 and May 25, 2012 or later
665+
# sp3 between May 25, 2012 and Aug 12, 2017 inclusive
666666
elif possible_type == "sp3_short_CODE":
667667
gps_week, _ = tc.datetime_to_tow(datetime.combine(date,
668668
time(tzinfo=timezone.utc)))
@@ -1018,7 +1018,7 @@ def _get_rinex_extension(timestamp):
10181018
.. [5] https://cddis.nasa.gov/Data_and_Derived_Products/GNSS/daily_30second_data.html
10191019
10201020
"""
1021-
# switched from .Z to .gz compression format on December 1st, 2020
1021+
10221022
if timestamp >= datetime(2020, 11, 30, tzinfo=timezone.utc).date():
10231023
extension = '.gz'
10241024
else:

0 commit comments

Comments
 (0)