This project visualizes lightning strike data from Excel files using interactive heatmaps and data plots. You can:
- 🌎 View lightning strikes spatially across Florida.
- 📊 See hourly lightning frequency distributions.
- 💥 Identify and map the strongest lightning strike (based on peak current Ip).
Feature | Description |
---|---|
🌎 Interactive Heatmap | Visualize lightning strikes on a map by specifying month, day, hour, and minute. |
📊 Hourly Distribution Plot | Display bar charts showing lightning activity by hour. |
💥 Peak Current (Ip) Locator & Map | Automatically find the strongest lightning strike and mark it on an interactive map. |
🔎 User Input-Based Filtering | Filter large datasets by exact date, time, and second to zoom in on key moments. |
- Python 3
- Pandas
- Folium (with HeatMap plugin)
- Matplotlib
- OpenPyXL
- Jupyter Notebook (for inline map display)
File Name | Purpose |
---|---|
april22.xlsx |
Lightning strike dataset for April. |
Sep7.xlsx |
Lightning strike dataset for September 7th (example file). |
spatial_plot.py |
Script to generate a lightning strike heatmap for a given time. |
hourly_distribution.py |
Script to generate bar charts showing hourly lightning frequency. |
peak_current_map.py |
Script to find the strongest peak current (Ip) and visualize its location on a map. |
git clone https://github.com/krocks9903/Lightning-Research-Using-Python.git
cd Lightning-Research-Using-Python
pip install pandas folium matplotlib openpyxl
Script | How to run |
---|---|
🌎 Spatial Heatmap | python spatial_plot.py |
📊 Hourly Distribution | python hourly_distribution.py |
💥 Peak Current Locator | python peak_current_map.py |
- Interactive Folium maps showing density of lightning strikes.
- Bar plots showing hourly lightning distributions.
- Pinpoint location of the highest peak current strike, marked in red.
Krish Shah
🌐 GitHub Profile
- Add dynamic time slider to heatmaps.
- Automate daily data updates via APIs.
- Add alert system for peak lightning conditions.