space-weather
Space weather indices and parsers for aerospace applications. no_std compatible (with alloc).
Parses space weather data from CelesTrak and SET (Space Environment Technologies), stores it in an efficient in-memory index, and supports date-based queries.
Quick Start (Rust)
use celestrak;
use SpaceWeatherStore;
use ;
// Parse a CelesTrak CSV file
let bytes = read.unwrap;
let records = parse.unwrap;
let store = new;
// Query by date
let date = Date ;
if let Some = store.get
Quick Start (Python)
Requires the python feature (built via maturin).
=
=
# NumPy export for bulk analysis
=
Feature Flags
| Flag | Description | Dependencies |
|---|---|---|
std |
Enables std library support (off by default for no_std) |
— |
fetch |
Async HTTP fetching for CelesTrak and SET files | reqwest (rustls) |
fetch-blocking |
Blocking HTTP fetching | reqwest/blocking |
python |
Python bindings via PyO3 | pyo3, numpy |
Data Sources
| Source | File | Indices |
|---|---|---|
| CelesTrak | SW-Last5Years.csv, SW-All.csv |
F10.7 (observed/adjusted), Ap (daily + 3-hr), Kp (3-hr) |
| SET | SOLFSMY.TXT |
F10.7 (JB2008), S10.7, M10.7, Y10.7 + 81-day averages |
| SET | DTCFILE.TXT |
Dtc temperature correction coefficients |
Use SpaceWeatherStore::merge to combine
records from multiple sources into a single queryable store.
License
MIT OR Apache-2.0