diff --git a/05-interactive_temperature.py b/05-interactive_temperature.py index 80dc864..ccc188c 100644 --- a/05-interactive_temperature.py +++ b/05-interactive_temperature.py @@ -1,7 +1,6 @@ import matplotlib.pyplot as plt from cycler import cycler from pddc_helpers import (load_bwi_data, aggregate_by_month, aggregate_by_day, - plot_aggregated_errorbar, extract_day_of_hourly, extract_month_of_daily) diff --git a/99-get_data.py b/99-get_data.py index 4d4564b..76f617c 100644 --- a/99-get_data.py +++ b/99-get_data.py @@ -21,6 +21,7 @@ def get_filtered_isd(data_dir, s_date=None, f_date=None, fname = 'isd-history.csv' target_file = os.path.join(data_dir, fname) + os.makedirs(data_dir, exist_ok=True) if not os.path.exists(target_file) and allow_download: url_target = 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/isd-history.csv' with open(target_file, 'wb') as fout: diff --git a/README.md b/README.md index aea2759..1fa3450 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ for windows ### for 99-get_data - $ conda install -c cartopy proj4 + $ conda install -c conda-forge cartopy proj4 ## Running @@ -24,4 +24,4 @@ All of the examples should be run from IPython as %run -i NN-FILE.py -and sholud each be self-contained. +and should each be self-contained.