Skip to content

Commit

Permalink
Added light_time_correction property and updated isd
Browse files Browse the repository at this point in the history
  • Loading branch information
chkim-usgs committed Jun 30, 2023
1 parent 50e2414 commit 6458609
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions ale/drivers/mariner_drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,19 @@ def ephemeris_start_time(self):
start time
"""
return spice.str2et(self.utc_start_time.strftime("%Y-%m-%d %H:%M:%S.%f")) - (self.exposure_duration / 2.0)

@property
def light_time_correction(self):
"""
Returns the type of light time correction and abberation correction to
use in NAIF calls.
Returns
-------
: str
The light time and abberation correction string for use in NAIF calls.
See https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/abcorr.html
for the different options available.
"""
return 'NONE'

12 changes: 6 additions & 6 deletions tests/pytests/data/isds/mariner10_isd.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,16 @@
],
"positions": [
[
-102988.65244940185,
3813.6761044064274,
-31476.7258130999
-102972.7382271018,
3812.9827825224156,
-31471.92445819328
]
],
"velocities": [
[
10.073083917183162,
-0.6608509235485678,
2.9052260072869664
10.071486208448203,
-0.6607146245234612,
2.9047780027319923
]
],
"reference_frame": 1
Expand Down

0 comments on commit 6458609

Please sign in to comment.