Index | Files

package metar

import ""

Package metar provides weather using the METAR API from the NOAA Aviation Digital Data Service, available at


Package Files


type Config Uses

type Config struct {
    // contains filtered or unexported fields

Config represents NOAA ADDS configuration from which a weather.Provider can be built.

func Station Uses

func Station(station string) *Config

Station creates a configuration for the given airport code (e.g. KSEA).

func (*Config) Build Uses

func (c *Config) Build() weather.Provider

Build builds a weather provider from the configuration.

func (*Config) IncludeFlightCat Uses

func (c *Config) IncludeFlightCat() *Config

IncludeFlightCat adds flight category to the description.

func (*Config) StripRemarks Uses

func (c *Config) StripRemarks() *Config

StripRemarks strips remarks from the description.

Package metar imports 10 packages (graph). Updated 2018-12-20. Refresh now. Tools for package owners.