ARGODEV-153: convert interp_climatology
Jira Issue
ARGODEV-153 (https://jira.ceh.ac.uk/browse/ARGODEV-153)
Python Implementation
Same as matlab
Testing
Because this algorithm is doing a lot of leg work, and data sets can be large and confusing, I imported matrices from the matlab version to test all the values were correct. Specifically:
- Test that an error is thrown if there is no good data available
- Test that the shape of the returned matrices is correct A) for salinity vs pressure and B) each of the calculated salinity and pressure matrices against the matlab answer
- Test that each element in the python version matches the matlab version
Old Matlab Implementation
Interpolates old climatology data so that we have values existing on the same theta levels as the current float profile.