Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theflyingcodr/faas-metar

An OpenFaas function for getting METAR information for a weather station
https://github.com/theflyingcodr/faas-metar

golang metar openfaas-function

Last synced: 12 days ago
JSON representation

An OpenFaas function for getting METAR information for a weather station

Awesome Lists containing this project

README

        

# faas-metar

An OpenFaas function for getting METAR information for an aviation weather station

# Local Setup

Assuming you have [OpenFaas](https://github.com/openfaas/faas) setup on your local machine, clone this repo and execute the make file as shown:

```
make deploy-test-local

```
This will build, deploy and also execute the function using the fass-cli to ensure it is working.

You can then execute it through the OpenFaas UI, Cli or Web Calls.

# Using the Function

It takes a single string of Phonetic Characters which represent the ICAO code of the weather station in question.

My nearest station is Belfast Harbour Airport which has an ICAO of EGAC. In order to get the weather data for this station submit the value

```
"ECHO GOLF ALPHA CHARLIE"

```

# Coming Soon

Alexa Support :)