-
Notifications
You must be signed in to change notification settings - Fork 95
Continuous #832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Continuous #832
Conversation
|
Hey there, I have time to review Wed/Thur. |
| #' @export | ||
| #' @param monitoring_location_id `r get_params("continuous")$monitoring_location_id` | ||
| #' @param parameter_code `r get_params("continuous")$parameter_code` | ||
| #' @param statistic_id `r get_params("continuous")$statistic_id` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self to test: is this really a valid input? Isn't the stat id for continuous 00011?
| } | ||
| # leave some room here for POSIXct in the other services. | ||
| } | ||
| # by default, the data is put in POSITct and seems |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # by default, the data is put in POSITct and seems | |
| # by default, the data is put in POSIXct and seems |
| ``` | ||
| GET: https://nwis.waterservices.usgs.gov/nwis/iv/?site=11455508&format=waterml%2C1.1&ParameterCd=99133&startDT=2024-01-01&endDT=2024-06-01 | ||
| Requesting: | ||
| https://api.waterdata.usgs.gov/ogcapi/v0/collections/continuous/items?f=json&lang=en-US&skipGeometry=TRUE&limit=40000&monitoring_location_id=USGS-11455508¶meter_code=99133&time=2024-01-01T00%3A00%3A00Z%2F2024-06-01T00%3A00%3A00Z |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| https://api.waterdata.usgs.gov/ogcapi/v0/collections/continuous/items?f=json&lang=en-US&skipGeometry=TRUE&limit=40000&monitoring_location_id=USGS-11455508¶meter_code=99133&time=2024-01-01T00%3A00%3A00Z%2F2024-06-01T00%3A00%3A00Z | |
| https://api.waterdata.usgs.gov/ogcapi/v0/collections/continuous/items?f=json&lang=en-US&skipGeometry=TRUE&limit=50000&monitoring_location_id=USGS-11455508¶meter_code=99133&time=2024-01-01T00%3A00%3A00Z%2F2024-06-01T00%3A00%3A00Z |
Looking at this without context but should it be 50000?
| this_week <- read_waterdata_continuous(monitoring_location_id = c("USGS-05406457", | ||
| "USGS-05427930"), | ||
| parameter_code = c("00060", "00010"), | ||
| time = "P7D") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
| These data are the discrete measurements of discharge that are made for the purpose of developing or revising the rating curve. Information on the returned data can be found with the `comment` function and attached attributes as described in the [metadata](#embedded-metadata) section. | ||
|
|
||
| Surface-water measurement data can be obtained with the `readNWISmeas` function. | ||
| Surface-water measurement data can be obtained with the `read_waterdata_field_measurements`` function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Surface-water measurement data can be obtained with the `read_waterdata_field_measurements`` function. | |
| Surface-water measurement data can be obtained with the `read_waterdata_field_measurements` function. |
No description provided.