public class ArrayUtil extends Object
| 构造器 | 说明 |
|---|---|
ArrayUtil() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Array |
argSort(Array a,
Integer axis) |
Get sorted array index along an axis
|
static Array |
array(Object data) |
Create an array
|
static Array |
array(Object data,
DataType dt) |
Create an array
|
static Array |
array_list(List data,
DataType dt) |
Create an array
|
static Array |
arrayRange(Number start,
Number stop,
Number step) |
Array range
|
static Array |
arrayRange_bak(Number start,
Number stop,
Number step) |
Array range
|
static Array |
arrayRange1(Number start,
int length,
Number step) |
Array range
|
static Array |
broadcast(Array a,
int[] shape) |
Broadcast array to a new shape
|
static Array |
broadcast(Array a,
List<Integer> shape) |
Broadcast array to a new shape
|
static Array |
concatenate(List<Array> arrays,
Integer axis) |
Concatenate arrays to one array along a axis
|
static Array |
concatenate(Array a,
Array b,
Integer axis) |
Concatenate two arrays to one array along a axis
|
static String |
convertToString(Array a) |
Array to string
|
protected static void |
copyTo1DJavaArray(IndexIterator iter,
Object javaArray) |
|
protected static void |
copyTo1DJavaArray_Long(IndexIterator iter,
Object javaArray) |
|
static Object |
copyToNDJavaArray(Array a) |
Convert array to N-Dimension double Java array
|
static Object |
copyToNDJavaArray(Array a,
String dtype) |
Convert array to N-Dimension double Java array
|
static Object |
copyToNDJavaArray_Double(Array a) |
Convert array to N-Dimension double Java array
|
static Object |
copyToNDJavaArray_Long(Array a) |
Convert array to N-Dimension double Java array
|
static Array |
cressman(List<Number> x_s,
List<Number> y_s,
Array v_s,
List<Number> X,
List<Number> Y,
List<Number> radList) |
Cressman analysis
|
static Array |
cressman_bak(List<Number> x_s,
List<Number> y_s,
Array v_s,
List<Number> X,
List<Number> Y,
List<Number> radList) |
Cressman analysis
|
static String |
dataTypeString(DataType dt) |
Get data type string
|
static Array |
delete(Array a,
int idx,
int axis) |
Return a new array with sub-arrays along an axis deleted
|
static Array |
delete(Array a,
List<Integer> idx,
int axis) |
Return a new array with sub-arrays along an axis deleted
|
static Array |
diag(Array a,
int k) |
Extract a diagonal or construct a diagonal array.
|
static Array[] |
extendHalfCell(Array x,
Array y) |
Extend the grid to half cell, so the grid points are the centers of the
cells
|
static Array |
eye(int n,
int m,
int k,
String dtype) |
Return a 2-D array with ones on the diagonal and zeros elsewhere.
|
static Object[] |
findIndices(List<List<Number>> points,
List<Number> xi) |
Find indices
|
static Object[] |
findIndices(List<Array> points,
Array xi) |
Find indices
|
static Array |
full(List<Integer> shape,
Object fillValue,
DataType dtype) |
Return a new array of given shape and type, filled with fill value.
|
static int |
getDimIndex(Array dim,
double v) |
Get value index in a dimension array
|
static List<Array> |
histogram(Array a,
double[] bins) |
Histogram x/y array
|
static List<Array> |
histogram(Array a,
int nbins) |
Histogram x/y array
|
static List<Array> |
histogram(Array a,
Array bins) |
Histogram x/y array
|
static Array |
identity(int n,
String dtype) |
Return the identity array - a square array with ones on the main
diagonal.
|
static Array |
interpn(List<Array> points,
Array values,
List<Array> xi) |
Multidimensional interpolation on regular grids.
|
static Object |
interpn(List<Array> points,
Array values,
Array xi) |
Multidimensional interpolation on regular grids.
|
static double |
interpn_s(List<List<Number>> points,
Array values,
List<Number> xi) |
Multidimensional interpolation on regular grids.
|
static double |
interpn_s(List<Array> points,
Array values,
Array xi) |
Multidimensional interpolation on regular grids.
|
Array |
interpolate(Array a,
List<Number> X,
List<Number> Y) |
Interpolate array data
|
static Array |
interpolate_1d(double x,
Array xp,
Array a,
int axis) |
Interpolates data with any shape over a specified axis.
|
static Array |
interpolate_1d(Array xa,
Array xp,
Array a,
int axis) |
Interpolates data with any shape over a specified axis.
|
static Array |
interpolation_IDW_Neighbor(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y,
Integer points) |
Interpolation with IDW neighbor method
|
static Array |
interpolation_IDW_Radius(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y,
int neededPointNum,
double radius) |
Interpolation with IDW radius method
|
static Array |
interpolation_Inside(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y) |
Interpolate with inside method - The grid cell value is the average value
of the inside points or fill value if no inside point.
|
static Array |
interpolation_Inside(Array x_s,
Array y_s,
Array a,
Array X,
Array Y,
boolean center) |
Interpolate with inside method - The grid cell value is the average value
of the inside points or fill value if no inside point.
|
static Object |
interpolation_Inside_Count(List<Number> x_s,
List<Number> y_s,
List<Number> X,
List<Number> Y,
boolean pointDensity,
boolean centerPoint) |
Interpolate with inside method - The grid cell value is the count number
of the inside points or fill value if no inside point.
|
static Array |
interpolation_Inside_Max(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y) |
Interpolate with inside method - The grid cell value is the maximum value
of the inside points or fill value if no inside point.
|
static Array |
interpolation_Inside_Min(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y) |
Interpolate with inside method - The grid cell value is the minimum value
of the inside points or fill value if no inside point.
|
static Array |
interpolation_Nearest(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y,
double radius) |
Interpolate with nearest method
|
static Array |
interpolation_Nearest_1(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y,
double radius,
double fill_value) |
Interpolate with nearest method
|
static Array |
interpolation_Nearest_bak(List<Number> x_s,
List<Number> y_s,
Array a,
List<Number> X,
List<Number> Y,
double radius) |
Interpolate with nearest method
|
static Array |
lineSpace(Number start,
Number stop,
int n,
boolean endpoint) |
Array line space
|
static Array |
lineSpace_bak(Number start,
Number stop,
int n,
boolean endpoint) |
Array line space
|
static Array |
linint2(Array a,
Array X,
Array Y,
Array newX,
Array newY) |
Interpolates from a rectilinear grid to another rectilinear grid using
bilinear interpolation.
|
static DataType |
mergeDataType(DataType dt1,
DataType dt2) |
Merge data type to one data type
|
static Array[] |
meshgrid(Array... xs) |
Mesh grid
|
static Array[] |
meshgrid(Array x,
Array y) |
Mesh grid
|
static int |
numASCIICol(String fileName,
String delimiter,
int headerLines) |
Get row number of a ASCII file
|
static int |
numASCIIRow(String fileName) |
Get row number of a ASCII file
|
static Array |
ones(int n) |
Get ones array
|
static Array |
ones(List<Integer> shape,
String dtype) |
Get ones array
|
static double |
rand() |
Get random value
|
static Array |
rand(int n) |
Get random array - one dimension
|
static Array |
rand(List<Integer> shape) |
Get random array
|
static Array |
readASCIIFile(String fileName,
String delimiter,
int headerLines,
String dataType,
List<Integer> shape,
boolean readFirstCol) |
Read ASCII data file to an array
|
static Array |
readBinFile(String fn,
List<Integer> dims,
String dataType,
int skip,
String byteOrder) |
Read array from a binary file
|
static Array |
repeat(Number v,
int n) |
Repeat a value n times
|
static Array |
repeat(Array a,
List<Integer> repeats) |
Repeat elements of an array.
|
static Array |
repeat(Array a,
List<Integer> repeats,
int axis) |
Repeat elements of an array.
|
static Array |
resample_Bilinear(Array a,
List<Number> X,
List<Number> Y,
List<Number> newX,
List<Number> newY) |
Resample grid array with bilinear method
|
static Array |
resample_Bilinear(Array a,
Array X,
Array Y,
Array newX,
Array newY) |
Resample grid array with bilinear method
|
static Array |
resample_Neighbor(Array a,
Array X,
Array Y,
Array newX,
Array newY) |
Resample grid array with neighbor method
|
static void |
saveASCIIFile(String fn,
Array a,
int colNum,
String format,
String delimiter) |
Save an array data to a ASCII file
|
static void |
saveBinFile(String fn,
Array a,
String byteOrder,
boolean append,
boolean sequential) |
Save an array data to a binary file
|
static int |
searchSorted(List<Number> a,
double v) |
Search sorted list index
|
static int |
searchSorted(Array a,
double v) |
Search sorted list index
|
static Array |
smooth5(Array a) |
Smooth with 5 points
|
static Array |
smooth5(Array a,
int rowNum,
int colNum,
double unDefData) |
Smooth with 5 points
|
static Array |
smooth9(Array a) |
Smooth with 9 points
|
static Array |
sort(Array a,
Integer axis) |
Sort array along an axis
|
static Array |
tile(Number v,
int n) |
Repeat a value n times
|
static Array |
tile(Number v,
List<Integer> repeats) |
Repeat a value n times
|
static Array |
tile(Array a,
List<Integer> repeats) |
Repeat elements of an array.
|
static Array |
toBoolean(Array a) |
Convert array to boolean type
|
static DataType |
toDataType(String dt) |
To data type - ucar.ma2
|
static Array |
toDouble(Array a) |
Convert array to double type
|
static Array |
toFloat(Array a) |
Convert array to float type
|
static Array |
toInteger(Array a) |
Convert array to integer type
|
static double |
toStation(Array data,
List<Number> xArray,
List<Number> yArray,
double x,
double y) |
Interpolate data to a station point
|
static double |
toStation(Array data,
List<Number> xArray,
List<Number> yArray,
double x,
double y,
double missingValue) |
Interpolate data to a station point
|
static double |
toStation(Array data,
Array xArray,
Array yArray,
double x,
double y) |
Interpolate data to a station point
|
static double |
toStation_Neighbor(Array data,
List<Number> xArray,
List<Number> yArray,
double x,
double y) |
Interpolate data to a station point
|
static double |
toStation_Neighbor(Array data,
List<Number> xArray,
List<Number> yArray,
double x,
double y,
double missingValue) |
Interpolate data to a station point
|
static double |
toStation_Neighbor(Array data,
Array xArray,
Array yArray,
double x,
double y) |
Interpolate data to a station point
|
static String |
toString_old(Array a) |
Array to string
|
static Array |
zeros(int n) |
Get zero array
|
static Array |
zeros(List<Integer> shape,
String dtype) |
Get zero array
|
static Array |
zeros(List<Integer> shape,
DataType dtype) |
Get zero array
|
public static Array readASCIIFile(String fileName, String delimiter, int headerLines, String dataType, List<Integer> shape, boolean readFirstCol) throws UnsupportedEncodingException, FileNotFoundException, IOException
fileName - File namedelimiter - DelimiterheaderLines - Headerline numberdataType - Data type stringshape - ShapereadFirstCol - Read first column data or notUnsupportedEncodingExceptionFileNotFoundExceptionIOExceptionpublic static int numASCIIRow(String fileName) throws FileNotFoundException
fileName - File nameFileNotFoundExceptionpublic static int numASCIICol(String fileName, String delimiter, int headerLines) throws FileNotFoundException, IOException
fileName - File namedelimiter - headerLines - FileNotFoundExceptionIOExceptionpublic static void saveBinFile(String fn, Array a, String byteOrder, boolean append, boolean sequential)
fn - File patha - ArraybyteOrder - Byte orderappend - If append to existing filesequential - If write as sequential binary file - Fortranpublic static void saveASCIIFile(String fn, Array a, int colNum, String format, String delimiter) throws IOException
fn - File patha - ArraycolNum - Column number of each lineformat - String formatdelimiter - DelimiterIOExceptionpublic static Array readBinFile(String fn, List<Integer> dims, String dataType, int skip, String byteOrder)
fn - Binary file namedims - DimensionsdataType - Data type stringskip - Skip bytesbyteOrder - Byte orderpublic static Array array(Object data, DataType dt)
data - Objectdt - Data typepublic static Array array_list(List data, DataType dt)
data - Array like datadt - Data typepublic static Array arrayRange_bak(Number start, Number stop, Number step)
start - Start valuestop - Stop valuestep - Step valuepublic static Array arrayRange(Number start, Number stop, Number step)
start - Start valuestop - Stop valuestep - Step valuepublic static Array arrayRange1(Number start, int length, Number step)
start - Start valuelength - Lengthstep - Step valuepublic static Array lineSpace(Number start, Number stop, int n, boolean endpoint)
start - Start valuestop - Stop valuen - Number valueendpoint - If stop is includedpublic static Array lineSpace_bak(Number start, Number stop, int n, boolean endpoint)
start - Start valuestop - Stop valuen - Number valueendpoint - If stop is includedpublic static Array zeros(int n)
n - Numberpublic static Array zeros(List<Integer> shape, String dtype)
shape - Shapedtype - Data typepublic static Array zeros(List<Integer> shape, DataType dtype)
shape - Shapedtype - Data typepublic static Array full(List<Integer> shape, Object fillValue, DataType dtype)
shape - ShapefillValue - Fill valuedtype - Data typepublic static Array ones(int n)
n - Numberpublic static Array ones(List<Integer> shape, String dtype)
shape - Shapedtype - Data typepublic static Array identity(int n, String dtype)
n - Number of rows (and columns) in n x n output.dtype - Data typepublic static Array eye(int n, int m, int k, String dtype)
n - Number of rows in the output.m - Number of columns in the output.k - Index of the diagonal: 0 (the default) refers to the main
diagonal, a positive value refers to an upper diagonal, and a negative
value to a lower diagonal.dtype - Data typepublic static Array diag(Array a, int k)
a - If a is a 2-D array, return a copy of its k-th diagonal. If a is
a 1-D array, return a 2-D array with a on the k-th diagonal.k - Diagonal in question.public static Array repeat(Number v, int n)
v - The valuen - N timespublic static Array repeat(Array a, List<Integer> repeats)
a - The valuerepeats - The number of repetitions for each elementpublic static Array repeat(Array a, List<Integer> repeats, int axis)
a - The valuerepeats - The number of repetitions for each elementaxis - The axispublic static Array tile(Number v, int n)
v - The valuen - N timespublic static Array tile(Number v, List<Integer> repeats)
v - The valuerepeats - The number of repetitions for each elementpublic static Array tile(Array a, List<Integer> repeats)
a - The valuerepeats - The number of repetitions for each elementpublic static double rand()
public static Array rand(int n)
n - Array lengthpublic static Array rand(List<Integer> shape)
shape - Shapepublic static DataType mergeDataType(DataType dt1, DataType dt2)
dt1 - Data type 1dt2 - Data type 2public static String convertToString(Array a)
a - Array apublic static String dataTypeString(DataType dt)
dt - The data typepublic static DataType toDataType(String dt)
dt - Data type stringpublic static Array toInteger(Array a)
a - Array apublic static Array toFloat(Array a)
a - Array apublic static Array toDouble(Array a)
a - Array apublic static Array toBoolean(Array a)
a - Array apublic static Array concatenate(List<Array> arrays, Integer axis) throws InvalidRangeException
arrays - Array listaxis - The axisInvalidRangeExceptionpublic static Array concatenate(Array a, Array b, Integer axis) throws InvalidRangeException
a - Array ab - Array baxis - The axisInvalidRangeExceptionpublic static Array sort(Array a, Integer axis) throws InvalidRangeException
a - Array aaxis - The axisInvalidRangeExceptionpublic static Array argSort(Array a, Integer axis) throws InvalidRangeException
a - Array aaxis - The axisInvalidRangeExceptionpublic static Object copyToNDJavaArray(Array a, String dtype)
a - Array adtype - Data type stringpublic static Object copyToNDJavaArray(Array a)
a - Array apublic static Object copyToNDJavaArray_Long(Array a)
a - Array apublic static Object copyToNDJavaArray_Double(Array a)
a - Array aprotected static void copyTo1DJavaArray(IndexIterator iter, Object javaArray)
protected static void copyTo1DJavaArray_Long(IndexIterator iter, Object javaArray)
public static Array delete(Array a, int idx, int axis)
a - Input arrayidx - Indexaxis - The axispublic static Array delete(Array a, List<Integer> idx, int axis)
a - Input arrayidx - Indexaxis - The axispublic static List<Array> histogram(Array a, int nbins)
a - Data arraynbins - bin numberpublic static List<Array> histogram(Array a, Array bins)
a - Data arraybins - bin edgespublic static List<Array> histogram(Array a, double[] bins)
a - Data arraybins - bin edgespublic static Array broadcast(Array a, int[] shape)
a - Array ashape - Shapepublic static Array broadcast(Array a, List<Integer> shape)
a - Array ashape - Shapepublic static Array[] meshgrid(Array x, Array y)
x - X array - vectory - Y array - vectorpublic static Array[] meshgrid(Array... xs)
xs - X arrayspublic static Array smooth5(Array a, int rowNum, int colNum, double unDefData)
a - ArrayrowNum - Row numbercolNum - Column numberunDefData - Missing valuepublic static Array interpolation_IDW_Radius(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y, int neededPointNum, double radius)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - grid X arrayY - grid Y arrayneededPointNum - needed at least point numberradius - search radiuspublic static Array interpolation_IDW_Neighbor(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y, Integer points)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - grid X arrayY - grid Y arraypoints - Number of points used for interpolationpublic static Array interpolation_Nearest_1(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y, double radius, double fill_value)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - x coordinateY - y coordinateradius - Radiusfill_value - undefine valuepublic static Array interpolation_Nearest_bak(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y, double radius)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - x coordinateY - y coordinateradius - Radiuspublic static Array interpolation_Nearest(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y, double radius)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - x coordinateY - y coordinateradius - Radiuspublic static Array[] extendHalfCell(Array x, Array y)
x - Input x coordinatey - Input y coordinatepublic static Array interpolation_Inside(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - x coordinateY - y coordinatepublic static Array interpolation_Inside(Array x_s, Array y_s, Array a, Array X, Array Y, boolean center)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - x coordinateY - y coordinatecenter - If the grid point is center or borderpublic static Array interpolation_Inside_Max(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - x coordinateY - y coordinatepublic static Array interpolation_Inside_Min(List<Number> x_s, List<Number> y_s, Array a, List<Number> X, List<Number> Y)
x_s - scatter X arrayy_s - scatter Y arraya - scatter value arrayX - x coordinateY - y coordinatepublic static Object interpolation_Inside_Count(List<Number> x_s, List<Number> y_s, List<Number> X, List<Number> Y, boolean pointDensity, boolean centerPoint)
x_s - scatter X arrayy_s - scatter Y arrayX - x coordinateY - y coordinatepointDensity - If return point density valuecenterPoint - points locate at center or border of gridpublic static Array cressman(List<Number> x_s, List<Number> y_s, Array v_s, List<Number> X, List<Number> Y, List<Number> radList)
x_s - scatter X arrayy_s - scatter Y arrayv_s - scatter value arrayX - x arrayY - y arrayradList - radii listpublic static Array cressman_bak(List<Number> x_s, List<Number> y_s, Array v_s, List<Number> X, List<Number> Y, List<Number> radList)
x_s - scatter X arrayy_s - scatter Y arrayv_s - scatter value arrayX - x arrayY - y arrayradList - radii listpublic static Array linint2(Array a, Array X, Array Y, Array newX, Array newY)
a - The sample arrayX - X coordinate of the sample arrayY - Y coordinate of the sample arraynewX - X coordinate of the query pointsnewY - Y coordinate of the query pointspublic static Array resample_Bilinear(Array a, List<Number> X, List<Number> Y, List<Number> newX, List<Number> newY)
a - The sample arrayX - X coordinate of the sample arrayY - Y coordinate of the sample arraynewX - X coordinate of the query pointsnewY - Y coordinate of the query pointspublic static Array resample_Bilinear(Array a, Array X, Array Y, Array newX, Array newY)
a - The sample arrayX - X coordinate of the sample arrayY - Y coordinate of the sample arraynewX - X coordinate of the query pointsnewY - Y coordinate of the query pointspublic static Array resample_Neighbor(Array a, Array X, Array Y, Array newX, Array newY)
a - The sample arrayX - X coordinate of the sample arrayY - Y coordinate of the sample arraynewX - X coordinate of the query pointsnewY - Y coordinate of the query pointspublic Array interpolate(Array a, List<Number> X, List<Number> Y)
a - ArrayX - X coordinatesY - Y coordinatespublic static double interpn_s(List<List<Number>> points, Array values, List<Number> xi)
points - The points defining the regular grid in n dimensions.values - The data on the regular grid in n dimensions.xi - The coordinates to sample the gridded data atpublic static double interpn_s(List<Array> points, Array values, Array xi)
points - The points defining the regular grid in n dimensions.values - The data on the regular grid in n dimensions.xi - The coordinates to sample the gridded data atpublic static Array interpn(List<Array> points, Array values, List<Array> xi)
points - The points defining the regular grid in n dimensions.values - The data on the regular grid in n dimensions.xi - The coordinates to sample the gridded data at - 2Dpublic static Object interpn(List<Array> points, Array values, Array xi) throws InvalidRangeException
points - The points defining the regular grid in n dimensions.values - The data on the regular grid in n dimensions.xi - The coordinates to sample the gridded data at - 2Ducar.ma2.InvalidRangeExceptionInvalidRangeExceptionpublic static Object[] findIndices(List<List<Number>> points, List<Number> xi)
points - The points defining the regular grid in n dimensions.xi - The coordinates to sample the gridded data atpublic static Object[] findIndices(List<Array> points, Array xi)
points - The points defining the regular grid in n dimensions.xi - The coordinates to sample the gridded data atpublic static int searchSorted(List<Number> a, double v)
a - Sorted listv - valuepublic static int searchSorted(Array a, double v)
a - Sorted listv - valuepublic static Array interpolate_1d(double x, Array xp, Array a, int axis) throws InvalidRangeException
x - Desired interpolated valuexp - The x-coordinates of the data points.a - The data to be interpolated.axis - The axis to interpolate over.InvalidRangeExceptionpublic static Array interpolate_1d(Array xa, Array xp, Array a, int axis) throws InvalidRangeException
xa - Desired interpolated valuesxp - The x-coordinates of the data points.a - The data to be interpolated.axis - The axis to interpolate over.InvalidRangeExceptionpublic static double toStation(Array data, List<Number> xArray, List<Number> yArray, double x, double y, double missingValue)
data - Data arrayxArray - X arrayyArray - Y arrayx - X coordinate of the stationy - Y coordinate of the stationmissingValue - Missing valuepublic static double toStation(Array data, List<Number> xArray, List<Number> yArray, double x, double y)
data - Data arrayxArray - X arrayyArray - Y arrayx - X coordinate of the stationy - Y coordinate of the stationpublic static int getDimIndex(Array dim, double v)
dim - Dimension arrayv - The valuepublic static double toStation(Array data, Array xArray, Array yArray, double x, double y)
data - Data arrayxArray - X arrayyArray - Y arrayx - X coordinate of the stationy - Y coordinate of the stationpublic static double toStation_Neighbor(Array data, List<Number> xArray, List<Number> yArray, double x, double y, double missingValue)
data - Data arrayxArray - X arrayyArray - Y arrayx - X coordinate of the stationy - Y coordinate of the stationmissingValue - Missing valuepublic static double toStation_Neighbor(Array data, List<Number> xArray, List<Number> yArray, double x, double y)
data - Data arrayxArray - X arrayyArray - Y arrayx - X coordinate of the stationy - Y coordinate of the stationCopyright © 2019. All rights reserved.