Skip to content
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

Add streamflow as a known variable #1431

Merged
merged 3 commits into from Jul 26, 2023
Merged

Add streamflow as a known variable #1431

merged 3 commits into from Jul 26, 2023

Conversation

RondeauG
Copy link
Contributor

@RondeauG RondeauG commented Jul 26, 2023

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
    • No.
  • Tests for the changes have been added (for bug fixes / features)
    • (If applicable) Documentation has been added / updated (for bug fixes / features)
  • CHANGES.rst has been updated (with summary of main changes)
    • Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

  • Adds 'streamflow' to the list of variables known to xclim.

Does this PR introduce a breaking change?

No.

Other information:

discharge is already there, but no standard name exists for that variable and streamflow is an alternative that is likely to become the standard for https://github.com/hydrologie (xdatasets & xhydro in particular). Rather than replacing discharge (which is not explicitely used anywhere to my knowledge, except than to declare units), we might as well support both.

@github-actions github-actions bot added the indicators Climate indices and indicators label Jul 26, 2023
Copy link
Collaborator

@Zeitsperre Zeitsperre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Standard name and units check out. LGTM.

@github-actions github-actions bot added the approved Approved for additional tests label Jul 26, 2023
@RondeauG RondeauG merged commit 84f2c28 into master Jul 26, 2023
14 checks passed
@RondeauG RondeauG deleted the streamflow branch July 26, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Approved for additional tests indicators Climate indices and indicators
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants