Skip to content

Mainstem support in indexing functions #416

@dblodgett-usgs

Description

@dblodgett-usgs

This is an issue to document use cases that need to be supported as use of mainstems as a cross-dataset identifier progresses.

Most will relate to point indexing hydrolocations along mainstem flowpaths. I see two key use cases that will need to be supported:

Linking: As a user with data describing locations thought to be along a river, I need to link my locations to rivers to establish the hydrologic context of the location in question.

For linking, most of the same logic as has been used for indexing in the passed applies and additional information may be useful, such as a previously established "event" or "comid" link that would be immediately transferable to mainstem.

Lookup: As a user of hydrologic data linked to mainstems, I need to retrieve the precise point location and catchment identifier for my point from a given dataset of interest.

In this case, pulling from the data in the mainstems data release(s) will be necessary. Given a mainstem, it will need to be retrieved from the relevant hydrographic data source and the required catchment index returned.

A third use case worth writing down as a generally needed utility is around finding updates to mainstems:

Update: As a user of data linked to mainstems, I need to check if the mainstemids used by my data are up to date so I can be sure I am using the most accurate and current data sources.

For this use case, the reference mainstems and USGS mainstems will need to be evaluated to ensure each is the most recent available. If one is found to be superceded or deleted, a new maintsem will need to be established using the Linking functionality.

Translate: As a user with data indexed to one hydrography product, I need to translate my data’s location references to another hydrography product while maintaining consistent catchment/flowpath identity.

For this use case, the inlet and outlet hydrolocations of one set of catchment flowpaths need to be located along the catchment/flowpaths of another hydrography. For datasets like the WBD -- where catchments are not well defined, only drainage area outlet locations would be translated. Some of these translations are already established in the mainstems data release and code from creating them could be a baseline for satisfying the use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions