Skip to content

Commit 32d57a6

Browse files
committed
increase test coverage
1 parent a2d1b30 commit 32d57a6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_hydrodata.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def test_newdb():
179179
outFormat="esrigeojson",
180180
crs="epsg:4269",
181181
)
182+
print(wfs)
182183

183184
r = wfs.getfeature_bybox(wshed.geometry.bounds, in_crs="epsg:4326")
184185
flood = utils.json_togeodf(r.json(), "epsg:4269", "epsg:4326")
@@ -198,7 +199,11 @@ def test_plot():
198199
start, end = "2000-01-01", "2009-12-31"
199200
qobs = hds.nwis_streamflow(wshed.station_id, start, end)
200201
clm_p = hds.daymet_byloc(*wshed.coords, start=start, end=end, variables=["prcp"])
201-
plot.signatures({"Q": qobs["USGS-01031500"]}, prcp=clm_p["prcp (mm/day)"])
202+
plot.signatures(
203+
{"Q": qobs["USGS-01031500"]},
204+
prcp=clm_p["prcp (mm/day)"],
205+
output="data/plot.plot",
206+
)
202207
cmap, norm, levels = plot.cover_legends()
203208
assert levels[-1] == 100
204209

0 commit comments

Comments
 (0)