Skip to main content

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:

  1. A grid of sample points (5–16 per side depending on area size) is generated across the bounding box
  2. Each point is queried against the NWS gridpoint forecast endpoint
  3. Temperature values are mapped to a blue → green → yellow → red color scale (32°F – 104°F / 0°C – 40°C)
  4. 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:

SeverityColor
ExtremeRed
SevereOrange
ModerateYellow
MinorBlue

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:

MetricDescription
Flight CategoryVFR / MVFR / IFR / LIFR (based on visibility and ceiling)
VisibilityAverage visibility in miles
WindAverage wind speed (knots) and direction (cardinal)
Precipitation ChanceAverage probability of precipitation (%)
Sky CoverAverage cloud cover percentage

Flight category thresholds:

CategoryVisibilityCeiling
VFR (Green)> 5 mi> 3,000 ft
MVFR (Blue)3–5 mi1,000–3,000 ft
IFR (Red)1–3 mi500–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 PercentileCategory
≥ 0.80Very High Vulnerability
≥ 0.60High Vulnerability
≥ 0.40Moderate Vulnerability
≥ 0.20Low Vulnerability
< 0.20Very 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:

StatusColor
NormalBlue (Dodger Blue)
Near ActionYellow
Minor FloodOrange
Moderate FloodRed
Major FloodDark 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:

MetricDescription
Average depthMean flood depth (ft) across all in-bounds points
Max depthMaximum depth recorded
High-risk countNumber of points with depth > 2.5 ft
Risk levelLow / Moderate / High (based on depth distribution)

Points are rendered as a color-coded point cloud: green (shallow) → yellow (moderate) → red (deep).

note

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.