Bug fix: NaN data
Jira Issue
None, tracked in guthub: https://github.com/euroargodev/User-Acceptance-Test-Python-version-of-the-OWC-tool/issues/2
Python Implementation
When we have found our best historical data, check that the salinity and pressure associated with the climatology has at least some data. If no data is present, we delete this column.
Testing
Check that a nan column is removed from the data set
Old Matlab Implementation
Matlab simply returns 1
if it cannot find the minimum of a matrix, so whilst we can use the matlab data in the matlab version, this behaviour is not predictable and is undefined, so removing the bad data is a better option