Skip to content

Instantly share code, notes, and snippets.

View psybers's full-sized avatar

Robert Dyer psybers

View GitHub Profile
@psybers
psybers / ncdc.sh
Last active February 21, 2017 20:37 — forked from tomasdelvechio/ncdc.sh
Download a weather dataset from the National Climatic Data Center (NCDC, http://www.ncdc.noaa.gov/). Usage: ./ncdc.sh 1901 1930 # download weather datasets for period from 1901 to 1930.
#!/usr/bin/env bash
# global parameters
g_tmp_folder="ncdc_tmp";
g_output_folder="ncdc_data";
g_remote_host="ftp.ncdc.noaa.gov";
g_remote_path="pub/data/noaa";
yum install -y wget