From da09252e8dceb2401ab3e267292e57de362e77f9 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Sun, 7 Dec 2025 10:19:46 +0100 Subject: [PATCH] jfjoch_broker: Default for plot generation is no binning --- broker/JFJochBrokerHttp.cpp | 2 +- broker/jfjoch_api.yaml | 1 + broker/redoc-static.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/broker/JFJochBrokerHttp.cpp b/broker/JFJochBrokerHttp.cpp index 95c6040e..858511d1 100644 --- a/broker/JFJochBrokerHttp.cpp +++ b/broker/JFJochBrokerHttp.cpp @@ -563,7 +563,7 @@ void JFJochBrokerHttp::preview_plot_get(const std::optional &type, PlotRequest req{ .type = ConvertPlotType(type), - .binning = 0, + .binning = 1, .experimental_coord = experimentalCoord.value_or(false), .azint_unit = unit, .fill_value = fill diff --git a/broker/jfjoch_api.yaml b/broker/jfjoch_api.yaml index a4f99348..bc32b170 100644 --- a/broker/jfjoch_api.yaml +++ b/broker/jfjoch_api.yaml @@ -37,6 +37,7 @@ components: binning: in: query name: binning + default: 1 required: false schema: type: integer diff --git a/broker/redoc-static.html b/broker/redoc-static.html index a7e5c455..a3c92cd1 100644 --- a/broker/redoc-static.html +++ b/broker/redoc-static.html @@ -1426,7 +1426,7 @@ then image might be replaced in the buffer between calling /images and /image.cb " class="sc-eVqvcJ sc-fszimp kIppRw drqpJr">

Test Jungfraujoch system

http://localhost:5232/version