while using pyowc.calibration.calc_piecewisefit with floats with more than 256 profiles, there would be a error as below:
File /lib/python3.8/site-packages/pyowc/calibration.py:653
in calc_piecewisefit(float_dir, float_name, system_config)
line 653 pcond_factor[0][calindex] = condslope
ValueError: shape mismatch: value array of shape (256,) could not be broadcast to indexing result of shape (440,)
This error happens every time OWC tries to calculate fit for a float with a large number of profiles.