NSF-Polar-Cyberinfrastructure/issue-3 — pull request #1 by tpalsulich (2014-11-03 17:15:31+00:00)
Title: Crawling script

Here is a simple script which will pull down the data files from `ftp://amrc.ssec.wisc.edu/pub/requests/DVPC/AWS_q3h_MAY_2014/` and pull out the station names, locations, and elevations into a JSON array. Just give a temp directory name that will hold all of the downloaded data files. If the directory doesn't exist, it will be created. If it does exist, its contents will be deleted!

```
✗ ./parse.sh data
[
{"name":"AGO-4", "lat": "82.01S", "lon": "96.76E", "elev": "3597m"},
{"name":"Baldrick", "lat": "82.46S", "lon": "13.03W", "elev": "1968m"},
...
```