Skip to content

Commit

Permalink
Put level as the first column in basin.arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Dec 12, 2024
1 parent f1c7904 commit 646e977
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/write.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ function basin_table(
)::@NamedTuple{
time::Vector{DateTime},
node_id::Vector{Int32},
storage::Vector{Float64},
level::Vector{Float64},
storage::Vector{Float64},
inflow_rate::Vector{Float64},
outflow_rate::Vector{Float64},
storage_rate::Vector{Float64},
Expand Down Expand Up @@ -167,8 +167,8 @@ function basin_table(
return (;
time,
node_id,
storage,
level,
storage,
inflow_rate,
outflow_rate,
storage_rate,
Expand Down
2 changes: 1 addition & 1 deletion core/test/run_models_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
(
:time,
:node_id,
:storage,
:level,
:storage,
:inflow_rate,
:outflow_rate,
:storage_rate,
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/usage.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ column | type | unit
-------------- | ---------| ----
time | DateTime | -
node_id | Int32 | -
storage | Float64 | $\text{m}^3$
level | Float64 | $\text{m}$
storage | Float64 | $\text{m}^3$
inflow_rate | Float64 | $\text{m}^3/\text{s}$
outflow_rate | Float64 | $\text{m}^3/\text{s}$
storage_rate | Float64 | $\text{m}^3/\text{s}$
Expand Down

0 comments on commit 646e977

Please sign in to comment.