From 9656216d5b51e1cb7df3af51b961240b46804879 Mon Sep 17 00:00:00 2001 From: Johan Hidding Date: Fri, 27 Sep 2024 21:32:25 +0200 Subject: [PATCH] include delta_t in toml output --- .entangled/filedb.json | 12 ++++++------ docs/src/data-export.md | 3 ++- src/Export.jl | 3 ++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.entangled/filedb.json b/.entangled/filedb.json index 7b6e851..d141c9c 100644 --- a/.entangled/filedb.json +++ b/.entangled/filedb.json @@ -75,10 +75,10 @@ }, { "deps": [], - "hexdigest": "e6c91e4a919e1286af187886c9236e2232c6485e5b40eda61984cfea43c069c9", - "modified": "2024-09-27T21:23:13.726173", + "hexdigest": "5f8b87dab7170a80d30664c653b53a3837514c065378b1117f0558eb3ac6110b", + "modified": "2024-09-27T21:32:08.413807", "path": "docs/src/data-export.md", - "size": 13105 + "size": 13150 }, { "deps": null, @@ -486,10 +486,10 @@ "deps": [ "docs/src/data-export.md" ], - "hexdigest": "77901cb1905090052300c86cf9bdadd1c244829363ed75abedb71373bf4d823c", - "modified": "2024-09-27T21:13:36.357476", + "hexdigest": "5c69ed432ed951e2c3c2ffc4264f8fdb70e72523effd34b0349875436c6488af", + "modified": "2024-09-27T21:27:56.077583", "path": "src/Export.jl", - "size": 8186 + "size": 8231 }, { "deps": [ diff --git a/docs/src/data-export.md b/docs/src/data-export.md index a425029..b0c1817 100644 --- a/docs/src/data-export.md +++ b/docs/src/data-export.md @@ -232,7 +232,8 @@ function data_export(spec::CSV, header::Header, data::Data) "global" => Dict( "tag" => header.tag, "subsidence_rate" => header.subsidence_rate, - "time_steps" => header.time_steps), + "time_steps" => header.time_steps, + "delta_t" => header.Δt), "locations" => [Dict( "number" => i, "x" => header.axes.x[loc[1]], diff --git a/src/Export.jl b/src/Export.jl index 54ff1ab..c2070bf 100644 --- a/src/Export.jl +++ b/src/Export.jl @@ -185,7 +185,8 @@ function data_export(spec::CSV, header::Header, data::Data) "global" => Dict( "tag" => header.tag, "subsidence_rate" => header.subsidence_rate, - "time_steps" => header.time_steps), + "time_steps" => header.time_steps, + "delta_t" => header.Δt), "locations" => [Dict( "number" => i, "x" => header.axes.x[loc[1]],