Skip to content
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

Merged
merged 16 commits into from
Apr 12, 2019
Merged

Updates to Kaguya Driver #99

merged 16 commits into from
Apr 12, 2019

Conversation

Kelvinrr
Copy link
Collaborator

@Kelvinrr Kelvinrr commented Apr 11, 2019

Should also address #94

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

Copy link
Collaborator

@acpaquette acpaquette left a 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!

ale/drivers/base.py Outdated Show resolved Hide resolved
ale/drivers/kaguya_driver.py Show resolved Hide resolved
ale/drivers/__init__.py Show resolved Hide resolved
ale/drivers/base.py Outdated Show resolved Hide resolved
ale/drivers/kaguya_driver.py Show resolved Hide resolved
ale/drivers/kaguya_driver.py Show resolved Hide resolved
ale/drivers/kaguya_driver.py Outdated Show resolved Hide resolved
ale/drivers/kaguya_driver.py Outdated Show resolved Hide resolved
@Kelvinrr
Copy link
Collaborator Author

Kelvinrr commented Apr 11, 2019

If the tests pass this should be good to go. The name change will be in a different PR.

@Kelvinrr
Copy link
Collaborator Author

Kelvinrr commented Apr 11, 2019

Updated the notebook after discovering a bug thanks to @ladoramkershner's comments. Error now at about +/- 0.01 lat/lon.

@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]
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

@jessemapel jessemapel merged commit 1f455da into DOI-USGS:master Apr 12, 2019
jessemapel pushed a commit to jessemapel/eal that referenced this pull request May 30, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants