Skip to content

v0.1.7: alert validity window, proton flux rounding

Choose a tag to compare

@cyanheads cyanheads released this 22 Jun 03:33
v0.1.7
a18621f

alert validity window, proton flux rounding

Changed:

  • get_alerts validity window: validFrom/validTo parse the full SWPC label set (Valid From/To, Now Valid Until, Begin/End Time) and normalize to ISO 8601 UTC; validTo was previously null on every product (#10)
  • kpToGScale exported from the service and imported by get-kp-index, dropping the byte-identical copy — internal, no behavior change (#11)

Fixed:

  • get_solar_activity latestProton.fluxPfu rounded to 3 significant figures instead of the raw IEEE-754 float; stays a number, S-scale still classified from the raw value (#8)

50 tests pass; bun run devcheck clean.