-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to Kaguya Driver #99
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the one question everything else looks good!
If the tests pass this should be good to go. The name change will be in a different PR. |
Updated the notebook after discovering a bug thanks to @ladoramkershner's comments. Error now at about +/- 0.01 lat/lon. |
ale/drivers/kaguya_driver.py
Outdated
@property | ||
def _detector_center_line(self): | ||
return 1 | ||
|
||
@property | ||
def _detector_center_sample(self): | ||
return spice.gdpool('INS{}_CENTER'.format(self.ikid), 0, 2)[0] | ||
return spice.gdpool('INS{}_CENTER'.format(spice.bods2c("LISM_TC2")), 0, 2)[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work for TC1 images?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should be self._tc_id
, fixed.
* added Kaguya TC driver * addressed comments * forgot to import config * ijport glob * all the things * for some reason line_exposure_duration is a list, but only sometimes * updated Dawn with new bnames * better names for CTX Isis drivers(?) * renamed distortion * moved enter/exit logic back into the spice class * removed print statement * revert name change * tc_id -> _tc_id
Should also address #94Notebook with demo https://gist.github.com/Kelvinrr/93614ea6b17d07faf7ebd294fd065a8e
Adds Kaguya TC distortion model but isn't being used by usgscsm, needs to be added there.