Skip to content

Feature/imos downloader - #170

Merged
tausiaj merged 4 commits into
developfrom
feature/imos-downloader
Oct 27, 2026
Merged

tausiaj merged 4 commits into
developfrom
feature/imos-downloader

Conversation

@tausiaj

@tausiaj tausiaj commented Oct 27, 2026

Copy link
Copy Markdown
Member

No description provided.

tausiaj and others added 4 commits October 26, 2026 19:46
New provider bluemath_tk.downloaders.imos: lists a bucket prefix with
S3 ListObjectsV2 (paged, sub-folders in parallel, modified_since),
mirrors the files locally, parallel and resumable, checked against the
size and the ETag (MD5). A file is downloaded again when its size changes
or the bucket copy is newer (local files get the bucket time). Product SRS
with dataset Wave-Wind-Altimetry-DM00 (18 altimeter missions, 1985-now).
file_checksum moves to _transfer (shared with earthdata).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ds of files

add_* and merge checked "file not in list", which is quadratic: a dry run
of the IMOS archive (736,000 files) did not finish in 10 min. A set next
to each list makes the check O(1) (rebuilt if a list is changed directly).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tat per file

On Lustre, 736,000 stat calls of missing files took over 30 min; with one
os.scandir per folder the dry run of the whole IMOS archive takes 1 min.
Dry runs no longer stat missing files a second time in fetch_file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tausiaj
tausiaj merged commit eccc6d5 into develop Oct 27, 2026
7 checks passed
@tausiaj
tausiaj deleted the feature/imos-downloader branch October 27, 2026 16:42
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.

1 participant