Commit ·
cdbfa80
1
Parent(s): f038068
data(gir): daily sync 2026-09-16T17:30:21Z
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- CITATION.cff +26 -0
- README.md +143 -121
- config/aoi_regions.json +10 -0
- docs/CHARTS.md +21 -0
- docs/DAILY_AUTOMATION.md +87 -0
- docs/DATA_PACKAGES.md +43 -0
- docs/DATA_POLICY.md +14 -0
- docs/FEATURES.md +39 -0
- docs/FEATURE_EXAMPLES.md +203 -0
- docs/GRAPHS.md +106 -0
- docs/HUGGINGFACE.md +57 -0
- docs/OPEN_DEFENSE_DATA.md +54 -0
- docs/charts/README.md +49 -0
- docs/charts/airfields_by_country.svg +10 -0
- docs/charts/cat_anomalies_kpi.svg +2 -0
- docs/charts/cat_anomalies_uogw_severity.svg +2 -0
- docs/charts/cat_architecture.svg +2 -0
- docs/charts/cat_defense_airfields_country.svg +2 -0
- docs/charts/cat_defense_cisa_vendors.svg +2 -0
- docs/charts/cat_defense_feed_status.svg +2 -0
- docs/charts/cat_defense_osm_kpi.svg +2 -0
- docs/charts/cat_defense_usaspending.svg +2 -0
- docs/charts/cat_events_donki_kpi.svg +2 -0
- docs/charts/cat_events_eonet_categories.svg +2 -0
- docs/charts/cat_events_nws_types.svg +2 -0
- docs/charts/cat_events_usgs_aoi.svg +2 -0
- docs/charts/cat_events_usgs_mags.svg +2 -0
- docs/charts/cat_imagery_kpi.svg +2 -0
- docs/charts/cat_imagery_sentinel_clouds.svg +2 -0
- docs/charts/cat_manifest_ingest_status.svg +11 -0
- docs/charts/cat_manifest_quality_kpi.svg +2 -0
- docs/charts/cat_manifest_sources.svg +2 -0
- docs/charts/cat_overview_all.svg +2 -0
- docs/charts/cat_quality_baseline_z.svg +2 -0
- docs/charts/cat_quality_features_run.svg +2 -0
- docs/charts/cat_quality_fusion.svg +2 -0
- docs/charts/cat_reference_types.svg +2 -0
- docs/charts/cat_stac_kpi.svg +2 -0
- docs/charts/cat_temporal_completeness.svg +2 -0
- docs/charts/cat_temporal_kpi.svg +2 -0
- docs/charts/gir_data_flow.svg +14 -0
- docs/charts/ingest_sources.svg +27 -0
- docs/charts/ingest_status.svg +12 -0
- docs/charts/sentinel2_clouds.svg +9 -0
- docs/charts/uogw_severity.svg +15 -0
- docs/charts/usaspending_top.svg +9 -0
- docs/charts/usgs_mags.svg +18 -0
- docs/methodology/SCIENTIFIC_METHOD.md +34 -0
- docs/methodology/UNCERTAINTY.md +14 -0
- schema/gir_schema_v1.json +29 -0
CITATION.cff
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
message: "If you use the Aerostratospheric Defense GIR open-tier data or software, please cite it as below."
|
| 3 |
+
type: software
|
| 4 |
+
title: "Aerostratospheric Defense Geospatial Information Repository (GIR)"
|
| 5 |
+
version: "1.4.0"
|
| 6 |
+
date-released: "2026-08-11"
|
| 7 |
+
url: "https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir"
|
| 8 |
+
repository-code: "https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir"
|
| 9 |
+
license: MIT
|
| 10 |
+
authors:
|
| 11 |
+
- name: "Aerostratospheric / Midwest Stratospheric Data Systems"
|
| 12 |
+
city: "Effingham"
|
| 13 |
+
region: "IL"
|
| 14 |
+
country: "US"
|
| 15 |
+
website: "https://midwestsds.com/"
|
| 16 |
+
keywords:
|
| 17 |
+
- geospatial
|
| 18 |
+
- open data
|
| 19 |
+
- situational awareness
|
| 20 |
+
- remote sensing index
|
| 21 |
+
- defense open tier
|
| 22 |
+
abstract: >
|
| 23 |
+
The Aerostratospheric Defense GIR is an open-tier Geospatial Information
|
| 24 |
+
Repository that automatically collects public hazard, Earth-observation index,
|
| 25 |
+
and defense-adjacent open datasets, validates them, tracks provenance, and
|
| 26 |
+
versions them in git for reproducible awareness support at the unclassified boundary.
|
README.md
CHANGED
|
@@ -1,165 +1,187 @@
|
|
| 1 |
-
|
| 2 |
-
pretty_name: Aerostratospheric Defense GIR
|
| 3 |
-
license: mit
|
| 4 |
-
task_categories:
|
| 5 |
-
- tabular-classification
|
| 6 |
-
- text-classification
|
| 7 |
-
language:
|
| 8 |
-
- en
|
| 9 |
-
tags:
|
| 10 |
-
- geospatial
|
| 11 |
-
- hazards
|
| 12 |
-
- open-data
|
| 13 |
-
- eonet
|
| 14 |
-
- usgs
|
| 15 |
-
- nws
|
| 16 |
-
- satellite-index
|
| 17 |
-
- public-alerts
|
| 18 |
-
- aerostratospheric
|
| 19 |
-
size_categories:
|
| 20 |
-
- n<1K
|
| 21 |
-
---
|
| 22 |
|
| 23 |
-
|
| 24 |
-
<img src="https://raw.githubusercontent.com/Midwest-Stratospheric/Unified-Open-Global-Weather/main/aero.svg" alt="Aerostratospheric" width="240"/>
|
| 25 |
-
</p>
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
**
|
| 30 |
|
| 31 |
-
|
| 32 |
-
[Midwest-Stratospheric/aerostratospheric-defense-gir](https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir).
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|---|---|
|
| 36 |
-
| Publisher | [Aerostratospheric](https://www.midwestsds.com/) · Casey, Illinois |
|
| 37 |
-
| Live page | [Defense GIR](https://midwestsds.com/aerostratospheric-defense-gir.html) |
|
| 38 |
-
| GitHub | [aerostratospheric-defense-gir](https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir) |
|
| 39 |
-
| Sibling dataset | [aerostratospheric/uogw](https://huggingface.co/datasets/aerostratospheric/uogw) |
|
| 40 |
-
| Companion models | [gir-open-tier-suite](https://huggingface.co/aerostratospheric/gir-open-tier-suite) |
|
| 41 |
-
| License | MIT |
|
| 42 |
-
| Cadence | GitHub Actions · **19:30 UTC** daily (after the 18:00 ingest) |
|
| 43 |
|
| 44 |
-
|
| 45 |
-
measured, free satellite catalog cards, public cyber patch lists, and open
|
| 46 |
-
research-flight summaries. Partner or restricted sensor products stay **out**
|
| 47 |
-
of this tree on purpose.
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
---
|
| 53 |
|
| 54 |
-
##
|
| 55 |
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
| 59 |
-
|
|
| 60 |
-
|
|
| 61 |
-
| `data/
|
| 62 |
-
|
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
| `
|
| 66 |
-
|
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
**not** military readiness.
|
| 71 |
|
| 72 |
---
|
| 73 |
|
| 74 |
-
## How
|
| 75 |
|
| 76 |
-
|
| 77 |
-
from huggingface_hub import hf_hub_download
|
| 78 |
-
import json
|
| 79 |
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
repo_id="aerostratospheric/gir",
|
| 83 |
-
repo_type="dataset",
|
| 84 |
-
filename=name,
|
| 85 |
-
)
|
| 86 |
-
return json.load(open(path))
|
| 87 |
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
|
|
|
| 92 |
|
| 93 |
-
|
|
|
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
```
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
---
|
| 101 |
|
| 102 |
-
##
|
| 103 |
|
| 104 |
-
-
|
| 105 |
-
- Audit of “what is already public” for a region
|
| 106 |
-
- Feature tables for the companion open-tier models
|
| 107 |
-
- Grant / SAM.gov narrative support for a responsible open-data posture
|
| 108 |
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
-
-
|
| 112 |
-
- Sole life-safety alerting
|
| 113 |
-
- Treating the banner as DEFCON or FPCON
|
| 114 |
-
- Replacing NWS, USGS, NASA EONET, or CISA official products
|
| 115 |
|
| 116 |
---
|
| 117 |
|
| 118 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
|
| 120 |
-
|
| 121 |
-
2. Pipeline: open-tier ingest → US open-status → charts → daily exec summary.
|
| 122 |
-
3. [huggingface-daily.yml](https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir/blob/main/.github/workflows/huggingface-daily.yml) copies JSON / CSV / Markdown here at **19:30 UTC**.
|
| 123 |
-
4. Model retrain follows at **20:00 UTC**.
|
| 124 |
|
| 125 |
---
|
| 126 |
|
| 127 |
-
##
|
| 128 |
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
|
| 134 |
---
|
| 135 |
|
| 136 |
-
##
|
| 137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
```
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
```
|
| 146 |
|
| 147 |
---
|
| 148 |
|
| 149 |
-
##
|
| 150 |
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
|
| 160 |
-
|
|
| 161 |
-
|
|
| 162 |
-
|
|
| 163 |
-
|
|
| 164 |
-
|
| 165 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Aerostratospheric Defense GIR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
**A plain-language guide to our open Geospatial Information Repository**
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
[](.github/workflows/daily-gir.yml)
|
| 6 |
+
[](LICENSE)
|
| 7 |
+
[](docs/DATA_POLICY.md)
|
| 8 |
+
[](https://midwestsds.com/)
|
| 9 |
+
[](docs/charts/)
|
| 10 |
+
[](reports/latest.md)
|
| 11 |
+
[](CONTRIBUTING.md)
|
| 12 |
+
|
| 13 |
+
> **In one sentence:** We automatically collect free, public map and hazard information, organize it, and save dated copies here — without secret military data.
|
| 14 |
|
| 15 |
+
**Live web page:** [Defense GIR on midwestsds.com](https://midwestsds.com/aerostratospheric-defense-gir.html) · **Charts:** [docs/charts/](docs/charts/) · **Status JSON:** [data/status/](data/status/) · **Latest report:** [reports/latest.md](reports/latest.md) · **Data packages:** [docs/DATA_PACKAGES.md](docs/DATA_PACKAGES.md)
|
| 16 |
|
| 17 |
+
---
|
|
|
|
| 18 |
|
| 19 |
+
## What is this, in plain English?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
Imagine you need a **shared notebook of public facts about the world**—storms that were already warned about, earthquakes that already happened, free satellite “library cards,” public cyber patch lists, and open research balloon flight summaries. You do **not** want secrets. You want something you can audit, re-run, and explain to a non-specialist.
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
That notebook is this repository.
|
| 24 |
+
|
| 25 |
+
**GIR** means **Geospatial Information Repository**: place-based information stored in an organized library. Software here downloads free public feeds on a schedule, checks whether the download worked, keeps a short history in git, draws simple charts, publishes a **US open-status** summary for the website banner, and writes a **daily executive summary**. Partner or restricted sensor products from Aerostratospheric platforms (when fielded) stay **out** of this public tree on purpose.
|
| 26 |
+
|
| 27 |
+
Think of it as the **weather-and-world briefing binder** that sits beside more sensitive tools—not the classified mission folder, not a weapons system, and not a substitute for official emergency alerts on your phone.
|
| 28 |
+
|
| 29 |
+
| Word | Everyday meaning |
|
| 30 |
+
|------|------------------|
|
| 31 |
+
| **Geospatial** | Facts tied to a place on Earth |
|
| 32 |
+
| **Information** | Measurements and events (quakes, alerts, satellite catalogs, public cyber lists, flight log summaries, …) |
|
| 33 |
+
| **Repository** | An organized digital filing cabinet with history |
|
| 34 |
|
| 35 |
---
|
| 36 |
|
| 37 |
+
## Daily data packages
|
| 38 |
|
| 39 |
+
Every successful automation run produces a coherent open-tier package:
|
| 40 |
+
|
| 41 |
+
| Area | Location |
|
| 42 |
+
|------|----------|
|
| 43 |
+
| Manifest (ok/total per source) | `data/manifests/manifest_latest.json` |
|
| 44 |
+
| UOGW anomalies | `data/anomalies/` |
|
| 45 |
+
| Hazards (EONET, USGS, NWS, DONKI) | `data/events/` |
|
| 46 |
+
| Sentinel-2 STAC index | `data/imagery_index/` |
|
| 47 |
+
| Defense-open samples (CISA KEV, OpenSky, OurAirports, …) | `data/defense_open/` |
|
| 48 |
+
| US open-status banner | `data/status/` |
|
| 49 |
+
| Charts (SVG + Mermaid) | `docs/charts/`, `docs/GRAPHS.md` |
|
| 50 |
+
| Executive summary | `reports/daily/`, `reports/latest.md` |
|
| 51 |
+
|
| 52 |
+
Full map: **[docs/DATA_PACKAGES.md](docs/DATA_PACKAGES.md)** · Feature catalog: **[docs/FEATURES.md](docs/FEATURES.md)**
|
|
|
|
| 53 |
|
| 54 |
---
|
| 55 |
|
| 56 |
+
## How it is used (sample use cases)
|
| 57 |
|
| 58 |
+
These examples are **open-tier** only. They describe realistic ways people and programs use this kind of public data—not targeting, not classified operations.
|
|
|
|
|
|
|
| 59 |
|
| 60 |
+
### 1. Morning open briefing for a small research team
|
| 61 |
+
A Midwest balloon or environmental team opens the [GIR web page](https://midwestsds.com/aerostratospheric-defense-gir.html), checks the **US open status** strip (GREEN/YELLOW/…), skims the [latest exec report](reports/latest.md), and notes whether any **public research flight** is marked active in the flight log.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
### 2. “What can an uncleared partner already see?”
|
| 64 |
+
Before a partner discussion, staff review the **Sentinel-2 index** and public hazard layers. That answers a simple question in lay terms: *which free satellite scenes and public alerts already exist for this region?*
|
| 65 |
+
|
| 66 |
+
### 3. Classroom or STEM outreach
|
| 67 |
+
A teacher uses the earthquake magnitude chart and EONET categories to show how open science feeds work. Students learn that “defense-adjacent” public data can mean **weather, disasters, and transparency lists**—not secret bases.
|
| 68 |
|
| 69 |
+
### 4. Cyber hygiene desk check
|
| 70 |
+
An IT lead glances at the **CISA KEV** sample in `data/defense_open/`. It is a public “patch these known-exploited holes first” catalog.
|
| 71 |
|
| 72 |
+
### 5. Flight log continuity for public launches
|
| 73 |
+
When Aerostratospheric publishes a **public** balloon event summary, it is appended to `data/flight_logs/`.
|
| 74 |
+
|
| 75 |
+
### 6. Automation and reproducibility
|
| 76 |
+
```bash
|
| 77 |
+
python3 scripts/ingest_open_tier.py
|
| 78 |
+
python3 scripts/compute_us_open_status.py
|
| 79 |
+
python3 scripts/generate_gir_charts.py
|
| 80 |
+
python3 scripts/generate_daily_exec_summary.py
|
| 81 |
+
# or:
|
| 82 |
+
bash scripts/daily_gir_automation.sh
|
| 83 |
```
|
| 84 |
|
| 85 |
+
### 7. Grant / SAM.gov narrative support
|
| 86 |
+
Open GIR materials illustrate a responsible open-data posture: public inputs, clear tiers, disclaimers, and no claim to replace NWS, USGS, or military command systems.
|
| 87 |
+
|
| 88 |
+
**Non-use cases (on purpose):** sole life-safety alerting, classified basing lists, targeting folders, or kinetic system control.
|
| 89 |
+
|
| 90 |
---
|
| 91 |
|
| 92 |
+
## Executive reports
|
| 93 |
|
| 94 |
+
Open-tier **daily executive summaries** are generated automatically by the same GitHub Actions pipeline.
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
+
| Resource | Link |
|
| 97 |
+
|----------|------|
|
| 98 |
+
| **Latest summary** | [reports/latest.md](reports/latest.md) |
|
| 99 |
+
| **Daily archive** | [reports/daily/](reports/daily/) |
|
| 100 |
|
| 101 |
+
Weekly roll-ups can be added to the same pipeline later if needed.
|
|
|
|
|
|
|
|
|
|
| 102 |
|
| 103 |
---
|
| 104 |
|
| 105 |
+
## Live visual charts
|
| 106 |
+
|
| 107 |
+
```bash
|
| 108 |
+
python3 scripts/generate_gir_charts.py
|
| 109 |
+
```
|
| 110 |
|
| 111 |
+
See **[docs/charts/](docs/charts/)** for the full category gallery.
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
---
|
| 114 |
|
| 115 |
+
## Access tiers
|
| 116 |
|
| 117 |
+
```mermaid
|
| 118 |
+
flowchart TB
|
| 119 |
+
O["Open — this public repo"] --> P["Partner — agreement"] --> R["Restricted — authorized only"]
|
| 120 |
+
```
|
| 121 |
|
| 122 |
---
|
| 123 |
|
| 124 |
+
## Related open ecosystem
|
| 125 |
|
| 126 |
+
| Repository | Role |
|
| 127 |
+
|------------|------|
|
| 128 |
+
| [Unified-Open-Global-Weather](https://github.com/Midwest-Stratospheric/Unified-Open-Global-Weather) | Multi-layer atmospheric commons + anomaly report |
|
| 129 |
+
| [msds-data](https://github.com/Midwest-Stratospheric/msds-data) | Casey ground weather + planned HAB flight packages |
|
| 130 |
+
| [International-Ground-Data-Repository](https://github.com/Midwest-Stratospheric/International-Ground-Data-Repository) | IGRA / international ground indexes |
|
| 131 |
+
| [x2griffon](https://github.com/Midwest-Stratospheric/x2griffon) | Payload platform documentation |
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
## What’s inside (short tour)
|
| 136 |
+
|
| 137 |
+
| Area | Plain meaning |
|
| 138 |
+
|------|----------------|
|
| 139 |
+
| **Satellite / EO** | Library-card indexes for free imagery (Sentinel, …) |
|
| 140 |
+
| **Military-marked (public)** | Keyword heuristics on public airport names — **not** official basing |
|
| 141 |
+
| **Alerts & hazards** | USGS, NWS, EONET, UOGW, DONKI |
|
| 142 |
+
| **Cyber & spending** | CISA KEV + USAspending samples |
|
| 143 |
+
| **Flight logs** | Public research balloon / test summaries |
|
| 144 |
+
| **US open status** | Banner levels from public feeds only — **not** DEFCON |
|
| 145 |
+
| **Executive reports** | Daily open-tier briefing summaries |
|
| 146 |
+
|
| 147 |
+
---
|
| 148 |
+
|
| 149 |
+
## Automation
|
| 150 |
+
|
| 151 |
+
```bash
|
| 152 |
+
bash scripts/daily_gir_automation.sh
|
| 153 |
```
|
| 154 |
+
|
| 155 |
+
Schedule: **06:00** and **18:00 UTC** (plus manual Actions dispatch).
|
| 156 |
+
|
| 157 |
+
Pipeline: open-tier ingest → US open-status → charts → daily executive summary → git commit.
|
| 158 |
+
|
| 159 |
+
Details: [docs/DAILY_AUTOMATION.md](docs/DAILY_AUTOMATION.md)
|
|
|
|
| 160 |
|
| 161 |
---
|
| 162 |
|
| 163 |
+
## Repository hygiene
|
| 164 |
|
| 165 |
+
| Doc | Purpose |
|
| 166 |
+
|-----|---------|
|
| 167 |
+
| [CONTRIBUTING.md](CONTRIBUTING.md) | How to propose changes (open-tier only) |
|
| 168 |
+
| [SECURITY.md](SECURITY.md) | How to report vulnerabilities |
|
| 169 |
+
| [CITATION.cff](CITATION.cff) | Formal citation |
|
| 170 |
+
| [docs/DATA_POLICY.md](docs/DATA_POLICY.md) | What may / may not enter the tree |
|
| 171 |
+
| [docs/DATA_PACKAGES.md](docs/DATA_PACKAGES.md) | Package map for data consumers |
|
| 172 |
+
| [docs/FEATURES.md](docs/FEATURES.md) | Full feature catalog |
|
| 173 |
|
| 174 |
+
---
|
| 175 |
+
|
| 176 |
+
## Links
|
| 177 |
+
|
| 178 |
+
| Resource | URL |
|
| 179 |
+
|----------|-----|
|
| 180 |
+
| Defense GIR page | https://midwestsds.com/aerostratospheric-defense-gir.html |
|
| 181 |
+
| Defense Systems | https://midwestsds.com/aerostratospheric-defense-systems.html |
|
| 182 |
+
| Latest exec report | [reports/latest.md](reports/latest.md) |
|
| 183 |
+
| Daily report archive | [reports/daily/](reports/daily/) |
|
| 184 |
+
| Data packages guide | [docs/DATA_PACKAGES.md](docs/DATA_PACKAGES.md) |
|
| 185 |
+
| Contact | https://midwestsds.com/contact/index.php?a=add |
|
| 186 |
+
|
| 187 |
+
Aerostratospheric is a **registered SAM.gov entity**. Passive sensing · intelligence support · communications — **no kinetic weapons**. Open-tier data is not an official warning service alone.
|
config/aoi_regions.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": 1,
|
| 3 |
+
"default_crs": "EPSG:4326",
|
| 4 |
+
"regions": [
|
| 5 |
+
{"id": "conus", "name": "Contiguous United States", "bbox": [-124.85, 24.39, -66.88, 49.38], "priority": 1, "use": ["hazards", "imagery", "alerts"]},
|
| 6 |
+
{"id": "midwest_il", "name": "Illinois / Midwest ops focus", "bbox": [-91.5, 36.9, -87.0, 42.5], "priority": 1, "use": ["hazards", "imagery", "ops"]},
|
| 7 |
+
{"id": "global_sample", "name": "Global sample band", "bbox": [-180, -40, 180, 60], "priority": 2, "use": ["imagery", "reference"]},
|
| 8 |
+
{"id": "north_atlantic", "name": "North Atlantic corridor", "bbox": [-80, 20, -10, 60], "priority": 2, "use": ["hazards", "maritime"]}
|
| 9 |
+
]
|
| 10 |
+
}
|
docs/CHARTS.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR graphs — git markup only
|
| 2 |
+
|
| 3 |
+
Graphs live as **Mermaid + Markdown tables** in [`docs/GRAPHS.md`](GRAPHS.md).
|
| 4 |
+
|
| 5 |
+
No PNG/JPG chart binaries are stored in this repository (avoids failed image renders and large binary commits).
|
| 6 |
+
|
| 7 |
+
## Regenerate from open data
|
| 8 |
+
|
| 9 |
+
```bash
|
| 10 |
+
python3 scripts/generate_gir_charts.py
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
That script reads `data/**` and rewrites `docs/GRAPHS.md`.
|
| 14 |
+
|
| 15 |
+
## Daily automation
|
| 16 |
+
|
| 17 |
+
`scripts/daily_gir_automation.sh` runs the generator after ingest so graph markup stays in sync with open-tier feeds.
|
| 18 |
+
|
| 19 |
+
## View
|
| 20 |
+
|
| 21 |
+
GitHub renders Mermaid in Markdown automatically when you open `docs/GRAPHS.md`.
|
docs/DAILY_AUTOMATION.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR Daily Git Automation (comprehensive)
|
| 2 |
+
|
| 3 |
+
## Schedule
|
| 4 |
+
|
| 5 |
+
| Channel | When |
|
| 6 |
+
|---------|------|
|
| 7 |
+
| GitHub Actions | **06:00 UTC** and **18:00 UTC** daily + manual dispatch |
|
| 8 |
+
| Local cron (optional) | `0 6 * * *` via `scripts/install_cron.sh` |
|
| 9 |
+
|
| 10 |
+
## What runs every time
|
| 11 |
+
|
| 12 |
+
`scripts/daily_gir_automation.sh` executes this sequence:
|
| 13 |
+
|
| 14 |
+
1. **Open-tier ingest** (`scripts/ingest_open_tier.py`)
|
| 15 |
+
2. **US open-status banner** (`scripts/compute_us_open_status.py`)
|
| 16 |
+
3. **Mermaid / SVG charts** (`scripts/generate_gir_charts.py`)
|
| 17 |
+
4. **Daily executive summary** (`scripts/generate_daily_exec_summary.py`)
|
| 18 |
+
5. **Git commit** of all refreshed data + reports
|
| 19 |
+
6. **Email** the summary via Hostinger SMTP (if secrets are set)
|
| 20 |
+
|
| 21 |
+
## Data outputs
|
| 22 |
+
|
| 23 |
+
| Source | Output |
|
| 24 |
+
|--------|--------|
|
| 25 |
+
| UOGW anomalies | `data/anomalies/uogw_anomalies_latest.json` |
|
| 26 |
+
| NASA EONET events | `data/events/eonet_open_latest.json` + `.geojson` |
|
| 27 |
+
| USGS earthquakes (M2.5+ day) | `data/events/usgs_quakes_2.5_day_latest.geojson` |
|
| 28 |
+
| NWS active alerts (US) | `data/events/nws_active_alerts_latest.geojson` |
|
| 29 |
+
| Sentinel-2 STAC (Casey region) | `data/imagery_index/sentinel2_*.json` |
|
| 30 |
+
| NASA DONKI CME (7-day) | `data/events/donki_cme_latest.json` |
|
| 31 |
+
| CISA KEV, OpenSky, OurAirports, etc. | `data/defense_open/` |
|
| 32 |
+
| Run manifest | `data/manifests/manifest_latest.json` |
|
| 33 |
+
| US open-status | `data/status/us_open_conditions_latest.json` |
|
| 34 |
+
|
| 35 |
+
All sources are **public open-tier** only.
|
| 36 |
+
|
| 37 |
+
## Executive reports
|
| 38 |
+
|
| 39 |
+
Daily open-tier executive summaries are written automatically:
|
| 40 |
+
|
| 41 |
+
| Resource | Link |
|
| 42 |
+
|----------|------|
|
| 43 |
+
| **Latest summary** | [reports/latest.md](../reports/latest.md) |
|
| 44 |
+
| **Daily archive** | [reports/daily/](../reports/daily/) |
|
| 45 |
+
|
| 46 |
+
Each file is named `YYYY-MM-DD-gir-exec.md`.
|
| 47 |
+
|
| 48 |
+
## Daily email (Hostinger SMTP)
|
| 49 |
+
|
| 50 |
+
After each successful run, the workflow can email the executive summary.
|
| 51 |
+
|
| 52 |
+
| Setting | Value |
|
| 53 |
+
|---------|--------|
|
| 54 |
+
| From / To | `launchcontrol@midwestsds.com` |
|
| 55 |
+
| SMTP host | `smtp.hostinger.com` |
|
| 56 |
+
| SMTP port | `465` (SSL) |
|
| 57 |
+
|
| 58 |
+
### Required GitHub Actions secrets
|
| 59 |
+
|
| 60 |
+
Add these under **Settings → Secrets and variables → Actions** (repository or org):
|
| 61 |
+
|
| 62 |
+
| Secret name | Value |
|
| 63 |
+
|-------------|--------|
|
| 64 |
+
| `SMTP_USERNAME` | `launchcontrol@midwestsds.com` |
|
| 65 |
+
| `SMTP_PASSWORD` | Hostinger mailbox password for that address |
|
| 66 |
+
|
| 67 |
+
If `SMTP_PASSWORD` is missing, the email step is skipped (ingest/report still run).
|
| 68 |
+
|
| 69 |
+
Subject line example: `GIR Daily Exec — 2026-08-19`
|
| 70 |
+
Body: full text of the day’s `reports/daily/YYYY-MM-DD-gir-exec.md` plus a GitHub link.
|
| 71 |
+
|
| 72 |
+
## Commands
|
| 73 |
+
|
| 74 |
+
```bash
|
| 75 |
+
bash scripts/daily_gir_automation.sh
|
| 76 |
+
# or step-by-step:
|
| 77 |
+
python3 scripts/ingest_open_tier.py
|
| 78 |
+
python3 scripts/compute_us_open_status.py
|
| 79 |
+
python3 scripts/generate_gir_charts.py
|
| 80 |
+
python3 scripts/generate_daily_exec_summary.py
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
## GitHub
|
| 84 |
+
|
| 85 |
+
Repo: https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir
|
| 86 |
+
|
| 87 |
+
Actions → **Daily GIR open-tier ingest** → **Run workflow** for an immediate refresh (and test email once secrets are set).
|
docs/DATA_PACKAGES.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR Open-Tier Data Packages
|
| 2 |
+
|
| 3 |
+
This document describes the **daily data packages** produced by the Aerostratospheric Defense GIR automation. Everything here is public open-tier only.
|
| 4 |
+
|
| 5 |
+
## Daily package contents
|
| 6 |
+
|
| 7 |
+
Each successful run of `scripts/daily_gir_automation.sh` refreshes and commits:
|
| 8 |
+
|
| 9 |
+
| Package area | Path(s) | Description |
|
| 10 |
+
|--------------|---------|-------------|
|
| 11 |
+
| **Manifest** | `data/manifests/manifest_latest.json` | Per-source ok/fail, counts, timestamp |
|
| 12 |
+
| **Anomalies** | `data/anomalies/uogw_anomalies_latest.json` | UOGW research anomaly report (alert/watch/info) |
|
| 13 |
+
| **Events** | `data/events/` | EONET, USGS M2.5+ day, NWS active alerts, DONKI CME |
|
| 14 |
+
| **Imagery index** | `data/imagery_index/` | Sentinel-2 STAC search + index (Casey AOI) |
|
| 15 |
+
| **Defense-open** | `data/defense_open/` | CISA KEV, OurAirports military-keyword sample, OpenSky Midwest snapshot, OSM military landuse (IL), USASpending sample, GDELT lastupdate, FIRMS status |
|
| 16 |
+
| **US open status** | `data/status/us_open_conditions_latest.json` | GREEN/YELLOW/… banner from public factors only |
|
| 17 |
+
| **Charts** | `docs/charts/`, `docs/GRAPHS.md` | SVG + Mermaid summaries |
|
| 18 |
+
| **Executive report** | `reports/daily/YYYY-MM-DD-gir-exec.md`, `reports/latest.md` | Concise quality + observations + actions |
|
| 19 |
+
|
| 20 |
+
## How to consume
|
| 21 |
+
|
| 22 |
+
- **Latest everything:** clone or sparse-checkout `main`, or fetch individual raw files via `https://raw.githubusercontent.com/Midwest-Stratospheric/aerostratospheric-defense-gir/main/...`
|
| 23 |
+
- **Machine status:** `data/status/us_open_conditions_latest.json` and `data/manifests/manifest_latest.json`
|
| 24 |
+
- **Human briefing:** [reports/latest.md](../reports/latest.md)
|
| 25 |
+
- **Rebuild locally:** `bash scripts/daily_gir_automation.sh`
|
| 26 |
+
|
| 27 |
+
## Related ecosystem packages
|
| 28 |
+
|
| 29 |
+
| Repository | Role |
|
| 30 |
+
|------------|------|
|
| 31 |
+
| [Unified-Open-Global-Weather](https://github.com/Midwest-Stratospheric/Unified-Open-Global-Weather) | Multi-layer atmospheric commons; source of UOGW anomaly report |
|
| 32 |
+
| [msds-data](https://github.com/Midwest-Stratospheric/msds-data) | First-party ground weather + planned HAB flight packages |
|
| 33 |
+
| [International-Ground-Data-Repository](https://github.com/Midwest-Stratospheric/International-Ground-Data-Repository) | IGRA / international ground indexes |
|
| 34 |
+
|
| 35 |
+
## License & attribution
|
| 36 |
+
|
| 37 |
+
- Repository software: MIT (`LICENSE`)
|
| 38 |
+
- Upstream data: retain each provider’s terms (NWS, USGS, NASA, CISA, OpenSky, OurAirports, OSM ODbL, etc.)
|
| 39 |
+
- Cite this repo via `CITATION.cff` when using the curated package as a whole
|
| 40 |
+
|
| 41 |
+
## What is intentionally excluded
|
| 42 |
+
|
| 43 |
+
Classified, FOUO, partner-restricted, and export-controlled material. Higher tiers belong in separate private repositories under agreement.
|
docs/DATA_POLICY.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR Data Policy
|
| 2 |
+
|
| 3 |
+
## Principles
|
| 4 |
+
|
| 5 |
+
1. Public repository contains **open** data only.
|
| 6 |
+
2. No classified military intelligence in this tree.
|
| 7 |
+
3. No kinetic, targeting, or weapons employment products.
|
| 8 |
+
4. Satellite imagery is **indexed and queried** via open STAC/APIs — full global archives are not duplicated here.
|
| 9 |
+
5. "Military info" in open tier means **publicly published** reference and research sources under their licenses.
|
| 10 |
+
6. Restricted defense detections from Aerodefener / partner sensors stay off the public repository.
|
| 11 |
+
|
| 12 |
+
## Attribution
|
| 13 |
+
|
| 14 |
+
Always attribute ESA Copernicus, USGS, NASA, NOAA, and other providers per their terms when redistributing products derived from their data.
|
docs/FEATURES.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR feature set (v1.6 scientific open tier)
|
| 2 |
+
|
| 3 |
+
## Core quality & science features
|
| 4 |
+
|
| 5 |
+
| # | Feature | Code / artifacts | Output |
|
| 6 |
+
|---|---------|------------------|--------|
|
| 7 |
+
| 1 | **Provenance & integrity** | `scripts/lib/provenance.py` | `*.prov.json` sidecars |
|
| 8 |
+
| 2 | **Schema validation** | `scripts/lib/validate.py` | Quality report |
|
| 9 |
+
| 3 | **Temporal version index** | `data/temporal/` | Run history |
|
| 10 |
+
| 4 | **AOI spatial filters** | `scripts/lib/aoi.py` | Per-region subsets |
|
| 11 |
+
| 5 | **Statistical baselines** | `scripts/lib/baseline.py` | Rolling z-flags |
|
| 12 |
+
| 6 | **Multi-source fusion** | `scripts/lib/fusion.py` | Clusters |
|
| 13 |
+
| 7 | **STAC export** | `scripts/lib/stac_export.py` | STAC items |
|
| 14 |
+
| 8 | **Freshness SLA** | `scripts/lib/freshness.py` | Stale source list |
|
| 15 |
+
| 9 | **Research citation** | `CITATION.cff` | Citable artifact |
|
| 16 |
+
| 10 | **Scientific methodology** | `docs/methodology/` | Methods notes |
|
| 17 |
+
|
| 18 |
+
## New scientific suite (v1.6)
|
| 19 |
+
|
| 20 |
+
| # | Feature | Script | Output |
|
| 21 |
+
|---|---------|--------|--------|
|
| 22 |
+
| 17 | **Quality scorecard** | `generate_scientific_features.py` | `data/quality/scientific_scorecard_latest.json` — grade A–F from completeness × freshness × integrity |
|
| 23 |
+
| 18 | **Change detection** | same | `data/quality/change_detection_latest.json` — status flips + count deltas vs prior run |
|
| 24 |
+
| 19 | **Coverage report** | same | `data/quality/coverage_report_latest.json` — hazards / EO / defense-open layer inventory |
|
| 25 |
+
| 20 | **FAIR package card** | same | `data/quality/fair_package_card_latest.json` + `reports/scientific/` digest |
|
| 26 |
+
|
| 27 |
+
## Daily automation & products
|
| 28 |
+
|
| 29 |
+
| # | Feature | Output |
|
| 30 |
+
|---|---------|--------|
|
| 31 |
+
| 11–16 | Ingest, US status, charts, exec summary, Actions, auto-rerun | See `docs/DAILY_AUTOMATION.md` |
|
| 32 |
+
|
| 33 |
+
## Run
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
bash scripts/daily_gir_automation.sh
|
| 37 |
+
# or:
|
| 38 |
+
python3 scripts/generate_scientific_features.py
|
| 39 |
+
```
|
docs/FEATURE_EXAMPLES.md
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR feature code examples
|
| 2 |
+
|
| 3 |
+
Runnable examples for each of the ten open-tier scientific features.
|
| 4 |
+
Run from the repository root with `PYTHONPATH=.` if needed.
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
## Feature 1 — Provenance & integrity
|
| 9 |
+
|
| 10 |
+
```python
|
| 11 |
+
from pathlib import Path
|
| 12 |
+
from scripts.lib.provenance import make_provenance, write_sidecar, sha256_file
|
| 13 |
+
|
| 14 |
+
path = Path("data/events/usgs_quakes_2.5_day_latest.geojson")
|
| 15 |
+
raw = path.read_bytes()
|
| 16 |
+
|
| 17 |
+
prov = make_provenance(
|
| 18 |
+
record_id=path.name,
|
| 19 |
+
source_id="usgs_earthquakes",
|
| 20 |
+
source_url="https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.geojson",
|
| 21 |
+
content=raw,
|
| 22 |
+
license="USGS public domain",
|
| 23 |
+
attribution="U.S. Geological Survey",
|
| 24 |
+
tier="open",
|
| 25 |
+
transform={"parser": "geojson", "schema_version": "v1"},
|
| 26 |
+
)
|
| 27 |
+
side = write_sidecar(path, prov)
|
| 28 |
+
print("sidecar:", side)
|
| 29 |
+
print("sha256:", prov["content_sha256"])
|
| 30 |
+
assert sha256_file(path) == prov["content_sha256"]
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## Feature 2 — Schema validation & completeness
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
import json
|
| 39 |
+
from pathlib import Path
|
| 40 |
+
from scripts.lib.validate import validate_manifest_v2, completeness_score, validate_geojson_minimal
|
| 41 |
+
|
| 42 |
+
manifest = json.loads(Path("data/manifests/manifest_latest.json").read_text())
|
| 43 |
+
ok, errors = validate_manifest_v2(manifest)
|
| 44 |
+
score = completeness_score(manifest)
|
| 45 |
+
print("schema_valid:", ok, "completeness:", score, "errors:", errors)
|
| 46 |
+
|
| 47 |
+
quakes = json.loads(Path("data/events/usgs_quakes_2.5_day_latest.geojson").read_text())
|
| 48 |
+
gok, gerr = validate_geojson_minimal(quakes)
|
| 49 |
+
print("geojson_valid:", gok, gerr)
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Feature 3 — Temporal version index
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
import json
|
| 58 |
+
from datetime import datetime, timezone
|
| 59 |
+
from pathlib import Path
|
| 60 |
+
from scripts.lib.provenance import sha256_file
|
| 61 |
+
|
| 62 |
+
TEMPORAL = Path("data/temporal")
|
| 63 |
+
TEMPORAL.mkdir(parents=True, exist_ok=True)
|
| 64 |
+
index = TEMPORAL / "run_index.jsonl"
|
| 65 |
+
|
| 66 |
+
entry = {
|
| 67 |
+
"ts": datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ"),
|
| 68 |
+
"completeness_score": 1.0,
|
| 69 |
+
"note": "manual example run",
|
| 70 |
+
"manifest_sha256": sha256_file(Path("data/manifests/manifest_latest.json"))
|
| 71 |
+
if Path("data/manifests/manifest_latest.json").exists() else None,
|
| 72 |
+
}
|
| 73 |
+
with index.open("a", encoding="utf-8") as f:
|
| 74 |
+
f.write(json.dumps(entry) + "\n")
|
| 75 |
+
|
| 76 |
+
for line in index.read_text(encoding="utf-8").strip().splitlines()[-5:]:
|
| 77 |
+
print(json.loads(line))
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## Feature 4 — AOI spatial filters
|
| 83 |
+
|
| 84 |
+
```python
|
| 85 |
+
import json
|
| 86 |
+
from pathlib import Path
|
| 87 |
+
from scripts.lib.aoi import load_regions, filter_features_by_bbox, point_in_bbox
|
| 88 |
+
|
| 89 |
+
regions = load_regions(Path("config/aoi_regions.json"))
|
| 90 |
+
midwest = next(r for r in regions if r["id"] == "midwest_il")
|
| 91 |
+
bbox = midwest["bbox"]
|
| 92 |
+
|
| 93 |
+
print("Chicago in midwest AOI?", point_in_bbox(-87.63, 41.88, bbox))
|
| 94 |
+
|
| 95 |
+
quakes = json.loads(Path("data/events/usgs_quakes_2.5_day_latest.geojson").read_text())
|
| 96 |
+
subset = filter_features_by_bbox(quakes.get("features") or [], bbox)
|
| 97 |
+
print(f"quakes in {midwest['name']}:", len(subset))
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
## Feature 5 — Statistical baselines (rolling z-score)
|
| 103 |
+
|
| 104 |
+
```python
|
| 105 |
+
from pathlib import Path
|
| 106 |
+
from scripts.lib.baseline import update_baseline_store, mean_std, z_score
|
| 107 |
+
|
| 108 |
+
result = update_baseline_store(
|
| 109 |
+
Path("data/quality/baseline_store.json"),
|
| 110 |
+
series_id="usgs_m25_count_1d",
|
| 111 |
+
value=39.0,
|
| 112 |
+
window=30,
|
| 113 |
+
)
|
| 114 |
+
print(result) # includes mu, sigma, z, flag (|z| >= 2)
|
| 115 |
+
|
| 116 |
+
mu, sigma = mean_std([10, 12, 11, 40])
|
| 117 |
+
print("z of 40:", z_score(40, mu, sigma))
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
---
|
| 121 |
+
|
| 122 |
+
## Feature 6 — Multi-source fusion
|
| 123 |
+
|
| 124 |
+
```python
|
| 125 |
+
from scripts.lib.fusion import fuse_events, haversine_km
|
| 126 |
+
|
| 127 |
+
print("km:", round(haversine_km(38.0, -88.0, 38.1, -88.1), 2))
|
| 128 |
+
|
| 129 |
+
events = [
|
| 130 |
+
{"id": "a1", "source": "usgs", "lat": 37.6, "lon": -88.2,
|
| 131 |
+
"time_utc": "2026-08-11T12:00:00Z", "label": "quake A"},
|
| 132 |
+
{"id": "b1", "source": "eonet", "lat": 37.65, "lon": -88.18,
|
| 133 |
+
"time_utc": "2026-08-11T13:30:00Z", "label": "event B"},
|
| 134 |
+
{"id": "c1", "source": "usgs", "lat": 10.0, "lon": 20.0,
|
| 135 |
+
"time_utc": "2026-08-11T12:00:00Z", "label": "far away"},
|
| 136 |
+
]
|
| 137 |
+
for c in fuse_events(events, distance_km=50.0, time_hours=24.0):
|
| 138 |
+
print(c["cluster_id"], c["sources"], c["corroboration_score"])
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
---
|
| 142 |
+
|
| 143 |
+
## Feature 7 — STAC export
|
| 144 |
+
|
| 145 |
+
```python
|
| 146 |
+
import json
|
| 147 |
+
from pathlib import Path
|
| 148 |
+
from scripts.lib.stac_export import stac_collection, stac_item_from_index_row
|
| 149 |
+
|
| 150 |
+
coll = stac_collection()
|
| 151 |
+
index = json.loads(Path("data/imagery_index/sentinel2_index_latest.json").read_text())
|
| 152 |
+
items = [stac_item_from_index_row(row, coll["id"]) for row in (index.get("items") or [])[:5]]
|
| 153 |
+
print(coll["id"], "items:", len(items))
|
| 154 |
+
```
|
| 155 |
+
|
| 156 |
+
---
|
| 157 |
+
|
| 158 |
+
## Feature 8 — Freshness SLA
|
| 159 |
+
|
| 160 |
+
```python
|
| 161 |
+
from scripts.lib.freshness import evaluate_freshness, DEFAULT_SLA_HOURS
|
| 162 |
+
|
| 163 |
+
results = [
|
| 164 |
+
{"source": "usgs_quakes", "ok": True, "fetched_at_utc": "2026-08-11T08:00:00Z"},
|
| 165 |
+
{"source": "nws_alerts", "ok": True, "fetched_at_utc": "2026-08-01T00:00:00Z"},
|
| 166 |
+
]
|
| 167 |
+
report = evaluate_freshness(results)
|
| 168 |
+
print("sla_met:", report["sla_met"], "stale:", report["sources_stale"])
|
| 169 |
+
```
|
| 170 |
+
|
| 171 |
+
---
|
| 172 |
+
|
| 173 |
+
## Feature 9 — Research citation package
|
| 174 |
+
|
| 175 |
+
```python
|
| 176 |
+
from pathlib import Path
|
| 177 |
+
cff = Path("CITATION.cff").read_text(encoding="utf-8")
|
| 178 |
+
assert "cff-version:" in cff
|
| 179 |
+
print("CITATION.cff lines:", len(cff.splitlines()))
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
APA-style: Aerostratospheric / Midwest Stratospheric Data Systems. (2026). *Aerostratospheric Defense GIR* (Version 1.4.0) [Computer software]. https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir
|
| 183 |
+
|
| 184 |
+
---
|
| 185 |
+
|
| 186 |
+
## Feature 10 — Scientific methodology & uncertainty
|
| 187 |
+
|
| 188 |
+
```python
|
| 189 |
+
from pathlib import Path
|
| 190 |
+
for rel in ("docs/methodology/SCIENTIFIC_METHOD.md", "docs/methodology/UNCERTAINTY.md"):
|
| 191 |
+
p = Path(rel)
|
| 192 |
+
print(p, "OK" if p.exists() else "MISSING")
|
| 193 |
+
```
|
| 194 |
+
|
| 195 |
+
---
|
| 196 |
+
|
| 197 |
+
## Full suite
|
| 198 |
+
|
| 199 |
+
```bash
|
| 200 |
+
python3 scripts/ingest_open_tier.py
|
| 201 |
+
python3 scripts/gir_quality_suite.py
|
| 202 |
+
python3 scripts/generate_gir_charts.py
|
| 203 |
+
```
|
docs/GRAPHS.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR graphs (git markup)
|
| 2 |
+
|
| 3 |
+
_Generated 2026-09-16 10:58 UTC from open-tier data. Mermaid only — no image binaries._
|
| 4 |
+
|
| 5 |
+
Regenerate:
|
| 6 |
+
|
| 7 |
+
```bash
|
| 8 |
+
python3 scripts/generate_gir_charts.py
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
## Data flow
|
| 12 |
+
|
| 13 |
+
```mermaid
|
| 14 |
+
flowchart LR
|
| 15 |
+
A["Public feeds"] --> B["Ingest scripts"]
|
| 16 |
+
C["Open defense sources"] --> B
|
| 17 |
+
B --> D["data folders"]
|
| 18 |
+
D --> E["manifest"]
|
| 19 |
+
E --> F["git commit"]
|
| 20 |
+
D --> G["Defense GIR page / maps"]
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
## Access tiers
|
| 24 |
+
|
| 25 |
+
```mermaid
|
| 26 |
+
flowchart TB
|
| 27 |
+
O["Open tier — this public repo"]
|
| 28 |
+
P["Partner tier — agreements"]
|
| 29 |
+
R["Restricted — authorized only"]
|
| 30 |
+
O --> P --> R
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## Daily ingest status
|
| 34 |
+
|
| 35 |
+
**Last run:** `2026-09-16T10:58:11.518762+00:00` · **14/15 sources OK**
|
| 36 |
+
|
| 37 |
+
```mermaid
|
| 38 |
+
pie showData
|
| 39 |
+
title Ingest sources OK vs failed (14/15)
|
| 40 |
+
"OK" : 14
|
| 41 |
+
"Failed or skipped" : 1
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
| Source | Status |
|
| 45 |
+
|--------|--------|
|
| 46 |
+
| `uogw_anomalies` | OK |
|
| 47 |
+
| `eonet_events` | OK |
|
| 48 |
+
| `eonet_geojson` | OK |
|
| 49 |
+
| `usgs_quakes` | OK |
|
| 50 |
+
| `nws_alerts` | OK |
|
| 51 |
+
| `sentinel2_stac` | OK |
|
| 52 |
+
| `donki_cme` | OK |
|
| 53 |
+
| `cisa_kev` | OK |
|
| 54 |
+
| `ourairports_military_keywords` | OK |
|
| 55 |
+
| `usaspending_defense` | OK |
|
| 56 |
+
| `gdelt_lastupdate` | OK |
|
| 57 |
+
| `opensky_midwest` | OK |
|
| 58 |
+
| `osm_military_landuse` | FAIL |
|
| 59 |
+
| `firms` | OK |
|
| 60 |
+
| `partner_stubs` | OK |
|
| 61 |
+
|
| 62 |
+
## UOGW anomaly severity
|
| 63 |
+
|
| 64 |
+
Public anomaly flags (research-style). Not official emergency alerts.
|
| 65 |
+
|
| 66 |
+
```mermaid
|
| 67 |
+
pie showData
|
| 68 |
+
title UOGW counts by severity
|
| 69 |
+
"alert" : 0
|
| 70 |
+
"watch" : 2
|
| 71 |
+
"info" : 0
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
| alert | watch | info |
|
| 75 |
+
|-------|-------|------|
|
| 76 |
+
| 0 | 2 | 0 |
|
| 77 |
+
|
| 78 |
+
## USGS earthquakes (M2.5+, past day)
|
| 79 |
+
|
| 80 |
+
**Events:** 35
|
| 81 |
+
|
| 82 |
+
```mermaid
|
| 83 |
+
xychart-beta
|
| 84 |
+
title "Quake count by magnitude band"
|
| 85 |
+
x-axis ["2.5-3.4", "3.5-4.4", "4.5-5.4", "5.5+"]
|
| 86 |
+
y-axis "Count" 0 --> 14
|
| 87 |
+
bar [14, 7, 14, 0]
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
## Public keyword-flagged airfields by country
|
| 91 |
+
|
| 92 |
+
> Heuristic from public OurAirports — **not** an official basing list.
|
| 93 |
+
|
| 94 |
+
**Records:** 259
|
| 95 |
+
|
| 96 |
+
```mermaid
|
| 97 |
+
xychart-beta
|
| 98 |
+
title "Top countries (keyword heuristic)"
|
| 99 |
+
x-axis ["US", "IN", "RO", "ZA", "RU", "TW", "KR", "CA", "BR", "NL", "AU", "IL"]
|
| 100 |
+
y-axis "Count" 0 --> 130
|
| 101 |
+
bar [130, 40, 8, 5, 4, 4, 4, 3, 3, 3, 3, 3]
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
---
|
| 105 |
+
|
| 106 |
+
Open tier only. See OPEN_DEFENSE_DATA.md and DATA_POLICY.md.
|
docs/HUGGINGFACE.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Hugging Face daily mirror (GIR)
|
| 2 |
+
|
| 3 |
+
Published by **[Aerostratospheric](https://www.midwestsds.com/)**.
|
| 4 |
+
Midwest Stratospheric Data Systems operates as a limited partnership under Aerostratospheric.
|
| 5 |
+
|
| 6 |
+
GIR and UOGW publish to **separate** Hugging Face datasets and model suites under [`aerostratospheric`](https://huggingface.co/aerostratospheric).
|
| 7 |
+
|
| 8 |
+
| Artifact | URL |
|
| 9 |
+
|---------|-----|
|
| 10 |
+
| **GIR dataset** | https://huggingface.co/datasets/aerostratospheric/gir |
|
| 11 |
+
| **GIR models** | https://huggingface.co/aerostratospheric/gir-open-tier-suite |
|
| 12 |
+
| UOGW dataset (sibling) | https://huggingface.co/datasets/aerostratospheric/uogw |
|
| 13 |
+
| UOGW models (sibling) | https://huggingface.co/aerostratospheric/uogw-scientific-suite |
|
| 14 |
+
| Hub card | https://huggingface.co/aerostratospheric/msds-open-models |
|
| 15 |
+
|
| 16 |
+
## Aerostratospheric
|
| 17 |
+
|
| 18 |
+
| Resource | Link |
|
| 19 |
+
|----------|------|
|
| 20 |
+
| Home | https://www.midwestsds.com/ |
|
| 21 |
+
| About | https://midwestsds.com/about.html |
|
| 22 |
+
| xDataHub | https://midwestsds.com/msds-data-hub.html |
|
| 23 |
+
| Defense GIR | https://midwestsds.com/aerostratospheric-defense-gir.html |
|
| 24 |
+
| Contact | https://midwestsds.com/contact/ |
|
| 25 |
+
| GitHub | https://github.com/Midwest-Stratospheric |
|
| 26 |
+
| Hugging Face | https://huggingface.co/aerostratospheric |
|
| 27 |
+
|
| 28 |
+
Casey, Illinois · NASA GLOBE **GO-4VW9B** · Ham **KE9CFY** · launchcontrol@midwestsds.com
|
| 29 |
+
|
| 30 |
+
## Data automation
|
| 31 |
+
|
| 32 |
+
GitHub Action: [`.github/workflows/huggingface-daily.yml`](../.github/workflows/huggingface-daily.yml)
|
| 33 |
+
|
| 34 |
+
- Schedule: **19:30 UTC daily** (after the 18:00 ingest)
|
| 35 |
+
- Manual: Actions → *Daily Hugging Face sync (GIR)* → Run workflow
|
| 36 |
+
- Script: [`scripts/sync_to_huggingface.sh`](../scripts/sync_to_huggingface.sh)
|
| 37 |
+
|
| 38 |
+
Synced paths: `data/`, `catalog/`, `reports/`, `samples/` (JSON/CSV/Markdown only).
|
| 39 |
+
|
| 40 |
+
## Model automation (daily retrain)
|
| 41 |
+
|
| 42 |
+
GitHub Action: [`.github/workflows/huggingface-models-daily.yml`](../.github/workflows/huggingface-models-daily.yml)
|
| 43 |
+
|
| 44 |
+
- Schedule: **20:00 UTC daily**
|
| 45 |
+
- Also runs after a successful *Daily Hugging Face sync (GIR)*
|
| 46 |
+
- Manual: Actions → *Daily Hugging Face model retrain (GIR)* → Run workflow
|
| 47 |
+
- Script: [`scripts/train_hf_models.py`](../scripts/train_hf_models.py)
|
| 48 |
+
|
| 49 |
+
Pushes a new commit to `aerostratospheric/gir-open-tier-suite`.
|
| 50 |
+
|
| 51 |
+
## Required secret
|
| 52 |
+
|
| 53 |
+
Add a repository secret named **`HF_TOKEN`** (Hugging Face write token):
|
| 54 |
+
|
| 55 |
+
https://github.com/Midwest-Stratospheric/aerostratospheric-defense-gir/settings/secrets/actions
|
| 56 |
+
|
| 57 |
+
Do not commit the token.
|
docs/OPEN_DEFENSE_DATA.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Open Defense Data Strategy (Public GIR)
|
| 2 |
+
|
| 3 |
+
## Principle
|
| 4 |
+
|
| 5 |
+
This repository holds **open and publicly licensed** defense-adjacent data only.
|
| 6 |
+
|
| 7 |
+
| Allowed | Not allowed |
|
| 8 |
+
|---------|-------------|
|
| 9 |
+
| Public government datasets | Classified / FOUO / CUI without authority |
|
| 10 |
+
| Academic conflict research under license | Targeting or kinetic products |
|
| 11 |
+
| Keyword-flagged public airfield databases | Live tactical unit locations from non-public sources |
|
| 12 |
+
| Cyber KEV / NVD public catalogs | Exploits or weaponization guides |
|
| 13 |
+
| Open EO, weather, space weather | Export-controlled technical data packages |
|
| 14 |
+
|
| 15 |
+
## Layers for a comprehensive open defense GIR
|
| 16 |
+
|
| 17 |
+
1. **Reference basemap** — Natural Earth, OSM, NASADEM
|
| 18 |
+
2. **Civil + published military airfields** — OurAirports heuristics (this repo)
|
| 19 |
+
3. **Maritime** — World Port Index, public AIS portals
|
| 20 |
+
4. **Hazard & anomaly** — UOGW, EONET, USGS, NWS, FIRMS
|
| 21 |
+
5. **Conflict research** — UCDP (cite), ACLED under partner agreement
|
| 22 |
+
6. **Cyber defense open** — CISA KEV, NVD
|
| 23 |
+
7. **Federal transparency** — USAspending, SAM.gov entity/opportunity data
|
| 24 |
+
8. **Aviation state** — OpenSky ADS-B (public broadcasts only)
|
| 25 |
+
9. **Space weather** — DONKI
|
| 26 |
+
10. **Mission products** — Partner/restricted Aerodefener outputs (not in public git)
|
| 27 |
+
|
| 28 |
+
## Partner / Restricted (not in public git)
|
| 29 |
+
|
| 30 |
+
- Aerodefener RF anomaly and fused threat products
|
| 31 |
+
- Controlled partner imagery
|
| 32 |
+
- Any dataset requiring government-to-government channels
|
| 33 |
+
|
| 34 |
+
## Implemented in daily ingest (public)
|
| 35 |
+
|
| 36 |
+
| Source | Status |
|
| 37 |
+
|--------|--------|
|
| 38 |
+
| UOGW, EONET, USGS, NWS, DONKI, Sentinel-2 | Daily |
|
| 39 |
+
| CISA KEV | Daily |
|
| 40 |
+
| OurAirports military-keyword airfields | Daily |
|
| 41 |
+
| USAspending defense NAICS (90-day) | Daily |
|
| 42 |
+
| GDELT lastupdate pointers | Daily |
|
| 43 |
+
| OpenSky Midwest ADS-B snapshot | Best-effort (rate limits) |
|
| 44 |
+
| OSM landuse=military (IL sample bbox) | Daily sample |
|
| 45 |
+
| FIRMS VIIRS USA | When FIRMS_MAP_KEY is set |
|
| 46 |
+
| UCDP / ACLED | Registration / partner key — stubs only in public repo |
|
| 47 |
+
|
| 48 |
+
## Partner tier private repo (suggested)
|
| 49 |
+
|
| 50 |
+
Create `aerostratospheric-defense-gir-restricted` (private) for:
|
| 51 |
+
|
| 52 |
+
- Aerodefener restricted products
|
| 53 |
+
- ACLED extracts under license
|
| 54 |
+
- Partner EO
|
docs/charts/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR visual charts — all categories
|
| 2 |
+
|
| 3 |
+
_Git-native SVG · open tier only_
|
| 4 |
+
|
| 5 |
+
```bash
|
| 6 |
+
python3 scripts/generate_gir_charts.py
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
## Overview
|
| 10 |
+

|
| 11 |
+

|
| 12 |
+
|
| 13 |
+
## Manifests
|
| 14 |
+

|
| 15 |
+

|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
## Anomalies
|
| 19 |
+

|
| 20 |
+

|
| 21 |
+
|
| 22 |
+
## Events
|
| 23 |
+

|
| 24 |
+

|
| 25 |
+

|
| 26 |
+

|
| 27 |
+

|
| 28 |
+
|
| 29 |
+
## Imagery & STAC
|
| 30 |
+

|
| 31 |
+

|
| 32 |
+

|
| 33 |
+
|
| 34 |
+
## Defense-open
|
| 35 |
+

|
| 36 |
+

|
| 37 |
+

|
| 38 |
+

|
| 39 |
+

|
| 40 |
+
|
| 41 |
+
## Reference
|
| 42 |
+

|
| 43 |
+
|
| 44 |
+
## Quality & temporal
|
| 45 |
+

|
| 46 |
+

|
| 47 |
+

|
| 48 |
+

|
| 49 |
+

|
docs/charts/airfields_by_country.svg
ADDED
|
|
docs/charts/cat_anomalies_kpi.svg
ADDED
|
|
docs/charts/cat_anomalies_uogw_severity.svg
ADDED
|
|
docs/charts/cat_architecture.svg
ADDED
|
|
docs/charts/cat_defense_airfields_country.svg
ADDED
|
|
docs/charts/cat_defense_cisa_vendors.svg
ADDED
|
|
docs/charts/cat_defense_feed_status.svg
ADDED
|
|
docs/charts/cat_defense_osm_kpi.svg
ADDED
|
|
docs/charts/cat_defense_usaspending.svg
ADDED
|
|
docs/charts/cat_events_donki_kpi.svg
ADDED
|
|
docs/charts/cat_events_eonet_categories.svg
ADDED
|
|
docs/charts/cat_events_nws_types.svg
ADDED
|
|
docs/charts/cat_events_usgs_aoi.svg
ADDED
|
|
docs/charts/cat_events_usgs_mags.svg
ADDED
|
|
docs/charts/cat_imagery_kpi.svg
ADDED
|
|
docs/charts/cat_imagery_sentinel_clouds.svg
ADDED
|
|
docs/charts/cat_manifest_ingest_status.svg
ADDED
|
|
docs/charts/cat_manifest_quality_kpi.svg
ADDED
|
|
docs/charts/cat_manifest_sources.svg
ADDED
|
|
docs/charts/cat_overview_all.svg
ADDED
|
|
docs/charts/cat_quality_baseline_z.svg
ADDED
|
|
docs/charts/cat_quality_features_run.svg
ADDED
|
|
docs/charts/cat_quality_fusion.svg
ADDED
|
|
docs/charts/cat_reference_types.svg
ADDED
|
|
docs/charts/cat_stac_kpi.svg
ADDED
|
|
docs/charts/cat_temporal_completeness.svg
ADDED
|
|
docs/charts/cat_temporal_kpi.svg
ADDED
|
|
docs/charts/gir_data_flow.svg
ADDED
|
|
docs/charts/ingest_sources.svg
ADDED
|
|
docs/charts/ingest_status.svg
ADDED
|
|
docs/charts/sentinel2_clouds.svg
ADDED
|
|
docs/charts/uogw_severity.svg
ADDED
|
|
docs/charts/usaspending_top.svg
ADDED
|
|
docs/charts/usgs_mags.svg
ADDED
|
|
docs/methodology/SCIENTIFIC_METHOD.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GIR scientific methodology (open tier)
|
| 2 |
+
|
| 3 |
+
## Purpose
|
| 4 |
+
|
| 5 |
+
Document how the open Geospatial Information Repository acquires, validates, scores, and versions public geospatial and defense-adjacent data so results are **reproducible**, **auditable**, and **scientifically cautious**.
|
| 6 |
+
|
| 7 |
+
## Design principles
|
| 8 |
+
|
| 9 |
+
1. **Public sources only** in this repository (tier = open).
|
| 10 |
+
2. **Provenance first** — every retained payload can be tied to URL, time, license, and content hash.
|
| 11 |
+
3. **Uncertainty is stated** — open feeds have latency, gaps, and classification error; we measure freshness and validation, we do not claim ground truth.
|
| 12 |
+
4. **Separation of tiers** — partner/restricted products are out of band.
|
| 13 |
+
5. **Reproducibility** — git history + manifests + scripts allow re-running the pipeline.
|
| 14 |
+
|
| 15 |
+
## Pipeline
|
| 16 |
+
|
| 17 |
+
```text
|
| 18 |
+
Source APIs → Fetch → Hash + provenance → Parse → Schema checks → AOI filter
|
| 19 |
+
→ Baseline / fusion → Manifest + freshness SLA → STAC → Charts → Git commit
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
## Statistical baseline
|
| 23 |
+
|
| 24 |
+
Rolling window mean/σ and z-score flags (|z| ≥ 2) are **screening aids**, not calibrated detection probabilities.
|
| 25 |
+
|
| 26 |
+
## Fusion score
|
| 27 |
+
|
| 28 |
+
`corroboration_score = unique_sources / member_count` within distance/time thresholds.
|
| 29 |
+
|
| 30 |
+
## Non-goals
|
| 31 |
+
|
| 32 |
+
Not a sole life-safety source. Not a targeting system. Keyword military landmarks are heuristics only.
|
| 33 |
+
|
| 34 |
+
See also: [UNCERTAINTY.md](UNCERTAINTY.md)
|
docs/methodology/UNCERTAINTY.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Uncertainty statement (open GIR)
|
| 2 |
+
|
| 3 |
+
| Layer | Main uncertainties |
|
| 4 |
+
|-------|--------------------|
|
| 5 |
+
| USGS quakes | Magnitude revision, location error, completeness |
|
| 6 |
+
| NWS alerts | Office policy differences; cancellation lag |
|
| 7 |
+
| EONET | Taxonomy and source heterogeneity |
|
| 8 |
+
| UOGW anomalies | Research screening only |
|
| 9 |
+
| Sentinel index | Cloud metadata; AOI sampling |
|
| 10 |
+
| OurAirports keywords | Name strings ≠ operational status |
|
| 11 |
+
| GDELT | Media bias, geocoding error |
|
| 12 |
+
| USAspending | Reporting lag, NAICS error |
|
| 13 |
+
|
| 14 |
+
Prefer multi-source corroboration. Check manifests for freshness. Escalate to authoritative systems for life-safety and classified decisions.
|
schema/gir_schema_v1.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "Aerostratospheric Defense GIR",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"description": "Geospatial Information Repository for Aerostratospheric Defense Systems. Open and partner tiers use public Earth-observation and OSINT-compatible reference data only. Restricted tier is defined structurally but not populated with classified content in this public repository.",
|
| 5 |
+
"access_tiers": {
|
| 6 |
+
"open": "Public science and open EO products",
|
| 7 |
+
"partner": "Controlled partner products under agreement",
|
| 8 |
+
"restricted": "Authorized government/military only — not stored in public repo"
|
| 9 |
+
},
|
| 10 |
+
"collections": {
|
| 11 |
+
"imagery_index": {
|
| 12 |
+
"description": "Catalog of worldwide open satellite / EO imagery sources and STAC-compatible endpoints",
|
| 13 |
+
"fields": ["source_id", "provider", "constellation", "resolution_m", "revisit_days", "license", "stac_api", "coverage", "tier"]
|
| 14 |
+
},
|
| 15 |
+
"anomalies": {
|
| 16 |
+
"description": "Anomaly and early-warning events (public UOGW + future partner streams)",
|
| 17 |
+
"fields": ["event_id", "timestamp_utc", "lat", "lon", "alt_m", "platform_id", "kind", "severity", "thermal_anomaly_score", "rf_anomaly_index", "ew_level", "source", "tier"]
|
| 18 |
+
},
|
| 19 |
+
"reference_features": {
|
| 20 |
+
"description": "Public reference geospatial features (ports, airports, published infrastructure). No classified sites.",
|
| 21 |
+
"fields": ["feature_id", "name", "feature_type", "lat", "lon", "country", "source", "notes", "tier"]
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
"policy": {
|
| 25 |
+
"classified_content": false,
|
| 26 |
+
"kinetic_or_targeting_products": false,
|
| 27 |
+
"public_repo_contains": "Open EO catalogs, public anomaly samples, public reference features only"
|
| 28 |
+
}
|
| 29 |
+
}
|