Skip to main content

Ionospheric data pipeline for solar flux and NeQuickG coefficient datasets

Project description

GeoSol Research Logo

Iono Data (Ionospheric Data Processing)

Ionospheric data download and processing tools for generating ionospheric delay datasets used by gri-iono. Requires Python 3.12+.

Overview

This package provides scripts for:

  • Downloading solar flux data from NOAA Space Weather Prediction Center (for bent ionospheric model)
  • Downloading NeQuickG coefficients from European GNSS Service Centre (for NeQuickG model)
  • Processing solar flux data to NPZ format for bent iono model
  • Processing NeQuickG coefficients to NPZ format for NeQuickG model

The output NPZ files are consumed by the gri-iono library for ionospheric delay correction calculations.

Installation

# Clone and setup
git clone https://gitlab.com/geosol-foss/python/gri-iono-data.git
cd gri-iono-data
uv sync

# Activate environment
source .venv/bin/activate

Usage

Solar Flux Data (Bent Ionospheric Model)

1. Download Solar Flux Data

Download F10.7 solar flux data from NOAA for a specific date:

python gri_iono_data/download_solar_flux 2025 03 15

Output:

  • ./data/solar_flux_raw/solar_flux_2025_03_15.json - Raw solar flux data from NOAA

2. Process Solar Flux Data

Process all unprocessed solar flux data to generate NPZ files:

python gri_iono_data/update_solar_flux

Output:

  • ./data/solar_flux/solar_flux_2025_03_15.npz - Processed F10.7 solar flux data

NeQuickG Coefficients

1. Download NeQuickG Coefficients

Download NeQuickG ionospheric coefficients from GSC for a specific date:

python gri_iono_data/download_nequickg 2025 03 15

Output:

  • ./data/nequickg_raw/nequickg_2025_03_15.txt - Raw NeQuickG coefficients from GSC

2. Process NeQuickG Coefficients

Process all unprocessed NeQuickG data to generate NPZ files:

python gri_iono_data/update_nequickg

Output:

  • ./data/nequickg/nequickg_2025_03_15.npz - Processed NeQuickG coefficients

Data Formats

Solar Flux Data

Raw Data:

  • F10.7 solar flux index from NOAA SWPC
  • JSON format with daily observations
  • Units: Solar Flux Units (SFU) where 1 SFU = 10^-22 W/m^2/Hz

Processed NPZ Files:

Contains:

  • f107: F10.7 solar flux value (float)
  • year, month, day: Date information
  • observation_time: ISO format timestamp

NeQuickG Coefficients

Raw Data:

  • Effective ionization level (Az) coefficients from European GSC
  • Text format with three coefficients: ai0, ai1, ai2
  • Broadcast by Galileo satellites

Processed NPZ Files:

Contains:

  • ai0, ai1, ai2: Individual coefficients
  • coefficients: Array of all three coefficients
  • year, month, day: Date information

Configuration

All scripts default to ./data/ for input/output but can be configured by modifying the paths in the scripts.

Data Sources

Project Structure

gri-iono-data/
├── gri_iono_data/
│   ├── solar_flux/         # Solar flux data processing
│   │   ├── download.py
│   │   ├── read.py
│   │   ├── process.py
│   │   └── write.py
│   ├── nequickg/           # NeQuickG coefficient processing
│   │   ├── download.py
│   │   ├── read.py
│   │   ├── process.py
│   │   └── write.py
│   ├── file_handling/      # Common utilities
│   │   ├── date_from_filename.py
│   │   ├── available_file_dates.py
│   │   └── unprocessed_file_dates.py
│   ├── download_solar_flux.py    # Main download script
│   ├── download_nequickg.py      # Main download script
│   ├── update_solar_flux.py      # Main processing script
│   └── update_nequickg.py        # Main processing script
├── data/
│   ├── solar_flux_raw/     # Raw solar flux downloads
│   ├── solar_flux/         # Processed solar flux NPZ
│   ├── nequickg_raw/       # Raw NeQuickG downloads
│   └── nequickg/           # Processed NeQuickG NPZ
└── test/                   # Test suite

Other Projects

Current list of other GRI FOSS Projects we are building and maintaining.

License

MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gri_iono_data-0.2.3.tar.gz (89.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gri_iono_data-0.2.3-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file gri_iono_data-0.2.3.tar.gz.

File metadata

  • Download URL: gri_iono_data-0.2.3.tar.gz
  • Upload date:
  • Size: 89.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gri_iono_data-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f457aa86651a91cc0d6f7bc223ba3e9bac0850edf99f326774a9ccc9ade3b4e8
MD5 dc27121fcdd5dc695b526844ab16aa88
BLAKE2b-256 0b112f4c447027bce107c05a5da463b79071395dc03b75ce7cc6892b8c01ff76

See more details on using hashes here.

File details

Details for the file gri_iono_data-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: gri_iono_data-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gri_iono_data-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b6d735004c56cbed11d44a79bbad8b3a9300869a012825be4f900ccc6425e891
MD5 1faee14405c16376d1bac0ff8d4e288d
BLAKE2b-256 0d1350ebb05dc1a3ecc8291dbe996b11142b97d0e43ab927d23924ba13826971

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page