Académique Documents
Professionnel Documents
Culture Documents
Humidité : 30%
Précipitations : 25%
Température : 20%
Vitesse du vent : 25%
Impact sur la sécheresse : Pensez à l'impact que chaque critère a sur la sécheresse une faible
humidité et des précipitations insuffisantes sont des indicateurs directs de la sécheresse, tandis
que des températures élevées et des vents forts peuvent contribuer à l'évaporation de
l'humidité, exacerbant ainsi la sécheresse.
Normalisez les valeurs de chaque critère pour qu'elles se situent dans la même échelle (par
exemple, de 0 à 1) afin de les comparer plus facilement. Par exemple, vous pouvez diviser
chaque valeur par la valeur maximale observée pour ce critère.
-----------------------------------------------------------------------------------------------------------------
!! modifier classe apiData les donnes enregistrées dans bd à partir d’ api doit être enregistre
avec date =today
!! recup data pour traitement avec date=today ou sort (la dernière enregistrée)
-Les fonctionnalités de notre app /Users (who can use our app ) nada
-Stimulations
-----------------------------------------------------------------------------------------------------------------
4-
Since we're using ASP.NET MVC, it's evident that our project is divided into Models, Views,
and Controllers.
In the Models, where we create our main classes, we have a folder named "ApiData" which
collects all the classes related to it. Then we have "Blog", "Notifications", and
"WeatherDataAnalysisResult" for data from API after processing.
In Views, we have our pages .cshtml like home, map, and others.
Then we have Controllers, where we'll focus on the "WeatherDataController" by explaining
the following algorithm.
First, we get data from the API, and focus on Humidity, Precipitation, Temperature, and Wind
Speed. Then, we'll assign weights to each criterion, considering that these elements
collectively construct drought, and each has a property that influences the drought.
After that, we'll normalize the values of each criterion to ensure they are on the same scale.
Next, we'll calculate the overall score using this formula. Finally, we'll identify the level of
drought based on this score.
Additionally, to these folders, we have an area containing user management files using
Identity and migration, along with all the migrations performed.