test_rinex_nav module
Tests for the ephemeris class that returns satellite ephemerides.
- test_rinex_nav.fixture_ephem_path()[source]
Location of ephemeris files for unit test
- Returns:
ephem_path – Location where ephemeris files are stored/to be downloaded.
- Return type:
string
- test_rinex_nav.test_get_ephem_fails(ephem_path, ephem_time, satellites)[source]
Test when ephemeris manager should fail.
Check type and rows.
- Parameters:
ephem_path (string) – Location where ephemeris files are stored/to be downloaded to.
ephem_time (datetime.datetime) – Time at which state estimation is starting, the most recent ephemeris file before the start time will be fetched.
satellites (List) – List of satellites [‘Const_IDSVID’]
- test_rinex_nav.test_get_time_cropped_rinex(ephem_path, ephem_time, satellites)[source]
Create instance of Ephemeris manager and fetch ephemeris file.
Check type and rows.
- Parameters:
ephem_path (string) – Location where ephemeris files are stored/to be downloaded to.
ephem_time (datetime.datetime) – Time at which state estimation is starting, the most recent ephemeris file before the start time will be fetched.
satellites (List) – List of satellites [‘Const_IDSVID’]
- test_rinex_nav.test_load_leapseconds(ephem_path)[source]
Test load leapseconds.
- Parameters:
ephem_path (string) – Location where ephemeris files are stored/to be downloaded to.
- test_rinex_nav.test_nan_removal(ephem_path)[source]
Test that NaN values are being removed appropriately.
- Parameters:
ephem_path (string) – Location where ephemeris files are stored/to be downloaded to.
- test_rinex_nav.test_no_iono_params(ephem_path)[source]
Test no iono params.
- Parameters:
ephem_path (string) – Location where ephemeris files are stored/to be downloaded to.