From 0b372f6d79af4bbf4a01a04a1aa75cfedc0c0bf8 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Mon, 18 Mar 2019 22:24:25 +1100 Subject: [PATCH] Update documentation --- README.md | 6 +++--- doc/demo.py | 13 +++---------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c82d236..0a64ad4 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,11 @@ https://github.com/mozilla/geckodriver/releases from waternsw_grabber import telemetered_bore_downloader, extract_records basin_name = 'Bega River Basin' -download_dir = '.' +download_dir = 'downloads' # Download bore records -telemetered_bore_downloader(basin_name, download_dir) +telemetered_bore_downloader(basin_name) # Extract zip archives -extract_records(basin_name, download_dir) +extract_records(basin_name) ``` diff --git a/doc/demo.py b/doc/demo.py index 1953433..90f195d 100644 --- a/doc/demo.py +++ b/doc/demo.py @@ -1,17 +1,10 @@ from waternsw_grabber import telemetered_bore_downloader, extract_records +basin_name = 'Bega River Basin' download_dir = 'downloads' -output_dir = 'csv' -start_date = '1900-01-01' -end_date = '2019-02-14' -bore_ids = [ - 'GW039102.1.1', - 'GW039114.1.1', - 'GW039117.1.1', -] # Download bore records -telemetered_bore_downloader(bore_ids, start_date, end_date, download_dir) +telemetered_bore_downloader(basin_name) # Extract zip archives -extract_records(download_dir, output_dir, clean_up=False) +extract_records(basin_name)