From 646e977d6cbac7155e2b91fdc078f788c5083138 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Thu, 12 Dec 2024 11:14:42 +0100 Subject: [PATCH] Put level as the first column in basin.arrow --- core/src/write.jl | 4 ++-- core/test/run_models_test.jl | 2 +- docs/reference/usage.qmd | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/write.jl b/core/src/write.jl index b81e5d01d..6edc3013b 100644 --- a/core/src/write.jl +++ b/core/src/write.jl @@ -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}, @@ -167,8 +167,8 @@ function basin_table( return (; time, node_id, - storage, level, + storage, inflow_rate, outflow_rate, storage_rate, diff --git a/core/test/run_models_test.jl b/core/test/run_models_test.jl index 72c541320..696676119 100644 --- a/core/test/run_models_test.jl +++ b/core/test/run_models_test.jl @@ -45,8 +45,8 @@ ( :time, :node_id, - :storage, :level, + :storage, :inflow_rate, :outflow_rate, :storage_rate, diff --git a/docs/reference/usage.qmd b/docs/reference/usage.qmd index 2ea46dab7..d9f24c625 100644 --- a/docs/reference/usage.qmd +++ b/docs/reference/usage.qmd @@ -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}$