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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)

### Fixed

- 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)
- 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.
- 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)
- 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 

+7 −0
Original line number Diff line number Diff line
import numpy as np
import spiceypy as spice

from ale.base import Driver
@@ -180,6 +181,12 @@ class MroMarciIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, NoDist
            self._ephemeris_stop_time = max(self.compute_marci_time(line))
        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
    def detector_center_line(self):
        """
+5993 −5993

File changed.

Preview size limit exceeded, changes collapsed.