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

51 gridded metrics #98

Merged
merged 6 commits into from
Mar 25, 2024
Merged

51 gridded metrics #98

merged 6 commits into from
Mar 25, 2024

Conversation

barneydobson
Copy link
Collaborator

@barneydobson barneydobson commented Mar 16, 2024

Description

Slightly altered the subcatchment_metrics to work for grids too.

Since in this metric, but conceivably for many others, a parameter is needed (grid scale) - so I have added a parameters.py/MetricEvaluation class and updated iterate_metrics and the register to accommodate this.

Fixes #51

@barneydobson barneydobson linked an issue Mar 16, 2024 that may be closed by this pull request
Copy link
Collaborator

@dalonsoa dalonsoa left a comment

Choose a reason for hiding this comment

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

LGTM

swmmanywhere/metric_utilities.py Outdated Show resolved Hide resolved
use comprehension
@barneydobson barneydobson self-assigned this Mar 20, 2024
@barneydobson barneydobson merged commit 8b8c792 into main Mar 25, 2024
7 of 10 checks passed
@barneydobson barneydobson deleted the 51-gridded-metrics branch March 25, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gridded metrics
3 participants