Shift X2 status from legacy to archived
[khatus.git] / x2 / src / bash / exe / khatus_sensor_weather.sh
... / ...
CommitLineData
1#! /bin/sh
2
3set -e
4
5dir_bin="$1"
6weather_station_id="$2"
7
8curl \
9 --silent \
10 --show-error \
11 -X GET \
12 -H "accept: application/vnd.noaa.obs+xml" \
13 "https://api.weather.gov/stations/${weather_station_id}/observations/latest?require_qc=false" \
14| hxpipe \
15| "$dir_bin"/khatus_parse_noaa_api
This page took 0.024351 seconds and 4 git commands to generate.