Skip to content
Charlie Martin edited this page Jan 21, 2016 · 2 revisions

##paws_to_chords

A python script for scraping PAWS weather station directories and sending the most recent data to a portal.

The script can be downloaded from GitHub thusly:

svn export https://github.com/NCAR/chords_portal/trunk/bin/paws_to_chords paws_to_chords

To try it out, do:

cd paws_to_chords
python paws_to_chords.py -v -c config.json

The sample configuration has bogus values for sensitive items. The script will scrape the files in the sample_data directory, and try to send a couple of URL's to http://xxxx.xxxx.xxx.

You can experiment with it in that manner.

The config.json file has instructions as well as the template for a configuration file. See the top of paws_to_chords.py for instructions on a couple of python modules you may need to install.

Clone this wiki locally