Spaces:
Sleeping
Sleeping
| title: Canadian Weather Radar Analyzer | |
| emoji: 🌦️ | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 5.47.2 | |
| app_file: app.py | |
| pinned: false | |
| license: cc-by-4.0 | |
| short_description: Pixel-level analysis of Canadian radar data | |
| # 🇨🇦 Canadian Weather Radar Analyzer | |
| A precise pixel-level analysis tool for Canadian weather radar data with dBZ reflectivity mapping. | |
| ## Features | |
| - **Pixel-Perfect Analysis**: Analyzes every pixel for precise dBZ reflectivity values | |
| - **Color Mapping**: Uses official Canadian radar color scale reference | |
| - **Region Detection**: Groups same-intensity pixels into rectangular regions | |
| - **Real-time Data**: Fetches fresh radar data from ECCC MSC GeoMet every 10 minutes | |
| - **Quantitative Results**: Provides pixel counts, coverage statistics, and intensity breakdowns | |
| - **Interactive Map**: Displays analyzed radar overlaid on Canada map | |
| ## How It Works | |
| 1. **Fetches** current Canadian radar data from Environment and Climate Change Canada (ECCC) | |
| 2. **Analyzes** each pixel using the official 14-color dBZ scale as reference | |
| 3. **Identifies** color blocks and maps them to specific dBZ reflectivity values | |
| 4. **Groups** pixels with the same color into rectangular regions | |
| 5. **Annotates** the image with dBZ values for each region | |
| 6. **Displays** results on an interactive map interface | |
| ## Technical Details | |
| - **Data Source**: ECCC MSC GeoMet WMS service | |
| - **Radar Layer**: RADAR_1KM_RRAI (1km resolution rain radar) | |
| - **Color Analysis**: Precise RGB color matching with official dBZ scale | |
| - **Coverage**: Full Canada (42°N to 84°N, -142°W to -52°W) | |
| - **Resolution**: 800x600 pixel analysis grid | |
| - **Update Frequency**: Real-time data updated every 10 minutes | |
| ## Usage | |
| 1. Click "🔍 Analyze Current Radar" to fetch and analyze the latest radar data | |
| 2. View detailed analysis results including pixel counts and intensity levels | |
| 3. Examine the annotated radar image with dBZ values labeled on regions | |
| 4. Use "📡 Show Live Radar" to view the raw radar overlay without analysis | |
| ## Data Attribution | |
| Weather radar data provided by Environment and Climate Change Canada (ECCC) under the [Open Government License](https://eccc-msc.github.io/open-data/licence/readme_en/) | |