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

nrb.format: do not hardcode src_nodata and read it from the data instead #79

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

johntruckenbrodt
Copy link
Member

The SNAP ENVI files (inside the BEAM-DIMAP structure) do not have a nodata metadata value. Therefore, the value 0 was hardcoded in the function nrb.format. Now, the nodata value is directly written to the ENVI HDR files during SNAP processing so it can be read by gdalwarp when converting the images to their final format. The hardcoded value can thus be removed.

@johntruckenbrodt johntruckenbrodt merged commit 01d80cc into main Feb 8, 2023
@johntruckenbrodt johntruckenbrodt deleted the feature/nrb_nodata_source branch February 8, 2023 15:43
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.

1 participant