Skip to content

Commit c17cb0b

Browse files
committed
Remove mask/perecentile zarr generation
1 parent 7c760e7 commit c17cb0b

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/satextractor/preparer/preparer.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,6 @@ def create_zarr_patch_structure(
3232
dtype=np.uint16,
3333
)
3434

35-
mask_path = f"{patch_constellation_path}/mask"
36-
zarr.open_array(
37-
fs_mapper(mask_path),
38-
"w",
39-
shape=(len(sensing_times), len(bands)),
40-
chunks=(1, 1),
41-
dtype=np.uint8,
42-
)
43-
44-
percentiles_path = f"{patch_constellation_path}/percentiles_0to100_5incr"
45-
zarr.open_array(
46-
fs_mapper(percentiles_path),
47-
"w",
48-
shape=(len(sensing_times), len(bands), 21),
49-
chunks=(1, 1, 21),
50-
dtype=np.float32,
51-
)
52-
5335
# Create timestamps array
5436
timestamps_path = f"{patch_constellation_path}/timestamps"
5537
z_dates = zarr.open_array(

0 commit comments

Comments
 (0)