InfoEx AutoWx is a program designed to take data from NRCS or MesoWest weather station/SNOTEL sites and import them into the InfoEx system. It can easily be automated via e.g. cron.
Clone the git repository and invoke the program as described in the usage section.
Configuration is done via a config file, so that automation is easier and more segmented.
There are some external dependencies. The easiest method to
deal with these is to setup a virtualenv and then pip
install -r requirements.txt.
Detailed steps for setup is available in the README.md file.
$ ./infoex-autowx.py --help
Usage: infoex-autowx.py [options]
Options:
-h, --help show this help message and exit
--config=FILE location of config file
--dry-run fetch data but don't upload to InfoEx
As long as there are no problems, the program will emit nothing and return with exit status 0.
units option
to include NRCSThe source code can be browsed at the following URL: https://wylark.com/src/infoex-autowx.git
As indicated in the source code release, this software is released under the ISC license.
Written by Alexander Vasarab in May 2020. Improved and originally released in June 2020.