Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion 05-interactive_temperature.py
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
1 change: 1 addition & 0 deletions 99-get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ for windows

### for 99-get_data

$ conda install -c cartopy proj4
$ conda install -c conda-forge cartopy proj4

## Running

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.