1. Scientific Raster & Multidimensional Cube Worker
GDAL, Rasterio, xarray, Zarr & MetPy (`geoproc/`)
Processes meteorological grids (HRRR GRIB2 / NetCDF), multi-spectral satellite imagery, and digital elevation models into Cloud-Optimized GeoTIFFs (COG) and chunked Zarr stores on S3.
- Strict Scientific Provenance: Validates coordinate reference systems (CRS), grid resolution compatibility, physical units, valid timestamps, and explicit nodata masks before computation.
- Monotonic Lease & Atomic Publishing: Acquires DynamoDB leases that outlive job durations and writes `_SUCCESS` / `latest.json` pointers only after all COG/Zarr objects pass integrity checks.
- HRRR & Atmospheric Event Ingestion: EventBridge-triggered S3 ingestion pipelines automatically process new forecast cycles without duplicate runs.
2. Pure-Rust Raster Engine (`terrio_batch/`)
GDAL-Free Rust Terrio Container
Eliminates large C/C++ shared library footprints with a lightweight, memory-safe Rust binary engineered for high-throughput raster algebra and Cloud-Optimized GeoTIFF streaming.
- Minimal Cold-Start Image: Distroless/slim container starts in seconds on AWS Batch Fargate with deterministic memory bounds.
- Native SIMD Raster Algebra: Executes normalized difference indices (NDVI/NDWI), slope/aspect derivatives, hillshade, and threshold masks directly over S3 byte-range reads.
- Zero GDAL Dependency Chain: Immune to PROJ/GDAL version conflicts while preserving GeoTIFF tags, GeoKeys, and overview pyramids.
3. High-Speed Analytical SQL Worker (`duckdb_batch/`)
DuckDB 2.0 GeoParquet, Iceberg & PostGIS Engine
Disposable serverless Fargate workers running DuckDB 2.0 with the `spatial`, `httpfs`, `aws`, `iceberg`, and `postgres` extensions for out-of-core vector and tabular geoprocessing.
- Native `SPATIAL_JOIN` Operator: Accelerated R-tree spatial joins across millions of polygons and points stored in S3 GeoParquet without loading data into a persistent DBMS.
- Multi-Catalog Federation: Join S3 GeoParquet lakes, AWS S3 Tables (Apache Iceberg), and live Aurora PostGIS tables in a single SQL pipeline.
- Verified Extension Security: Extension signature verification is strictly enforced (`allow_unsigned_extensions` is never enabled).
4. Remote Sensing & Hydrological Geomorphometry
Orfeo ToolBox (`otb_batch/`) & WhiteboxTools (`whitebox_batch/`)
Turnkey AWS Batch containers for specialized remote sensing image segmentation, SAR/optical calibration, and LiDAR hydrological terrain modeling.
- Orfeo ToolBox (OTB): Radiometric calibration, pan-sharpening, Large-Scale Mean-Shift (LSMS) segmentation, and object-based image classification on S3 imagery.
- WhiteboxTools Hydro-Terrain Suite: Depression breaching (`BreachDepressionsLeastCost`), D8/D-Infinity flow accumulation, topographic wetness index (TWI), stream network extraction, and LiDAR LAS/LAZ DEM interpolation.
5. Petabyte Distributed Spatial Lakehouse (`infra/emr-sedona.yaml`)
Amazon EMR Serverless + Apache Sedona
When spatial joins span hundreds of gigabytes to petabytes of GPS telemetry, parcel histories, or global vector tiles, EMR Serverless provisions distributed Spark + Apache Sedona executors on demand.
- Distributed Spatial Partitioning: KDB-Tree and Quad-Tree spatial partitioning across dynamic Spark executors with automatic scale-to-zero after job completion.
- GeoParquet & Apache Iceberg Native: Reads and writes spatial data directly in open lakehouse formats cataloged in AWS Glue Data Catalog.
6. Managed Earth Observation & ML (`sagemaker_geospatial/`)
SageMaker Geospatial & Custom GPU Inference
Integrates AWS SageMaker Earth Observation jobs (`us-west-2` Oregon) and GPU-backed AWS Batch EC2 queues for cloud masking, super-resolution, land-cover segmentation, and custom PyTorch GeoAI models.
- Planetary STAC Ingestion: Native orchestration of Sentinel-2, Landsat, and NAIP scenes with automated cloud-removal and spectral mosaicking.
- Scale-to-Zero GPU Batch Queue: Optional `g4dn` / `g5` EC2 Batch compute environment (`minvCpus: 0`) for foundation model inference (Clay, Prithvi, SAM-Geo).