Skip to content

Commit

Permalink
Ody Driver Fixes (#582)
Browse files Browse the repository at this point in the history
* Updates to et times

* fixed tests

* ThemisVIR updates

* Adds band time offset

* ephemeris_stop_time updates

* fix stop time

* time fixes and docs

* added changelog entry
  • Loading branch information
amystamile-usgs authored Mar 13, 2024
1 parent 58a8ee4 commit 62f7688
Show file tree
Hide file tree
Showing 14 changed files with 5,460 additions and 10,113 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Docs
docs/doxyxml/
docs/build/*
docs/xml/*

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -224,3 +225,5 @@ dmypy.json
*.img
*.IMG
print.prt
tests/ctests/default.profraw
default.profraw
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ release.
### Changed
- Enabled Hayabusa2 drivers [#596](https://github.com/DOI-USGS/ale/pull/596)
- Enabled Juno drivers [#597](https://github.com/DOI-USGS/ale/pull/597)
- Enabled Odyssey drivers [#582](https://github.com/DOI-USGS/ale/pull/582)

### Added
- Apollo Metric drivers, tests, and data [#533](https://github.com/DOI-USGS/ale/pull/533)
Expand Down
12 changes: 12 additions & 0 deletions ale/base/type_distortion.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,16 @@ def usgscsm_distortion_model(self):
"center_point_x" : center_point_x,
"center_point_y" : center_point_y
}
}

class ThemisIrDistortion():
@property
def usgscsm_distortion_model(self):

return {
"themisir":{
"p_alpha1" : 0.00447623,
"p_alpha2" : 0.00107556,
"p_k" : 0.996005
}
}
4 changes: 2 additions & 2 deletions ale/drivers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
from abc import ABC

# Explicit list of disabled drivers
__disabled_drivers__ = ["ody_drivers",
"tgo_drivers"]

__disabled_drivers__ = ["tgo_drivers"]

# dynamically load drivers
__all__ = [os.path.splitext(os.path.basename(d))[0] for d in glob(os.path.join(os.path.dirname(__file__), '*_drivers.py'))]
Expand Down
Loading

0 comments on commit 62f7688

Please sign in to comment.