Refine climate metrics and data pipeline

This commit is contained in:
2026-07-24 22:55:14 -04:00
parent 016f7386d8
commit 4e2d878e5b
32 changed files with 3557 additions and 3347 deletions
+9 -8
View File
@@ -14,7 +14,7 @@ the climate side of the analysis.
- Interactive Leaflet map with county boundaries and county selection
- Metric groups for climate classification, temperature, precipitation,
moisture, and solar exposure
moisture, and solar resource
- Numeric range filters and categorical filters
- County detail panel showing all available climate metrics
- Legends and in-app source descriptions
@@ -29,14 +29,15 @@ The browser currently loads 3,221 county-level records from
| Group | Metrics |
| --- | --- |
| Koppen-Geiger Classification | Majority county climate class |
| Temperature & Extremes | Annual average temperature, diurnal temperature range, absolute extreme days per year, and heat-index days |
| Temperature & Extremes | Annual average temperature, diurnal temperature range, annual extreme temperature days, and annual 90 F+ heat-index days |
| Precipitation & Moisture | Annual precipitation, precipitation seasonality, wettest month, driest month, and summer specific humidity |
| Solar Exposure | Average daily global horizontal irradiance (GHI) and cloudiness index |
| Solar Resource | Mean daily global horizontal radiation (GHI) and clear-sky GHI reduction index |
Most long-term climate metrics use a 1991-2020 reference period. The absolute
extreme-days metric currently uses 1991-2025 data. Definitions and time periods
are shown in the application's **Sources** dialog and documented in more detail
in [`scripts/county_data_sources.md`](scripts/county_data_sources.md).
Most long-term climate metrics use a 1991-2020 reference period. The annual
extreme-temperature-days metric currently uses 1991-2025 data and includes days
meeting either the extreme heat or extreme cold threshold. Definitions and time
periods are shown in the application's **Sources** dialog and documented in more
detail in [`scripts/county_data_sources.md`](scripts/county_data_sources.md).
## Run the Explorer
@@ -128,7 +129,7 @@ python -m unittest discover -s tests
The longer-term goal is to add mood-based metrics and investigate whether
patterns in those metrics are associated with climate characteristics such as
temperature, sunlight, cloudiness, humidity, precipitation, or extreme-weather
temperature, sunlight availability, clear-sky GHI reduction, humidity, precipitation, or extreme-weather
frequency.
That phase still requires decisions about: