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

support for scenes acquired in NRT Slicing mode #112

Merged
merged 3 commits into from Jul 4, 2023

Conversation

johntruckenbrodt
Copy link
Member

In this mode the manifest.safe attributes sliceNumber and totalSlices are 0, which broke with assumptions in S1_NRB.ancillary.check_acquisition_completeness and resulted in a wrong output in S1_NRB.snap.grd_buffer. In check_acquisition_completeness an additional cross-check with the ASF database was added. For grd_buffer the metadata of the BEAM-DIMAP input file is modified to contain dummy values that work with the SNAP SliceAssembly operator (The start time of the datatake and the acquisition duration of the scene are known; dividing one by the other and converting it to integer gives the new slice number). totalSlices is set to 100 to be higher than the maximum possible value.

@johntruckenbrodt johntruckenbrodt linked an issue Jul 4, 2023 that may be closed by this pull request
@johntruckenbrodt johntruckenbrodt merged commit ac7b8c5 into main Jul 4, 2023
1 check passed
@johntruckenbrodt johntruckenbrodt deleted the bugfix/slice_id branch July 4, 2023 08:34
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.

unexpected datatake metadata in L1 products
1 participant