Food for Thought

Your challenge is to consider the journey of food to your plate, determine how disruptions from the COVID-19 pandemic are affecting the food supply locally and globally, and propose solutions to address these issues.

Locust Attack Detector

Summary

COVID-19 and its impacts have essentially tied our hands in responding to one of history's biggest locust attacks. We present to you, the "Locust Attack Detector" that will help in predicting if your city stands a chance of becoming the next victim to these vicious desert locusts, having analyzed various ecological factors through space data which proved to be favorable for locust invasions till date. By doing so, we'll be able to ensure food supply for millions of people.

How We Addressed This Challenge

The world is facing the worst locust attack in decades. As of May 3rd 2020, over 5.5 million hectares of land have already been affected by locusts. The swarms are only growing in number with each swarm having up to 80 million desert locusts. A very small part of an average swarm eats the same amount of food in one day as about 10 elephants or 25 camels or 2,500 people.

COVID-19 has exacerbated the situation having impaired various activities like the movement of goods and services. The lock-down imposed across the world has affected surveillance that helps in identifying areas that are potentially vulnerable to invasion by locusts. In addition to this, the supply chain of bio-pesticides involved in control operations has also been disrupted due to restricted movement. This has resulted in places like Somalia seeing delays as much as 3 weeks in receiving shipments of bio-pesticides.

N-Visage has come up with Locust Attack Detector which takes into consideration the various environmental factors like vegetation, rainfall and temperature to identify areas that are likely to be attacked by locusts. This will help farmers and the various disaster mitigation organisations to be well prepared to tackle and mitigate a locust invasion.

How We Developed This Project

India is on the verge of its biggest food scarcity in 25 years, when the last major locust attack happened. If we don’t plan and respond to the impending disaster to the crops caused by these locusts, it might lead to millions of people across the country going without food.

In order to effectively foresee and tackle such a locust invasion, it is paramount to study the various environmental factors that influence the breeding and movement of these insects.

We aim to identify the areas that are likely to be attacked by locusts through factors measuring:

  • Rainfall (metric used: CHIRPS)
  • Temperature (metric used: LST - Land Surface Temperature)
  • Vegetation (metric used: NDVI - Normalized Difference Vegetation Index)

We procured data for cities in 3 countries, namely, Kenya, Saudi Arabia and Ethiopia that have recorded frequent locust attacks in the past to learn about the patterns involved in locust presence.

We relied on the data provided by

  • UNFAO: to analyze locust attacks in the past
  • NASA: to measure vegetation (NDVI) through data from LANDSAT 8
  • NOAA: to measure rainfall and temperature

We developed 3 classification models for this use-case:

Perceptron

  1. Precision: 100.0%
  2. Recall: 17.1779%
  3. F-score: 29.3194%
  4. NDVI weightage: 6.2839
  5. Temperature Weightage: -39.5355
  6. Rainfall weightage: 8.5228

Logistic Regression

  1. Precision: 87.71929824561403%
  2. Recall: 30.67484662576687%
  3. F-Score: 45.4545%
  4. NDVI weightage:2.01587
  5. Temperature Weightage: -1.7670
  6. Rainfall weightage: 2.4478

Decision Tree

  1. Precision: 95.8824
  2. Recall: 100.0%
  3. F-Score: 97.8979%
  4. NDVI weightage: 19.3458%
  5. Temperature Weightage: 56.6207%
  6. Rainfall weightage: 24.0335%

*precision = precision refers to the percentage of your results which are relevant

*recall = recall refers to the percentage of total relevant results correctly

*F-score = measure of test accuracy

Result:

Taking into account, both the Precision and Recall, we have chosen the Decision Tree model for predicting the potential areas that are likely to be attacked. This model was incorporated into the “Locust Attack Detector” website to predict if an area is likely to be affected or not based on the inputs given by the user.

Try the Locust Attack Detector: n-visage.co

Tools Used:

For statistical modelling, we used Pandas, NumPy, SciKit-learn, JobLib libraries with Python as the coding language on Jupyter Notebook.

For building the website, we used Vanilla HTML, CSS and Javascript.

For visualizing the map, we used the Mapbox API.

Future Scope:

We would like to further our understanding of the influence of wind speed and wind direction in the movement of locust swarms and incorporate the same in the "Locust Attack Detector" to predict the potential path of the locust swarms. The vision is to build a full-fledged system that can be utilized globally to increase awareness and preparedness about locusts and its movements

Data & Resources

Weather and desert locust report: Link

The Early Warning Explorer (EWX) lite, Tool that allows users to visualize time series of rainfall, NDVI and  land surface temperature: Link

Desert locust control operations data: Link

Landsat Normalized Difference Vegetation Index: Link

Statistical models:

  • Perceptron Model: Link
  • Logistic Regression: Link
  • Decision Tree: Link
Tags
#covid19 #nasa #locusts #locustattack #locustinvasion #spaceapps #landsat8 #food #foodsupply #prediction #mitigation #foodsecurity #foodscarcity #sdg2 #foodforthought #food
Global Judging
This project was submitted for consideration during the Space Apps Global Judging process.