mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-06-11 01:14:45 +02:00
feat(env): NIFC fire perimeters + avalanche advisories
- WFIGS ArcGIS fire perimeter polling with proximity alerts - Avalanche.org advisory polling (seasonal, SNFAC) - !fire and !avy commands - Distance-based severity for fires near mesh infrastructure - Dashboard environment page integration - Alert engine fires on fires within 50km of mesh area Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1158e30c0b
commit
2255ca5803
15 changed files with 1013 additions and 93 deletions
|
|
@ -337,7 +337,9 @@ class MeshAI:
|
|||
env_cfg = self.config.environmental
|
||||
if env_cfg.enabled:
|
||||
from .env.store import EnvironmentalStore
|
||||
self.env_store = EnvironmentalStore(config=env_cfg)
|
||||
# Pass region anchors for fire proximity calculation
|
||||
region_anchors = self.config.mesh_intelligence.regions if self.config.mesh_intelligence.enabled else []
|
||||
self.env_store = EnvironmentalStore(config=env_cfg, region_anchors=region_anchors)
|
||||
logger.info(f"Environmental feeds enabled ({len(self.env_store._adapters)} adapters)")
|
||||
else:
|
||||
self.env_store = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue