Closed sambles closed 9 months ago
After speaking with @johcarter, we should handle this in the same was we do with eltcalc
: if samplesize_ = 1
, then the standard deviation is set to 0. This makes sense as if there is only one sample, the mean would be the loss value of that sample and the standard deviation would be 0.
Issue Description
The value
-NaN
is appearing In the PiWind expected output data all_outputs/output/gul_S1_pltcalc.csvhttps://github.com/OasisLMF/ktools/blob/9b2ccef55a5297b94d653c7add1215657a977ef9/src/pltcalc/pltcalc.cpp#L547