home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace `metar` with custom parser of NOAA XML API
[khatus.git]
/
x2
/
src
/
awk
/
exe
/
parse_noaa_api.awk
diff --git a/x2/src/awk/exe/parse_noaa_api.awk
b/x2/src/awk/exe/parse_noaa_api.awk
new file mode 100644
(file)
index 0000000..
6c34091
--- /dev/null
+++ b/
x2/src/awk/exe/parse_noaa_api.awk
@@ -0,0
+1,3
@@
+XmlPath == "/current_observation/temp_f" {
+ print("temperature_f", XmlPayload) # °F
+}
This page took
0.025435 seconds
and
4
git commands to generate.