From 02744ee6e69a4db0cc5bbb88a54e5750ed886659 Mon Sep 17 00:00:00 2001 From: Michael Berg-Mohnicke Date: Tue, 5 Nov 2024 14:03:18 +0100 Subject: [PATCH] removed accidental debug code --- src/run/run-monica-capnp.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/run/run-monica-capnp.cpp b/src/run/run-monica-capnp.cpp index 4ca5137..fb99c16 100644 --- a/src/run/run-monica-capnp.cpp +++ b/src/run/run-monica-capnp.cpp @@ -111,8 +111,6 @@ kj::Promise RunMonica::run(RunContext context) }; auto proms = kj::heapArrayBuilder>(2); - //DataAccessor da; - //J11Array soilLayers; if (envR.hasTimeSeries()) { auto ts = envR.getTimeSeries(); @@ -143,11 +141,7 @@ kj::Promise RunMonica::run(RunContext context) auto rs = context.getResults(); auto res = rs.initResult(); res.initStructure().setJson(); - //auto v = res.initValue(8120); - std::cout << out.toString() << std::endl; - std::stringstream oss; - for(int i = 0; i < 8104; i++) oss << '.'; //v[i] = '.'; - res.setValue(oss.str());//out.toString()); + res.setValue(out.toString()); }, [context](auto &&e) mutable { KJ_LOG(INFO, "Error while trying to gather soil and/or time series data: ", e); auto rs = context.getResults();