|
|
@ -58,8 +58,8 @@ def get_telemetered_bore(driver, bore_id, start_date, end_date):
|
|
|
|
Args:
|
|
|
|
Args:
|
|
|
|
driver: selenium webdriver object
|
|
|
|
driver: selenium webdriver object
|
|
|
|
bore_id: bore ID (string)
|
|
|
|
bore_id: bore ID (string)
|
|
|
|
start_date: start date (string in ISO-8601 format)
|
|
|
|
start_date: start date (string in YYYY-MM-DD format)
|
|
|
|
end_date: end date (string in ISO-8601 format)
|
|
|
|
end_date: end date (string in YYYY-MM-DD format)
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
url = 'https://realtimedata.waternsw.com.au/water.stm'
|
|
|
|
url = 'https://realtimedata.waternsw.com.au/water.stm'
|
|
|
@ -192,8 +192,8 @@ def telemetered_bore_downloader(bore_ids, start_date, end_date, download_dir):
|
|
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
Args:
|
|
|
|
bore_ids: bore ID values (array-like)
|
|
|
|
bore_ids: bore ID values (array-like)
|
|
|
|
start_date: start date (string in ISO-8601 format)
|
|
|
|
start_date: start date (string YYYY-MM-DD format)
|
|
|
|
end_date: end date (string in ISO-8601 format)
|
|
|
|
end_date: end date (string YYYY-MM-DD format)
|
|
|
|
download_dir: path to where downloaded files will be saved
|
|
|
|
download_dir: path to where downloaded files will be saved
|
|
|
|
|
|
|
|
|
|
|
|
Raises:
|
|
|
|
Raises:
|
|
|
|