You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Using new /peaks endpoint (first iteration)
* Add test with 5-minute data
* Use Consistent UTC for USGS data import.
Fix progress bar for USGS imports
Copy file name to clipboardExpand all lines: Readme.md
+63-94Lines changed: 63 additions & 94 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# usgs-water-api
2
2
3
-
A Java library for retrieving hydrologic data (daily values, peaks, continous (15-minute), time-series metadata, monitoring locations) from the USGS Water Data API.
3
+
A Java library for retrieving hydrologic data (daily values, peaks, continous (~15-minute), time-series metadata, monitoring locations) from the USGS Water Data API.
@@ -134,96 +195,4 @@ To save API responses to `~/usgs.waterdata/` for inspection, add the JVM flag:
134
195
-Dusgs.debug=true
135
196
```
136
197
137
-
Files are named from the response `Content-Disposition` header. Duplicate filenames get an incrementing suffix (e.g. `daily.csv`, `daily1.csv`, `daily2.csv`).
138
-
139
-
140
-
# TODO
141
-
142
-
- Allow user to specify what paramters they want such as 'Flow'
143
-
- Use the /combined-metadata endpoint instead (For list of sites with daily data) and filter on data_type. You'll get one row per data collection rather than one row per site
144
-
- keep querys below MAX size..
145
-
- document -Djava.net.useSystemProxies=true
146
-
- USGS to do: /ogcapi/v0/collections/peaks and /stac/v0/collections/ratings
147
-
148
-
Station Name=HYDER AK
149
-
Stream Name=SALMON R
150
-
Station ID=15008000
151
-
Version Name=USGS
152
-
Latitude=56.0259971857126
153
-
Longitude=-130.06687006967235
154
-
Elevation=286
155
-
Coord Datum=NAD27
156
-
PARAMETERS=ALL
157
-
PARAMETERS=Flow,Stage (new feature)
158
-
159
-
- put Site-types in config somewhere:
160
-
- Internally use MonitoringLocation instead of legacy UsgsStation
161
-
- get period of record from api (start with Daily)
162
-
- get more site types.
163
-
- when reading regular time series , check dates for ordering ()
Files are named `<collection>_<id>` after the request, e.g. `daily_4993ed5a....csv`, `time-series-metadata_USGS-13037500.csv`, or `ratings_13011000.rdb`. Duplicate filenames get an incrementing suffix (e.g. `daily_....csv`, `daily_...1.csv`).
0 commit comments