Process 2D data from a csv file. Assumes data is in the form of a three columns and that all data points lie on a regular grid. The first column is assumed to be the ‘slowest’ changing variable and the second column the ‘fastest’ changing variable, which is the C convention for indexing multidimensional arrays (as opposed to the Fortran convention where the ‘fastest’ changing variable comes first).
formatted_data – A tuple containing the name of the function and the data formatted correctly for use within three-dimensional interpolants.
Process 3D data from a csv file. Assumes data is in the form of four columns and that all data points lie on a regular grid. The first column is assumed to be the ‘slowest’ changing variable and the third column the ‘fastest’ changing variable, which is the C convention for indexing multidimensional arrays (as opposed to the Fortran convention where the ‘fastest’ changing variable comes first).
formatted_data – A tuple containing the name of the function and the data formatted correctly for use within three-dimensional interpolants.