Skip to content

Commit 8c4a363

Browse files
committed
doc: edit example output
1 parent 9b6f6a4 commit 8c4a363

File tree

1 file changed

+25
-17
lines changed

1 file changed

+25
-17
lines changed

scripts/README_change_storage_tier.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -275,28 +275,36 @@ uv run python scripts/change_storage_tier.py \
275275

276276
Output example:
277277
```
278-
Processing 1500 objects...
279-
300 already have target storage class STANDARD_IA
280-
1200 need to be changed
278+
Processing: S2A_MSIL2A_20251209T123131_N0511_R009_T26SPG_20251209T163109
279+
Target storage class: STANDARD
280+
Include patterns: */r60m/*
281+
Found 4 S3 URLs
282+
Zarr root: s3://esa-zarr-sentinel-explorer-fra/.../S2A_MSIL2A_20251209T123131_N0511_R009_T26SPG_20251209T163109.zarr
283+
Listing objects in s3://esa-zarr-sentinel-explorer-fra/.../S2A_MSIL2A_20251209T123131_N0511_R009_T26SPG_20251209T163109.zarr/
284+
Found 1058 total objects
285+
After filtering: 260 objects to process, 798 excluded
281286
287+
Initial storage class distribution (before changes):
288+
EXPRESS_ONEZONE: 260 objects (100.0%)
289+
(DRY RUN)
290+
291+
Processing 260 objects...
292+
0 already have target storage class STANDARD
293+
260 need to be changed
294+
Progress: 100/260 objects (38%)
295+
Progress: 200/260 objects (76%)
296+
Progress: 260/260 objects (100%)
282297
============================================================
283-
Summary for S2A_MSIL2A_20250831T103701_N0511_R008_T31TFL_20250831T145420:
284-
Total objects: 1500
285-
Skipped (filtered): 0
286-
Already correct storage class: 300
287-
Changed: 1200
288-
Succeeded: 1500
298+
Summary for S2A_MSIL2A_20251209T123131_N0511_R009_T26SPG_20251209T163109:
299+
Total objects: 1058
300+
Skipped (filtered): 798
301+
Already correct storage class: 0
302+
Changed: 260
303+
Succeeded: 260
289304
Failed: 0
290-
291-
Initial storage class distribution (before changes):
292-
STANDARD_IA: 300 objects (20.0%)
293-
STANDARD: 1200 objects (80.0%)
294-
295-
Expected storage class distribution (after changes):
296-
STANDARD_IA: 1500 objects (100.0%)
297305
```
298306

299-
**Note**: The script shows the expected distribution after successful changes. To verify changes were applied, run the same command again - you should see all objects already at the target storage class.
307+
**Note**: The storage class distribution is shown before processing starts. When not in dry-run mode, an expected distribution after changes is also displayed. To verify changes were applied, run the same command again - you should see all objects already at the target storage class.
300308

301309
### Preview changes for specific data subset
302310

0 commit comments

Comments
 (0)