ARGODEV-158: convert map_data_grid
Jira Issue
ARGODEV-158: https://jira.ceh.ac.uk/browse/ARGODEV-158
Python Implementation
Exactly the same as the matlab implementation.
Also edited covar_xyt_pv so that it could take 1-dimensional data.
Testing
3 tests were written for this function, and removed one test from covar_xyt_pv:
- Test that we receive the correct data types
- Test that the data returned is the size we expect
- Test that the data is the value we expect
Altered the covar_xyt_pv test because that function will now never throw the error that we were catching
Old Matlab Implementation
Uses the signal variance and noise variance to calculate the covariance function with errors. This is then used to apply different weights when comparing the historical data to the current float data.