Skip to content

Commit dd10341

Browse files
committed
switching to https for nwis
1 parent 5f64bd6 commit dd10341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dms_datastore/download_nwis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def download_station(
224224
stime = start.strftime("%Y-%m-%d")
225225
etime = end.strftime("%Y-%m-%d")
226226
found = False
227-
station_query_base = f"http://nwis.waterservices.usgs.gov/nwis/iv/?sites={agency_id}&startDT={stime}&endDT={etime}&format=json"
227+
station_query_base = f"https://nwis.waterservices.usgs.gov/nwis/iv/?sites={agency_id}&startDT={stime}&endDT={etime}&format=json"
228228
if param:
229229
station_query = station_query_base + f"&variable={int(param):05}"
230230
# station_query = station_query_base % (station,stime,etime,param)

0 commit comments

Comments
 (0)