Skip to content

parse_gfz

Defined in: gfz.rs:63

fn parse_gfz(text: &str) -> [Result<CssiData, GfzParseError>](https://doc.rust-lang.org/std/result/enum.Result.html)

Parse GFZ Kp_ap_Ap_SN_F107_*.txt format into CssiData.

The GFZ format is space-separated with 40 header lines starting with #. Each data line contains: YYYY MM DD days days_m Bsr dB Kp1..Kp8 ap1..ap8 Ap SN F10.7obs F10.7adj D

Missing values are indicated by -1 (int) or -1.0 (float).

  • Pre-1947 records have no F10.7 data. These are backfilled with the centered average when possible, but very early records (1932–1946) may retain F10.7=0.0 which is physically invalid for NRLMSISE-00. Use CelesTrak CSSI format for recent data (post-2000) to avoid this.
  • The 81-day centered average uses a truncated window at dataset edges, which slightly biases f107_avg for the first/last 40 days.