Skip to content
Snippets Groups Projects
Commit 52ac3906 authored by Oleg Alexandrov's avatar Oleg Alexandrov Committed by Jesse Mapel
Browse files

Save center_ephemeris_time to the SAR sensor model

The center_ephemeris_time should be saved in the SAR sensor model, or else the SAR model will fail to be loaded, when the following code is encountered: 

https://github.com/USGS-Astrogeology/usgscsm/blob/da685687d4842d4f60d0a427348288517237664b/src/UsgsAstroSarSensorModel.cpp#L62
parent 36217e1d
No related branches found
No related tags found
No related merge requests found
...@@ -157,6 +157,7 @@ def to_usgscsm(driver): ...@@ -157,6 +157,7 @@ def to_usgscsm(driver):
if isinstance(driver, Radar): if isinstance(driver, Radar):
isd_data['name_model'] = 'USGS_ASTRO_SAR_SENSOR_MODEL' isd_data['name_model'] = 'USGS_ASTRO_SAR_SENSOR_MODEL'
isd_data['starting_ephemeris_time'] = driver.ephemeris_start_time isd_data['starting_ephemeris_time'] = driver.ephemeris_start_time
isd_data['center_ephemeris_time'] = driver.center_ephemeris_time
isd_data['ending_ephemeris_time'] = driver.ephemeris_stop_time isd_data['ending_ephemeris_time'] = driver.ephemeris_stop_time
isd_data['wavelength'] = driver.wavelength isd_data['wavelength'] = driver.wavelength
isd_data['line_exposure_duration'] = driver.line_exposure_duration isd_data['line_exposure_duration'] = driver.line_exposure_duration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment