feat(esm_catalog): PR-A1b-1 — scan ingest + NetCDF#1485
Open
siligam wants to merge 9 commits into
Open
Conversation
siligam
force-pushed
the
esm-catalog/pr-a1a-stac-foundation
branch
from
June 17, 2026 12:12
8d58172 to
3b5b80c
Compare
siligam
force-pushed
the
esm-catalog/pr-a1b1-scan-netcdf
branch
from
June 17, 2026 12:12
3cb83f3 to
e853cac
Compare
siligam
force-pushed
the
esm-catalog/pr-a1a-stac-foundation
branch
from
June 17, 2026 15:53
3b5b80c to
541592a
Compare
siligam
force-pushed
the
esm-catalog/pr-a1b1-scan-netcdf
branch
from
June 17, 2026 15:54
e853cac to
bdc93bd
Compare
siligam
force-pushed
the
esm-catalog/pr-a1a-stac-foundation
branch
from
June 17, 2026 16:34
541592a to
7e5af57
Compare
siligam
force-pushed
the
esm-catalog/pr-a1b1-scan-netcdf
branch
from
June 17, 2026 16:34
bdc93bd to
0b538f0
Compare
Contributor
Author
|
Rebased onto the corrected PR-0 base (#1483) — test relocation to |
siligam
force-pushed
the
esm-catalog/pr-a1a-stac-foundation
branch
from
June 18, 2026 12:42
7e5af57 to
d995632
Compare
…dd scan_all_namelists Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…he/import cleanups, use collection_title Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d+write across 3.9/3.12)
siligam
force-pushed
the
esm-catalog/pr-a1b1-scan-netcdf
branch
from
June 24, 2026 13:11
0b538f0 to
9be7194
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR-A1b-1 — scan ingest + NetCDF (Miguel's "scan run dirs" unit)
Third slice of #1473's decomposition. Adds the scan/ingest layer that turns files into in-memory STAC (collections + items), and completes the cross-layer rewiring that the STAC foundation (#1484) deferred.
What's here (+1,814 lines)
scan/upath.py— remote-FS helpers; re-exportsparse_uri/to_urifromesm_catalog.uriscan/namelist.py— Fortran namelist parsing (+get_namelist_config_path, moved here from the stac layer)scan/netcdf.py— NetCDF scanner (xarray) → STAC metadatascan/detect.py— format dispatch by suffix + magic bytes (GRIB/ECHAM lazy — they land in PR-A1b-2)scan/context.py— collection-context resolution using the neutralCollectionContext;scan_all_namelistsscan/ingest.py—scan_tree(root): the storage-free pipeline (list → detect/scan → resolve → STAC)esm-catalog scan <path> [--output FILE]CLI commandRewiring completed (deferred from #1484)
scan/context.pyusesfrom esm_catalog.context import CollectionContext(no local dataclass)CollectionContext.collection_titlere-added and now honored bymake_collectionget_namelist_config_pathreintroduced in the scan layermake_collection(ctx, namelists=, fesom_info=)called with the new pure signature;ctx.namelists_by_componentpopulated before item-buildingScope notes
scan_treebuilds STAC in memory; DuckDB persistence is PR-A2.scan → staconly; the A1a guard test still passes.Plan: PR-A1b plan