How gabenotgave/osdci-pipeline works
OSDCI is a geospatial machine-learning pipeline that ranks CONUS H3 cells for data-center siting. Its workflow builds a grid, derives facility labels and geospatial features, assembles a master table, trains a LightGBM model, and applies impact penalties before exporting exploration artifacts. Feature scripts are independent producers rather than a serial chain; their exact runtime wiring is not shown here. The README documents the broad pipeline stages and datasets, while sampled source confirms key grid, label, assembly, proximity, training, and scoring responsibilities.
Main entry points: grid.py H3 grid · assemble_features.py Assemble master table · aggregate_labels.py Aggregate labels · train_baseline.py Train baseline model
Components 34
Grid and labels
- Build grid
scripts/build_grid.py - H3 grid
osdci/grid.py - Ingest facility labels
scripts/ingest_im3.py - Aggregate labels
scripts/aggregate_labels.py
Feature builders
- Power and grid economics
scripts/compute_eia860_features.py - Electricity prices
scripts/compute_eia861_industrial_price.py - Grid carbon and renewables
scripts/compute_egrid_features.py - Nearby generation
scripts/compute_nearby_generation.py - IXP connectivity
scripts/compute_ixp_distance.py - Metro and cloud proximity
scripts/compute_proximity_features.py - Cloud region catalog
osdci/cloud_regions.py - Land cover and terrain
scripts/compute_nlcd_features.py - Impervious surface
scripts/compute_impervious_features.py - Terrain slope
scripts/compute_slope_features.py - Protected areas
scripts/compute_padus_features.py - Wetlands
scripts/compute_wetland_features.py - Climate and cooling
scripts/compute_climate_features.py - Water stress
scripts/compute_water_stress_features.py - Natural hazard risk
scripts/compute_nri_features.py - Population exposure
scripts/compute_population_features.py - Environmental justice
scripts/compute_ejscreen_features.py - Tribal land exclusion
scripts/compute_tribal_features.py - Critical habitat exclusion
scripts/compute_critical_habitat_features.py
Modeling and scoring
- Feature registry
osdci/features.py - Assemble master table
scripts/assemble_features.py - Train baseline model
scripts/train_baseline.py - Penalize and export scores
scripts/compute_final_scores.py
External data
- IM3 atlas
- EIA data
- EPA eGRID
- PeeringDB
- Public geospatial datasets
Other components
- Siting planner
- Ranked siting artifacts
Connections 48
- Siting planner → Build grid: initiates
README.md - Build grid → H3 grid: calls
scripts/build_grid.py - IM3 atlas → Ingest facility labels: provides atlas
README.md - Ingest facility labels → Aggregate labels: writes labels
README.md - H3 grid → Aggregate labels: indexes cells
README.md - H3 grid → Power and grid economics: feature basis
README.md - H3 grid → Electricity prices: feature basis
README.md - H3 grid → Grid carbon and renewables: feature basis
README.md - H3 grid → Nearby generation: feature basis
README.md - H3 grid → IXP connectivity: feature basis
README.md - H3 grid → Metro and cloud proximity: feature basis
README.md - Cloud region catalog → Metro and cloud proximity: provides regions
scripts/compute_proximity_features.py - H3 grid → Land cover and terrain: feature basis
README.md - H3 grid → Impervious surface: feature basis
README.md - H3 grid → Terrain slope: feature basis
README.md - H3 grid → Protected areas: feature basis
README.md - H3 grid → Wetlands: feature basis
README.md - H3 grid → Climate and cooling: feature basis
README.md - H3 grid → Water stress: feature basis
README.md - H3 grid → Natural hazard risk: feature basis
README.md - H3 grid → Population exposure: feature basis
README.md - H3 grid → Environmental justice: feature basis
README.md - H3 grid → Tribal land exclusion: feature basis
README.md - H3 grid → Critical habitat exclusion: feature basis
README.md - EIA data → Power and grid economics: supplies data
README.md - EIA data → Electricity prices: supplies data
README.md - EPA eGRID → Grid carbon and renewables: supplies data
README.md - PeeringDB → IXP connectivity: supplies data
README.md - Public geospatial datasets → Land cover and terrain: supplies data
README.md - Public geospatial datasets → Impervious surface: supplies data
README.md - Public geospatial datasets → Terrain slope: supplies data
README.md - Public geospatial datasets → Protected areas: supplies data
README.md - Public geospatial datasets → Wetlands: supplies data
README.md - Public geospatial datasets → Climate and cooling: supplies data
README.md - Public geospatial datasets → Water stress: supplies data
README.md - Public geospatial datasets → Natural hazard risk: supplies data
README.md - Public geospatial datasets → Population exposure: supplies data
README.md - Public geospatial datasets → Environmental justice: supplies data
README.md - Public geospatial datasets → Tribal land exclusion: supplies data
README.md - Public geospatial datasets → Critical habitat exclusion: supplies data
README.md - H3 grid → Assemble master table: joins grid
scripts/assemble_features.py - Aggregate labels → Assemble master table: joins labels
README.md - Feature registry → Assemble master table: defines columns
scripts/assemble_features.py - Assemble master table → Train baseline model: trains from table
README.md - Feature registry → Train baseline model: selects features
scripts/train_baseline.py - Train baseline model → Penalize and export scores: produces viability scores
README.md - Penalize and export scores → Ranked siting artifacts: exports artifacts
scripts/compute_final_scores.py - Siting planner → Ranked siting artifacts: reviews
README.md