This report analyzes monthly rainfall data from 2018 to 2022 across Kenya, Ethiopia, Malawi, Benin, and Côte d'Ivoire, utilizing the CHIRPS dataset. It aims to identify rainfall trends, seasonal patterns, and regional variations, interpret their implications for agriculture, and propose additional datasets for enhanced decision-making.
# CHIRPS 5 Countries Rainfall Analysis (2018-2022)
## Project Overview
This project analyzes monthly rainfall data from 2018 to 2022 across various regions in five eligible countries (Ethiopia, Kenya, Somalia, etc., as per the CHIRPS dataset). The primary goal is to identify noticeable trends, seasonal patterns, and anomalies in rainfall, understand their potential influence on crop yields and farming practices, and propose additional datasets to enhance agricultural and climate decision-making.
## Dataset
The dataset used for this analysis is `CHIRPS_5_Countries_2018_2022.csv`, containing monthly rainfall (mm) aggregated by year, month, country, and region.
Data source: DE Africa CHIRPS (Note: The specific file was provided as part of the assignment).
## Project Structure
The project is organized as follows:
CHIRPS_5_Countries_2018_2022_rainfall_analysis/
├── Data/
│ └── CHIRPS_5_Countries_2018_2022.csv # The rainfall dataset
├── notebooks/
│ └── Rainfall_Analysis.ipynb # Jupyter Notebook with the analysis
│ └── README.md # (Optional) README for the notebooks folder
├── src/ # For any reusable Python scripts (currently empty)
├── tests/ # For unit tests (currently empty)
├── venv/ # Python virtual environment
├── .gitignore # Git ignore file
├── init.py # Python package marker
├── LICENSE # Project license (e.g., MIT, Apache 2.0)
├── README.md # This README file
└── requirements.txt # List of project dependencies
## Analysis Performed
The `Rainfall_Analysis.ipynb` Jupyter Notebook covers the following steps:
1. **Setup and Data Loading:**
* Imports necessary libraries (pandas, matplotlib, seaborn).
* Loads the `CHIRPS_5_Countries_2018_2022.csv` file, handling potential encoding issues.
2. **In …