Nosotros 1 - Fuego 0
You can run this code in Python 2.7 and Python 3.x
___ Mapa
|___ AEstrella.py -> Pathfinder Algorithm
|___ AlgoritmoGenetico.py -> Genetic Algorithm
|___ TempleSimulado.py -> Annealing Algorithm
Input: A list with the order of the sources of where the fires occur.
It's an API. It contains a genetic algorithm that allows you to order the order in which the fire sources should be turned off. It uses a simulated annealing algorithm for fitness. Which evaluates the distance between points with a Pathfinder algorithm.
Output: Return an ordered list with which each source of fire must be extinguished.
___ Clasificacion
|___ Main.py -> KNN Algorithm and KMeans Algorithm
Input: A parameter is passed that contains the data of: humidity, distance to the nearest water source and wind speed. This parameters are inside a csv file.
It's an API. Historical humidity data, distance to the nearest water source and wind speed obtained from the SAOCOM satellite are read but you can use any source of information available in csv format. We use K-Nearest Neighbor(KNN) algorithm to classify the degree of fire (Extreme, high, medium and low) and KMeans algorithm to do a regression.
Output: Determine degrees of fire (Extreme, high, medium and low).
Below is the execution of two Python programs that consume our developed API. This helps us to show and validate our APIs.
- Toolkit 1
- Toolkit 2
- We used a map with the location of the Volunteer Fire Station of the Province of Cordoba. In order to recommend which fire station is closest to the source of the fire.
Link: https://www.bomberoscordoba.com.ar/regional/regional.php
- We use Google Maps data to define a fire source as a point on the map, in those places in very large areas of forest. From that coordinate we assign a number or label to each focus. With that input processed data, we proceed to apply our API.
- Fire danger: It is classified in: extreme, high, medium and low degree.
Link : https://www.argentina.gob.ar/ambiente/fuego/alertatemprana/indices
- Soil moisture: Map of soil moisture estimates at 50cm depth, periodically updated in the last 7 days (SAOCOM data).
Link: https://gn-idecor.mapascordoba.gob.ar/maps/87/view
- Distance to Water Resources: Map of the essential data of "Portal de Información Hídrica de Córdoba (PIHC)"
Link: https://gn-idecor.mapascordoba.gob.ar/maps/295/view
- Wind speed: 10m above gnd.
This project has License (MIT).