Skip to content
/ wwv_ex Public

A client for fetching the NOAA WWV.txt solar report.

Notifications You must be signed in to change notification settings

hamhub/wwv_ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WwvEx

Provides a simple way to fetch the wwv.txt solar report from the NOAA.

This library performs the fetching of the solar report from the NOAA and parses it into a map for use in your application. The raw report is also maintained if you want to see the human readable version.

Installation

If available in Hex, the package can be installed by adding wwv_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:wwv_ex, "~> 0.1.0"}
  ]
end

Usage

wwv_data = WwvEx.fetch()

The wwv_data result should look similar to this:

{:ok,
 %{
   ai: "8",
   index_dt: "11 July",
   issued_dt: "2019 Jul 12 1210 UTC",
   ki: "2",
   ki_dt: "1200 UTC on 12 July",
   raw_report: "...",
   sfi: "67"
 }}

Documentation

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/wwv_ex.

About

A client for fetching the NOAA WWV.txt solar report.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages