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
GEO-INFER-BIO provides biodiversity analysis, species distribution modeling (SDM), habitat quality assessment, ecological connectivity analysis, and conservation planning tools. The module supports the full workflow from species occurrence records through spatial biodiversity mapping to corridor identification and protected area prioritization. It operates on H3 hexagonal grids for consistent spatial aggregation and integrates with Bayesian methods for uncertainty-aware species distribution predictions.
Core Objectives
Species Richness Mapping: Aggregate species occurrence records onto H3 hexagonal cells to produce spatially explicit richness maps with rarefaction-corrected estimates
Habitat Connectivity Analysis: Identify viable wildlife corridors between habitat patches using graph-theoretic methods (least-cost paths, circuit theory) with species-specific dispersal parameters
Bayesian Species Distribution Modeling: Predict species occurrence probability across unsampled areas using environmental covariates and Bayesian inference (via GEO-INFER-BAYES)
Conservation Prioritization: Rank candidate areas for protection using systematic conservation planning methods that balance biodiversity value, cost, and connectivity
Features
Species Distribution Modeling
fromgeo_infer_bioimportSpeciesModeler# Model species distributionmodeler=SpeciesModeler()
distribution=modeler.predict(
species="ursus_americanus",
occurrences=sighting_data,
predictors=environmental_layers
)
print(f"Suitable habitat: {distribution.area_km2} km2")
Marine biodiversity assessments and coastal habitat connectivity
GEO-INFER-CLIMATE
BIO <-- CLIMATE
Climate variables as environmental covariates for SDMs
Data flow: DATA provides occurrence records and environmental layers. SPACE provides H3 spatial operations. BAYES powers uncertainty quantification in SDMs. BIO produces richness maps, corridors, and conservation priorities that feed into FOREST and MARINE for domain-specific management.
Installation
uv pip install -e "./GEO-INFER-BIO"
Testing
# Run all BIO tests
uv run python -m pytest GEO-INFER-BIO/tests/ -v
# Run unit tests only
uv run python -m pytest GEO-INFER-BIO/tests/unit/ -v
# Run with coverage
uv run python -m pytest GEO-INFER-BIO/tests/ --cov=GEO-INFER-BIO/src --cov-report=html