Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.9.0
metadata
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
- Fetches current Canadian radar data from Environment and Climate Change Canada (ECCC)
- Analyzes each pixel using the official 14-color dBZ scale as reference
- Identifies color blocks and maps them to specific dBZ reflectivity values
- Groups pixels with the same color into rectangular regions
- Annotates the image with dBZ values for each region
- 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
- Click "🔍 Analyze Current Radar" to fetch and analyze the latest radar data
- View detailed analysis results including pixel counts and intensity levels
- Examine the annotated radar image with dBZ values labeled on regions
- 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