RAWS Download Script
This script is responsible for downloading RAWS data and can be found in the D:\cns\scripts\ directory on Virga. This script only downloads data a month into the past. 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. |
Table 1.
This script is used by entering the following command on the command line:
python raws.py
To specify the d:\webroot\raw_data\raws\ directory as the download directory, use the following commands:
python raws.py -d d:/webroot/raw_data/raws/
To print data for the station XBAD, use the following commands:
python raws.py -r XBAD
Note: The -r option takes precedence over the -d option.