DO NOT EDIT OUTSIDE MARKERS
Overview
Stage 02 sorts your raster products into a canonical folder tree and normalizes flight line identifiers for downstream analysis. You run it after raster processing to prepare data for cross‑sensor comparisons. The sort is idempotent; rerunning the command recreates the same layout without duplicating files.
gocmd
installed for syncingGenerate the move list and optionally sync files:
python bin/jefe.py sort-and-sync-files \
--base-folder /path/to/niwo_neon \
--remote-prefix projects/neon/data \
--sync-files
The script normalizes flight line names (lowercase, zero padded) and builds
sorted_files/envi/<category>/
folders.
Inspect envi_file_move_list.csv
in the base folder. This local cache stores
source and destination paths so later runs can resume without rescanning.
Paths that sync to iRODS follow
i:/iplant/<remote_prefix>/sorted_files/envi/<category>/<filename>
.
Omitting --remote-prefix
places files under i:/iplant/
directly.
Rerun the command at any time. gocmd sync
compares timestamps and sizes, so
reruns skip unchanged files and resume incomplete transfers.
src/file_sort.py
implements sorting and iRODS path rulesbin/jefe.py
provides the sort_and_sync_files
entry pointProceed to Stage 03 Pixel Extraction once files are sorted and synced. Last updated: 2025-08-18