Skip to content

WDFN-701 and WDFN-702 - Ground water level visit data is now retrieved from the observations endpoint.

Bucknell, Mary S. requested to merge mbucknell/waterdataui:wdfn-701 into main

Before making a pull request

  • Run all linters (make lint)
  • Run all tests (make test)
  • Update the changelog appropriately
  • If making a release, update code.json, versionNumber and metadataLastUpdated.

Description

The new observations service replaces the legacy NWIS water services call to retrieve groundwater level visits. Because this query has no filtering by parameter code or time range, the entire period of record for all parameter codes for a site are loaded when the page is loaded. This required that the data be kept in a different place then previously and then selectors are used to filter the data to the appropriate set to render the hydrograph and data tables. We also expanded the data shown in the data table to include qualifiers and result accuracy. In addition time as an accuracy to when displayed in the data table this is reflected. The time of a visit is interpreted as UTC unless the accuracy is day, month, or year. In this case the time is interpreted in the location's time zone.

After making a pull request

  • If appropriate, put the link to the PR in the JIRA ticket
  • Assign someone to review unless the change is trivial
Edited by Bucknell, Mary S.

Merge request reports

Loading