Closed kamwal closed 4 years ago
@kamwal Can you also just attach the outputs that disagree? Just in a comment, so I have the actual numbers too. Thanks.
Matlab output from right (fcoef), Python output from left (fcoef_py)
Just a note, the above images are the wrong way round: python output on the right, matlab output on the left.
In the zip file I included source and mapped file
Problem with calculation:
A[0] = A[0] * y_scale * y_0
should be A[0] = A[0] * y_scale + y_0
Fixed in https://github.com/euroargodev/argodmqc_owc/pull/40
@kamwal the branch is set up so that you can just run the analysis with the float that caused the issue. When it is confirmed as fix, I will remove the float from the branch before merging
I found that in Python output, in cal_.mat the "fcoef" variable has size 1x4. All of these four values in the row have the same number. That is in disagreement with output from Matlab, where the size of "fcoef" in 1x2 and these two values have different number.
WMO: 1901847 Reference data: CTD_for_DMQC_2019V01 WMO boxes: wmo_boxes_ctd.mat set_calseries:
` # Config calseries parameters
Canfiguration: ` # Objective Mapping Parameters #