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

WIP: Starting river-model infrastructure #8

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

odunbar
Copy link
Collaborator

@odunbar odunbar commented Nov 1, 2024

Purpose

Closes #9
Closes #10
Closes #11
Details found in #6

To-do

Content


  • I have read and checked the items on the review checklist.

@odunbar odunbar changed the title Starting river-model infrastructure WIP: Starting river-model infrastructure Nov 1, 2024
@achiang17 achiang17 force-pushed the orad/river-model-infrastructure branch from fff0946 to b8b86b2 Compare November 26, 2024 18:19
@achiang17 achiang17 requested a review from kmdeck November 26, 2024 18:53
src/Routing.jl Outdated Show resolved Hide resolved
src/MizurouteV1.jl Outdated Show resolved Hide resolved
src/MizurouteV1.jl Outdated Show resolved Hide resolved
src/MizurouteV1.jl Outdated Show resolved Hide resolved
src/Environments.jl Outdated Show resolved Hide resolved
src/Environments.jl Outdated Show resolved Hide resolved
src/Environments.jl Outdated Show resolved Hide resolved
src/Environments.jl Outdated Show resolved Hide resolved
src/Routing.jl Outdated Show resolved Hide resolved
src/Routing.jl Show resolved Hide resolved
src/Routing.jl Show resolved Hide resolved

# Remove duplicates to ensure each basin appears only once
return unique(upstream_basin_list)
end
Copy link
Member

Choose a reason for hiding this comment

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

It would be great to add a unit test for this function!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we could use the mini-IRF basin network as a basis for unit testing.

src/Routing.jl Show resolved Hide resolved
src/Routing.jl Outdated Show resolved Hide resolved
src/Routing.jl Show resolved Hide resolved
Copy link
Collaborator Author

@odunbar odunbar left a comment

Choose a reason for hiding this comment

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

A few small comments

examples/routing/mini_gamma_IRF.jl Outdated Show resolved Hide resolved
src/Routing.jl Outdated Show resolved Hide resolved

# Remove duplicates to ensure each basin appears only once
return unique(upstream_basin_list)
end
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we could use the mini-IRF basin network as a basis for unit testing.

@achiang17 achiang17 force-pushed the orad/river-model-infrastructure branch 2 times, most recently from 54f909e to 43966e5 Compare December 6, 2024 21:01
@achiang17 achiang17 force-pushed the orad/river-model-infrastructure branch from 43966e5 to ee563ba Compare December 6, 2024 21:03
@achiang17 achiang17 merged commit f2f00c1 into main Dec 6, 2024
2 of 6 checks passed
@achiang17 achiang17 deleted the orad/river-model-infrastructure branch December 6, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants