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

Use band-specific no data values of source image during ingest and build pyramid #60

Closed
djohnson729 opened this issue Jul 6, 2015 · 1 comment
Assignees

Comments

@djohnson729
Copy link
Contributor

From a review of the ingest code, if the user does not specify a no data override value on the command line, we use the no data value of band 0 for all of the bands. We should consider changing this to use the actual no data value for each individual band separately.

Similarly, when building the pyramid, we use the no data value for band 0 as the no data value for all of the bands. We should consider using the no data value for each individual band.

@djohnson729 djohnson729 self-assigned this Jul 6, 2015
@djohnson729
Copy link
Contributor Author

@wncampbell suggested modifying the ingest command to allow nodata values for each band to be specified. The user should be allow to specify a single value or multiple arguments for the nodata option. For example "-nd -9999" would override the nodata value for all bands of the source image to -9999, where "-nd nan -9999 nan" would use NaN for bands 0 and 2 and -9999 for band 1.

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