RAWS Network

RAWS stands for Remote Automated Weather Stations and, is a network of weather stations true to its name.

Station Information

RAWS Raw Data

The RAWS raw data is downloaded using two Python scripts and saved in directory available via the web.

Downloader Scripts

The downloader scripts may be saved in D:\cns\scripts\. The download scheme uses two Python scripts: wrcc_http.py and raws.py. The wrcc_http.py script is provided to us by WRCC and the raws.py calls wrcc_http.py to download the RAWS data. The raws.py script only downloads data a month into the past and is a limitation of the WRCC interface. The script has the following command line options:

Options

Meaning

-d

The directory the RAWS data will be saved. Defaults to user's home directory.

-r

Print raw data for the given station to the command line.

--process_dir

Same as -d option.

--raw_data

Same as -r option.

This script is used by entering the following command on the command line:

D:\cns\scripts>python raws.py

To specify the d:\webroot\raw_data\raws\ directory as the download directory, use the following commands:

D:\cns\scripts>python raws.py -d d:/webroot/raw_data/raws/

To print data for the station XBAD, use the following commands:

D:\cns\scripts>python raws.py -r XBAD

Note: The -r option takes precedence over the -d option.

Every morning at 05:00 MST, a script located in the D:\cns\scripts\ directory called do_process.py is executed via Window's task scheduler application. The do_process.py script runs the raws.py script, where the MRGCD data is saved in D:\webroot\raw_data\raws\.

Raw Data Format

Quality Control

Contact Information

Nmcc_Wiki: networks/raws (last edited 2009-05-06 19:56:04 by Stan)