You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add as_collection re-entry path and align lifecycle docs
- add rasteret.as_collection() as a lightweight wrapper for read-ready pyarrow Table/Dataset inputs without rebuild/enrichment/persist
- enforce strict upfront schema validation for read contract columns and band metadata structs, plus memory-size warning for large in-memory tables
- infer data_source from dataset before Collection construction (no post-construction mutation)
- add/expand API surface tests for as_collection error paths and large-table warning
- update Major TOM on-the-fly example to use as_collection() for enrichment round-trip and keep year/month partition columns
- clarify build/load/as_collection semantics across docstrings and docs (home, getting started, tutorials, collection management, build-from-parquet, enriched workflows, reference, contributing)
Signed-off-by: print-sid8 <sidsub94@gmail.com>
| Raw local/S3 COG files (no STAC/Parquet index yet) | First create a Parquet record table (`id`, `datetime`, `geometry`, `assets`), then `build_from_table(..., enrich_cog=True)` |
234
+
| You already have a read-ready Arrow table from an existing Collection | `rasteret.as_collection(table, data_source=collection.data_source)` |
234
235
| Someone shared a Collection with you | `rasteret.load("path/to/collection/")` |
235
236
236
237
**Sharing**: `collection.export("path/")` writes a portable copy. Your teammate runs `rasteret.load("path/")`.
0 commit comments