Analysis Filters
When you click Activate on a bounding box, a filter dialog opens. Select any combination of the available filters and click Activate to run the analysis.
Each filter fetches data for the defined region, renders results on the map, and contributes statistics to the results panel.
1. Temperature Heatmap
Fetches surface temperature forecasts from the NOAA NWS Grid Data API and renders a color-coded heatmap overlay.
How it works:
- A grid of sample points (5–16 per side depending on area size) is generated across the bounding box
- Each point is queried against the NWS gridpoint forecast endpoint
- Temperature values are mapped to a blue → green → yellow → red color scale (32°F – 104°F / 0°C – 40°C)
- A canvas-based heatmap is generated with Gaussian blur and rendered as a Cesium imagery layer
Results panel shows:
- Minimum temperature
- Average temperature
- Maximum temperature
- An opacity slider to adjust transparency
2. Weather Alerts
Fetches active NWS watches, warnings, and advisories within the bounding box from the NOAA NWS Alerts API.
Alert severity colors:
| Severity | Color |
|---|---|
| Extreme | Red |
| Severe | Orange |
| Moderate | Yellow |
| Minor | Blue |
Each alert is placed as a colored pin on the map. Click a pin to see the full alert text, effective time, and expiration time.
3. Aviation Conditions
Samples NWS forecast grid points across the bounding box and derives aviation weather metrics.
Displayed metrics:
| Metric | Description |
|---|---|
| Flight Category | VFR / MVFR / IFR / LIFR (based on visibility and ceiling) |
| Visibility | Average visibility in miles |
| Wind | Average wind speed (knots) and direction (cardinal) |
| Precipitation Chance | Average probability of precipitation (%) |
| Sky Cover | Average cloud cover percentage |
Flight category thresholds:
| Category | Visibility | Ceiling |
|---|---|---|
| VFR (Green) | > 5 mi | > 3,000 ft |
| MVFR (Blue) | 3–5 mi | 1,000–3,000 ft |
| IFR (Red) | 1–3 mi | 500–1,000 ft |
| LIFR (Magenta) | < 1 mi | < 500 ft |
4. Social Vulnerability Index (SVI)
Cross-references the analysis region against the CDC/ATSDR 2022 Social Vulnerability Index county dataset.
Data source: client/public/data/SVI_2022_US_county.csv
Vulnerability tiers:
| RPL_THEMES Percentile | Category |
|---|---|
| ≥ 0.80 | Very High Vulnerability |
| ≥ 0.60 | High Vulnerability |
| ≥ 0.40 | Moderate Vulnerability |
| ≥ 0.20 | Low Vulnerability |
| < 0.20 | Very Low Vulnerability |
Counties within the bounding box are matched by FIPS code. The panel shows the average SVI percentile and contextualizes it ("top X% of counties nationally").
5. River Gauges
Fetches NOAA NWPS river gauge locations and current water levels within the bounding box.
API: https://api.water.noaa.gov/nwps/v1/gauges?bbox.xmin=...
Each gauge is rendered as a colored pin based on current flood stage:
| Status | Color |
|---|---|
| Normal | Blue (Dodger Blue) |
| Near Action | Yellow |
| Minor Flood | Orange |
| Moderate Flood | Red |
| Major Flood | Dark Red |
Click a gauge pin to see:
- Current water level (ft)
- Flood stage thresholds (action, minor, moderate, major)
- Forecast trend
6. Flood Level Analysis
Analyzes mock flood inundation point data within the bounding box.
Data source: client/public/data/mock_flood_data_snapped.csv
The CSV contains snapped flood depth points. Points within the bounding box are filtered and analyzed:
| Metric | Description |
|---|---|
| Average depth | Mean flood depth (ft) across all in-bounds points |
| Max depth | Maximum depth recorded |
| High-risk count | Number of points with depth > 2.5 ft |
| Risk level | Low / Moderate / High (based on depth distribution) |
Points are rendered as a color-coded point cloud: green (shallow) → yellow (moderate) → red (deep).
This filter uses mock/simulated data for demonstration purposes. It is not sourced from real-time flood sensors.
7. Princeton Biodiversity
A research-specific filter that combines CO₂ sensor data within the analysis region for integration with biodiversity research workflows at Princeton University.
This filter leverages the same CO₂ sensor data pipeline and is designed to be used when sensors are already loaded.
Results Panel
After activation, a results panel appears in the sidebar showing a summary of all active filters. Individual filter sections are collapsible. All numerical results include copy-to-clipboard buttons.
Clearing Results
Click Deactivate to clear all filter visualizations and results from the map and sidebar.