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

support updating rating curves over time #165

Merged
merged 10 commits into from
Apr 17, 2023
Merged

support updating rating curves over time #165

merged 10 commits into from
Apr 17, 2023

Conversation

visr
Copy link
Member

@visr visr commented Apr 14, 2023

Part of #23.

@evetion I think 5b32ba5 might go nicely with your plans for validation. The idea is to roll this out for all tables.

The test model that I added looks like this, with 2 basins left and right, and in between two rating curves, one fixed in time and one dynamic.
image
The dynamic one is raised slightly twice:
image
Which affects the outflow over this node:
image

visr added 5 commits April 15, 2023 00:00
Starting with the tabulated rating curve. But the intention is to get rid of DataFrames, and use StructArrays. For tables from GeoPackage, these are copied to columntables (a NamedTuple) and then wrapped in a StructArray. For Arrow tables we can do the same, except the StructArray will be backed by memory mapped Arrow data.
@visr visr requested a review from evetion April 14, 2023 22:06
@evetion
Copy link
Member

evetion commented Apr 15, 2023

Ah, yes, my load db has similar changes. And nice to see use of StructArrays. Did you benchmark or profile this?

Lets meet Monday to go through my branch.

Copy link
Member

@evetion evetion left a comment

Choose a reason for hiding this comment

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

Requires a bit more (developer) documentation.

core/src/create.jl Show resolved Hide resolved
core/src/lib.jl Show resolved Hide resolved
core/src/solve.jl Show resolved Hide resolved
core/src/create.jl Show resolved Hide resolved
core/src/io.jl Show resolved Hide resolved
core/src/create.jl Show resolved Hide resolved
core/src/create.jl Outdated Show resolved Hide resolved
core/src/create.jl Outdated Show resolved Hide resolved
core/src/create.jl Outdated Show resolved Hide resolved
core/src/bmi.jl Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants