Skip to content
Snippets Groups Projects
Unverified Commit d8994dea authored by Adam Paquette's avatar Adam Paquette Committed by GitHub
Browse files

Fixed marci ephemeris time difference (#600)

* Fixed marci ephemeris time difference

* Updated Marci load test with new times

* Added Changelog entry
parent 7d8a56d1
Branches
No related tags found
No related merge requests found
...@@ -50,7 +50,6 @@ release. ...@@ -50,7 +50,6 @@ release.
- Changed how push frame sensor drivers compute the `ephemeris_time` property [#595](https://github.com/DOI-USGS/ale/pull/595) - Changed how push frame sensor drivers compute the `ephemeris_time` property [#595](https://github.com/DOI-USGS/ale/pull/595)
### Fixed ### Fixed
- Fixed landed sensors to correctly project locally [#590](https://github.com/DOI-USGS/ale/pull/590) - Fixed landed sensors to correctly project locally [#590](https://github.com/DOI-USGS/ale/pull/590)
- Fixed Hayabusa amica center time computation to match ISIS [#592](https://github.com/DOI-USGS/ale/pull/592) - Fixed Hayabusa amica center time computation to match ISIS [#592](https://github.com/DOI-USGS/ale/pull/592)
- Set Lunar Oribter abberation correction to None as it is in ISIS [#593](https://github.com/DOI-USGS/ale/pull/593) - Set Lunar Oribter abberation correction to None as it is in ISIS [#593](https://github.com/DOI-USGS/ale/pull/593)
...@@ -58,6 +57,7 @@ release. ...@@ -58,6 +57,7 @@ release.
- Fixed missing sensor_model_version attribute on VikingIsisLabelNaifSpiceDriver [#583](https://github.com/DOI-USGS/ale/pull/583) - Fixed missing sensor_model_version attribute on VikingIsisLabelNaifSpiceDriver [#583](https://github.com/DOI-USGS/ale/pull/583)
- Fixed incorrect distortion look up in Orex camera when working with PolyCam images [#583](https://github.com/DOI-USGS/ale/pull/583) - Fixed incorrect distortion look up in Orex camera when working with PolyCam images [#583](https://github.com/DOI-USGS/ale/pull/583)
- Brought timing in line with ISIS for the KaguyaMiIsisLabelNaifSpiceDriver [#599](https://github.com/DOI-USGS/ale/pull/599) - Brought timing in line with ISIS for the KaguyaMiIsisLabelNaifSpiceDriver [#599](https://github.com/DOI-USGS/ale/pull/599)
- Brought timing in line with ISIS for the MroMarciIsisLabelNaifSpiceDriver [#600](https://github.com/DOI-USGS/ale/pull/600)
## [0.10.0] - 2024-01-08 ## [0.10.0] - 2024-01-08
......
import numpy as np
import spiceypy as spice import spiceypy as spice
from ale.base import Driver from ale.base import Driver
...@@ -179,6 +180,12 @@ class MroMarciIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, NoDist ...@@ -179,6 +180,12 @@ class MroMarciIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, NoDist
line = 0.5 line = 0.5
self._ephemeris_stop_time = max(self.compute_marci_time(line)) self._ephemeris_stop_time = max(self.compute_marci_time(line))
return self._ephemeris_stop_time return self._ephemeris_stop_time
@property
def ephemeris_time(self):
if not hasattr(self, "_ephemeris_time"):
self._ephemeris_time = np.linspace(self.ephemeris_start_time, self.ephemeris_stop_time + self.interframe_delay, self.image_lines + 1)
return self._ephemeris_time
@property @property
def detector_center_line(self): def detector_center_line(self):
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment