1) extract from a NetCDF file the longitude, latidude, and their dimensions and make sure it is 1D or 2D arrays or 2) given longitude and latitude arrays get their dimensions and make sure they are 1D or 2D arrays
This function returns the longitude and latitude [lon, lat] of a point a given arc distance (-pi <= Arc_Dist <= pi), and azimuth (Az), from a specified location Lon0, lat0.
warm (or map) an arbitrary quadrilateral onto a unit square according to the 4-point correspondences: (x0,y0) -> (0,0) (x1,y1) -> (1,0) (x2,y2) -> (1,1) (x3,y3) -> (0,1) This is the inverse function of square2quadrilateral.
Given the arrays X and Y, which tabulate a function (with the X[i] AND Y[i] in ascending order), and given an input value X2, the SPL_INCR function returns an interpolated value for the given values of X2.
Given the arrays X and Y, which tabulate a function (with the X[i] AND Y[i] in ascending order), and given an input value X2, the SPL_INCR function returns an interpolated value for the given values of X2.
warm (or map) a unit square onto an arbitrary quadrilateral according to the 4-point correspondences: (0,0) -> (x0,y0) (1,0) -> (x1,y1) (1,1) -> (x2,y2) (0,1) -> (x3,y3) The mapping is done using perspective transformation which preserve lines in all orientations and permit quadrilateral to quadrilateral mappings.