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

Default AmpTable for AMP8I_PHS8I #442

Open
magelisk opened this issue Jul 5, 2023 · 0 comments
Open

Default AmpTable for AMP8I_PHS8I #442

magelisk opened this issue Jul 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@magelisk
Copy link

magelisk commented Jul 5, 2023

Currently, if SICD is provided with pixel type AMP8I_PHS8I, the code requires that AmpTable be provided. I believe that the code should provide a default AmpTable of just 0-255 instead of raiding a ValueError. SICD spec says:

If no amplitude look-up table is provided, pixel component AMP(row,col) is the pixel amplitude. Pixel amplitude AII(row,col) is determined as shown below.
AMP(row,col), if AmpTable(0:255) is omitted

@pressler-vsc pressler-vsc added the bug Something isn't working label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants