Skip to content

Commit 0326be1

Browse files
authored
Update README.md imports (#193)
Changes `import dataretrieval.nwis as nwis` to `from dataretrieval import nwis`, etc.
1 parent 2ff0d91 commit 0326be1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ location for water year 2025, where a "/" between two dates in the "time"
6666
input argument indicates a desired date range:
6767

6868
```python
69-
import dataretrieval.waterdata as waterdata
69+
from dataretrieval import waterdata
7070

7171
# Get daily streamflow data (returns DataFrame and metadata)
7272
df, metadata = waterdata.get_daily(
@@ -130,7 +130,7 @@ logging.basicConfig(filename='waterdata.log', level=logging.INFO)
130130
The `nwis` module accesses legacy NWIS Water Services:
131131

132132
```python
133-
import dataretrieval.nwis as nwis
133+
from dataretrieval import nwis
134134

135135
# Get site information
136136
info, metadata = nwis.get_info(sites='01646500')
@@ -153,7 +153,7 @@ print(f"Retrieved {len(dv)} daily values")
153153
Access water quality data from multiple agencies:
154154

155155
```python
156-
import dataretrieval.wqp as wqp
156+
from dataretrieval import wqp
157157

158158
# Find water quality monitoring sites
159159
sites = wqp.what_sites(
@@ -177,7 +177,7 @@ print(f"Retrieved {len(results)} temperature measurements")
177177
Discover and navigate hydrologic networks:
178178

179179
```python
180-
import dataretrieval.nldi as nldi
180+
from dataretrieval import nldi
181181

182182
# Get watershed basin for a stream reach
183183
basin = nldi.get_basin(

0 commit comments

Comments
 (0)