From: Alexander Vasarab Date: Tue, 30 Jun 2020 21:21:57 +0000 (-0700) Subject: Small changes along with version bump X-Git-Tag: v2.0.0^2~12 X-Git-Url: https://wylark.com/src/infoex-autowx.git/commitdiff_plain/f26265c377d65418b713040565917fb8cc8e878a?hp=51f9aa84d2877d488dbf8600323e95f1c1a0fec6 Small changes along with version bump --- diff --git a/infoex-autowx.py b/infoex-autowx.py index 3d8762c..57fef27 100755 --- a/infoex-autowx.py +++ b/infoex-autowx.py @@ -2,14 +2,15 @@ # -*- coding: utf-8 -*- """ -InfoEx <-> NRCS Auto Wx implementation +InfoEx <-> NRCS/MesoWest Auto Wx implementation Alexander Vasarab Wylark Mountaineering LLC -Version 1.0.0 +Version 2.0.0 -This program fetches data from an NRCS SNOTEL site and pushes it to -InfoEx using the new automated weather system implementation. +This program fetches data from either an NRCS SNOTEL site or MesoWest +weather station and pushes it to InfoEx using the new automated weather +system implementation. It is designed to be run hourly, and it asks for the last three hours of data of each desired type, and selects the most recent one. This @@ -56,10 +57,12 @@ except: log.addHandler(handler) parser = OptionParser() + parser.add_option("--config", dest="config", metavar="FILE", help="location of config file") + parser.add_option("--dry-run", action="store_true", dest="dry_run",