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

How do we handle mission specific extensions to planetaryimage? #38

Open
godber opened this issue Jul 23, 2015 · 1 comment
Open

How do we handle mission specific extensions to planetaryimage? #38

godber opened this issue Jul 23, 2015 · 1 comment

Comments

@godber
Copy link
Member

godber commented Jul 23, 2015

There are probably a number of mission specific extensions that can be implemented for planetaryimage. Things like filename parsing (for faster metadata extraction than actually opening a file) and image orientation information (e.g. Mastcam images appear inverted by default and need to be flipped when viewing them). It seems there might be a whole variety of these sorts of things, some of which might be needed to properly access the image data. For instance the Mastcam PDS products are JPEG compressed and claim they need to be converted into a .IMG using DAT2IMG. I suspect that Mastcam PDS archived products can simply have the JPEG data decoded by planetaryimage skipping any redundant product generation.

There may be need to support internal/proprietary extensions. Subclassing would work but if we implemented a plugin architecture of some sort that allowed extending the behavior of planetaryimage without changing the syntax by simply importing and registering a handler of some sort. Or maybe this is a bad idea for some reason.

@godber
Copy link
Member Author

godber commented Oct 26, 2015

The type of data this includes can be as simple as image_flipped = True to indicate that the image should be flipped when displayed, as is the case for many of the ground based imagers (pancam).

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

No branches or pull requests

1 participant