Skip to content

Commit 16124c8

Browse files
authored
chore: skip quicklook groups (#165)
1 parent dc87fc9 commit 16124c8

4 files changed

Lines changed: 8 additions & 2052 deletions

File tree

src/eopf_geozarr/s2_optimization/s2_multiscale.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,14 @@ def create_multiscale_from_datatree(
202202
if group_path == ".":
203203
continue
204204

205+
# Skip the quicklook groups (`/quality/l1c_quicklook`, `/quality/l2a_quicklook`).
206+
# They duplicate RGB data that downstream consumers can derive from the
207+
# reflectance bands, so dropping them shrinks the output store and
208+
# speeds up conversion. See EOPF-Explorer/data-model#81.
209+
if group_path.startswith(("/quality/l1c_quicklook", "/quality/l2a_quicklook")):
210+
log.info("Skipping quicklook group", group_path=group_path)
211+
continue
212+
205213
group_node = dt_input[group_path]
206214

207215
# Skip parent groups that have children (only process leaf groups)

0 commit comments

Comments
 (0)