|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Array | |
|---|---|
| ucar.ma2 | Multidimensional arrays of primitives and objects with data stored in memory. |
| ucar.nc2 | Java-NetCDF API, version 2.2. |
| ucar.nc2.dataset | An extension to the netCDF API which provides support for coordinate systems, scale/offset/missing data, and NcML. |
| ucar.nc2.dt | Scientific data types package. |
| Uses of Array in ucar.ma2 |
|---|
| Subclasses of Array in ucar.ma2 | |
|---|---|
class |
ArrayBoolean
Concrete implementation of Array specialized for booleans. |
static class |
ArrayBoolean.D0
Concrete implementation of Array specialized for byte, rank 0. |
static class |
ArrayBoolean.D1
Concrete implementation of Array specialized for boolean, rank 1. |
static class |
ArrayBoolean.D2
Concrete implementation of Array specialized for boolean, rank 2. |
static class |
ArrayBoolean.D3
Concrete implementation of Array specialized for boolean, rank 3. |
static class |
ArrayBoolean.D4
Concrete implementation of Array specialized for boolean, rank 4. |
static class |
ArrayBoolean.D5
Concrete implementation of Array specialized for boolean, rank 5. |
static class |
ArrayBoolean.D6
Concrete implementation of Array specialized for boolean, rank 6. |
static class |
ArrayBoolean.D7
Concrete implementation of Array specialized for boolean, rank 7. |
class |
ArrayByte
Concrete implementation of Array specialized for bytes. |
static class |
ArrayByte.D0
Concrete implementation of Array specialized for byte, rank 0. |
static class |
ArrayByte.D1
Concrete implementation of Array specialized for byte, rank 1. |
static class |
ArrayByte.D2
Concrete implementation of Array specialized for byte, rank 2. |
static class |
ArrayByte.D3
Concrete implementation of Array specialized for byte, rank 3. |
static class |
ArrayByte.D4
Concrete implementation of Array specialized for byte, rank 4. |
static class |
ArrayByte.D5
Concrete implementation of Array specialized for byte, rank 5. |
static class |
ArrayByte.D6
Concrete implementation of Array specialized for byte, rank 6. |
static class |
ArrayByte.D7
Concrete implementation of Array specialized for byte, rank 7. |
class |
ArrayChar
Concrete implementation of Array specialized for chars. |
static class |
ArrayChar.D0
Concrete implementation of Array specialized for char, rank 0. |
static class |
ArrayChar.D1
Concrete implementation of Array specialized for char, rank 1. |
static class |
ArrayChar.D2
Concrete implementation of Array specialized for char, rank 2. |
static class |
ArrayChar.D3
Concrete implementation of Array specialized for char, rank 3. |
static class |
ArrayChar.D4
Concrete implementation of Array specialized for char, rank 4. |
static class |
ArrayChar.D5
Concrete implementation of Array specialized for char, rank 5. |
static class |
ArrayChar.D6
Concrete implementation of Array specialized for char, rank 6. |
static class |
ArrayChar.D7
Concrete implementation of Array specialized for char, rank 7. |
class |
ArrayDouble
Concrete implementation of Array specialized for doubles. |
static class |
ArrayDouble.D0
Concrete implementation of Array specialized for doubles, rank 0. |
static class |
ArrayDouble.D1
Concrete implementation of Array specialized for doubles, rank 1. |
static class |
ArrayDouble.D2
Concrete implementation of Array specialized for doubles, rank 2. |
static class |
ArrayDouble.D3
Concrete implementation of Array specialized for doubles, rank 3. |
static class |
ArrayDouble.D4
Concrete implementation of Array specialized for doubles, rank 4. |
static class |
ArrayDouble.D5
Concrete implementation of Array specialized for doubles, rank 5. |
static class |
ArrayDouble.D6
Concrete implementation of Array specialized for doubles, rank 6. |
static class |
ArrayDouble.D7
Concrete implementation of Array specialized for doubles, rank 7. |
class |
ArrayFloat
Concrete implementation of Array specialized for floats. |
static class |
ArrayFloat.D0
Concrete implementation of Array specialized for floats, rank 0. |
static class |
ArrayFloat.D1
Concrete implementation of Array specialized for floats, rank 1. |
static class |
ArrayFloat.D2
Concrete implementation of Array specialized for floats, rank 2. |
static class |
ArrayFloat.D3
Concrete implementation of Array specialized for floats, rank 3. |
static class |
ArrayFloat.D4
Concrete implementation of Array specialized for floats, rank 4. |
static class |
ArrayFloat.D5
Concrete implementation of Array specialized for floats, rank 5. |
static class |
ArrayFloat.D6
Concrete implementation of Array specialized for floats, rank 6. |
static class |
ArrayFloat.D7
Concrete implementation of Array specialized for floats, rank 7. |
class |
ArrayInt
Concrete implementation of Array specialized for longs. |
static class |
ArrayInt.D0
Concrete implementation of Array specialized for ints, rank 0. |
static class |
ArrayInt.D1
Concrete implementation of Array specialized for ints, rank 1. |
static class |
ArrayInt.D2
Concrete implementation of Array specialized for ints, rank 2. |
static class |
ArrayInt.D3
Concrete implementation of Array specialized for ints, rank 3. |
static class |
ArrayInt.D4
Concrete implementation of Array specialized for ints, rank 4. |
static class |
ArrayInt.D5
Concrete implementation of Array specialized for ints, rank 5. |
static class |
ArrayInt.D6
Concrete implementation of Array specialized for ints, rank 6. |
static class |
ArrayInt.D7
Concrete implementation of Array specialized for ints, rank 7. |
class |
ArrayLong
Concrete implementation of Array specialized for longs. |
static class |
ArrayLong.D0
Concrete implementation of Array specialized for longs, rank 0. |
static class |
ArrayLong.D1
Concrete implementation of Array specialized for longs, rank 1. |
static class |
ArrayLong.D2
Concrete implementation of Array specialized for longs, rank 2. |
static class |
ArrayLong.D3
Concrete implementation of Array specialized for longs, rank 3. |
static class |
ArrayLong.D4
Concrete implementation of Array specialized for longs, rank 4. |
static class |
ArrayLong.D5
Concrete implementation of Array specialized for longs, rank 5. |
static class |
ArrayLong.D6
Concrete implementation of Array specialized for longs, rank 6. |
static class |
ArrayLong.D7
Concrete implementation of Array specialized for longs, rank 7. |
class |
ArrayObject
Concrete implementation of Array specialized for Objects. |
static class |
ArrayObject.D0
Concrete implementation of Array specialized for Objects, rank 0. |
static class |
ArrayObject.D1
Concrete implementation of Array specialized for Objects, rank 1. |
static class |
ArrayObject.D2
Concrete implementation of Array specialized for Objects, rank 2. |
static class |
ArrayObject.D3
Concrete implementation of Array specialized for Objects, rank 3. |
static class |
ArrayObject.D4
Concrete implementation of Array specialized for Objects, rank 4. |
static class |
ArrayObject.D5
Concrete implementation of Array specialized for Objects, rank 5. |
static class |
ArrayObject.D6
Concrete implementation of Array specialized for Objects, rank 6. |
static class |
ArrayObject.D7
Concrete implementation of Array specialized for Objects, rank 7. |
class |
ArraySequence
Handles nested sequences: a 1D array of variable length 1D arrays of StructureData. |
class |
ArrayShort
Concrete implementation of Array specialized for shorts. |
static class |
ArrayShort.D0
Concrete implementation of Array specialized for shorts, rank 0. |
static class |
ArrayShort.D1
Concrete implementation of Array specialized for shorts, rank 1. |
static class |
ArrayShort.D2
Concrete implementation of Array specialized for shorts, rank 2. |
static class |
ArrayShort.D3
Concrete implementation of Array specialized for shorts, rank 3. |
static class |
ArrayShort.D4
Concrete implementation of Array specialized for shorts, rank 4. |
static class |
ArrayShort.D5
Concrete implementation of Array specialized for shorts, rank 5. |
static class |
ArrayShort.D6
Concrete implementation of Array specialized for shorts, rank 6. |
static class |
ArrayShort.D7
Concrete implementation of Array specialized for shorts, rank 7. |
class |
ArrayStructure
Superclass for implementations of Array of StructureData. |
class |
ArrayStructureBB
Concrete implementation of ArrayStructure, data storage is in a ByteBuffer, which is converted to member data on the fly. |
class |
ArrayStructureBBpos
Variation of ArrayStructureBB, where the offsets into the ByteBuffer are uneven and must be passed in by the user. |
class |
ArrayStructureMA
Concrete implementation of ArrayStructure, data storage is in member arrays, which are converted to StructureData member data on the fly. |
class |
ArrayStructureW
Concrete implementation of ArrayStructure, with data storage in individual Arrays in StructureData objects. |
| Methods in ucar.ma2 that return Array | |
|---|---|
static Array |
MAMath.add(Array a,
Array b)
Add elements of two arrays together, allocating the result array. |
Array |
ArrayStructure.copy()
LOOK DO NOT USE, throws UnsupportedOperationException |
Array |
Array.copy()
Create a copy of this Array, copying the data so that physical order is the same as logical order |
Array |
ArrayStructure.createView(Index index)
LOOK DO NOT USE, throws UnsupportedOperationException |
static Array |
Array.factory(java.lang.Class classType,
int[] shape)
Generate new Array with given type and shape and zeroed storage. |
static Array |
Array.factory(java.lang.Class classType,
int[] shape,
java.lang.Object storage)
Generate new Array with given type, shape, storage. |
static Array |
Array.factory(DataType dataType,
int[] shape)
Generate new Array with given type and shape and zeroed storage. |
static Array |
Array.factory(java.lang.Object javaArray)
Generate a new Array from a java array of any rank and type. |
static Array |
Array.factoryConstant(java.lang.Class classType,
int[] shape,
java.lang.Object storage)
Generate new Array with given type and shape and an Index that allways return 0. |
Array |
StructureData.findMemberArray(java.lang.String memberName)
Deprecated. use getArray(String memberName), or getArray(StructureMembers.Member m) |
Array |
Array.flip(int dim)
Create a new Array using same backing store as this Array, by flipping the index so that it runs from shape[index]-1 to 0. |
Array |
ArrayStructureW.getArray(int recnum,
StructureMembers.Member m)
|
Array |
ArrayStructure.getArray(int recno,
StructureMembers.Member m)
Get member data array of any type as an Array. |
Array |
StructureData.getArray(java.lang.String memberName)
Get member data array of any type as an Array. |
Array |
StructureDataW.getArray(StructureMembers.Member m)
Get member data array of any type as an Array. |
Array |
StructureDataA.getArray(StructureMembers.Member m)
|
abstract Array |
StructureData.getArray(StructureMembers.Member m)
Get member data array of any type as an Array. |
Array |
Array.permute(int[] dims)
Create a new Array using same backing store as this Array, by permuting the indices. |
Array |
Array.reduce()
Create a new Array using same backing store as this Array, by eliminating any dimensions with length one. |
Array |
Array.reduce(int dim)
Create a new Array using same backing store as this Array, by eliminating the specified dimension. |
Array |
Array.reshape(int[] shape)
Create a new Array by copying this Array to a new one with given shape |
Array |
Array.section(int[] origin,
int[] shape)
Create a new Array as a subsection of this Array, with rank reduction. |
Array |
Array.section(int[] origin,
int[] shape,
int[] stride)
Create a new Array as a subsection of this Array, with rank reduction. |
Array |
Array.section(java.util.List ranges)
Create a new Array as a subsection of this Array, with rank reduction. |
Array |
Array.sectionNoReduce(int[] origin,
int[] shape,
int[] stride)
Create a new Array as a subsection of this Array, without rank reduction. |
Array |
Array.sectionNoReduce(java.util.List ranges)
Create a new Array as a subsection of this Array, without rank reduction. |
Array |
Array.slice(int dim,
int value)
Create a new Array using same backing store as this Array, by fixing the specified dimension at the specified index value. |
Array |
Array.transpose(int dim1,
int dim2)
Create a new Array using same backing store as this Array, by transposing two of the indices. |
| Methods in ucar.ma2 with parameters of type Array | |
|---|---|
static Array |
MAMath.add(Array a,
Array b)
Add elements of two arrays together, allocating the result array. |
static void |
MAMath.addDouble(Array result,
Array a,
Array b)
Add elements of two arrays together as doubles, place sum in the result array. |
static void |
Array.arraycopy(Array arraySrc,
int srcPos,
Array arrayDst,
int dstPos,
int len)
Cover for System.arraycopy(). |
static boolean |
MAMath.conformable(Array a,
Array b)
Check that two arrays are conformable. |
static void |
MAMath.copy(Array result,
Array a)
copy array a to array result, the result array will be in canonical order The operation type is taken from the type of a. |
static void |
MAMath.copyBoolean(Array result,
Array a)
copy array a to array result as bytes The array a and result must be type boolean |
static void |
MAMath.copyByte(Array result,
Array a)
copy array a to array result as bytes The values from the array a are converted to byte (if needed), and then converted to the type of result (if needed). |
static void |
MAMath.copyChar(Array result,
Array a)
copy array a to array result as char The values from the array a are converted to char (if needed), and then converted to the type of result (if needed). |
static void |
MAMath.copyDouble(Array result,
Array a)
copy array a to array result as doubles The values from the arrays a are converted to double (if needed), and then converted to the type of result (if needed). |
static void |
MAMath.copyFloat(Array result,
Array a)
copy array a to array result as floats The values from the arrays a are converted to float (if needed), and then converted to the type of result (if needed). |
static void |
MAMath.copyInt(Array result,
Array a)
copy array a to array result as integers The values from the arrays a are converted to integer (if needed), and then converted to the type of result (if needed). |
static void |
MAMath.copyLong(Array result,
Array a)
copy array a to array result as longs The values from the array a are converted to long (if needed), and then converted to the type of result (if needed). |
static void |
MAMath.copyObject(Array result,
Array a)
copy array a to array result as an Object The array a and result must be type object |
static void |
MAMath.copyShort(Array result,
Array a)
copy array a to array result as shorts The values from the array a are converted to short (if needed), and then converted to the type of result (if needed). |
static double |
MAMath.getMaximum(Array a)
|
static double |
MAMath.getMaximumSkipMissingData(Array a,
double missingValue)
|
static double |
MAMath.getMinimum(Array a)
|
static double |
MAMath.getMinimumSkipMissingData(Array a,
double missingValue)
|
static MAMath.MinMax |
MAMath.getMinMax(Array a)
|
static MAMath.MinMax |
MAMath.getMinMaxSkipMissingData(Array a,
double missingValue)
|
static void |
MAMath.setDouble(Array result,
double val)
Set all the elements of this array to the given double value. |
void |
ArrayStructureMA.setMemberArray(java.lang.String memberName,
Array data)
Set the data array for this member. |
void |
StructureDataW.setMemberData(java.lang.String memberName,
Array data)
|
void |
StructureDataW.setMemberData(StructureMembers.Member m,
Array data)
|
static double |
MAMath.sumDouble(Array a)
sum all of the elements of array a as doubles. |
static double |
MAMath.sumDoubleSkipMissingData(Array a,
double missingValue)
sum all of the elements of array a as doubles. |
| Constructors in ucar.ma2 with parameters of type Array | |
|---|---|
MAMatrix(Array a)
Create an MAMatrix using the given rank-2 array. |
|
MAVector(Array a)
Create an MAVector using the given rank-1 array. |
|
| Uses of Array in ucar.nc2 |
|---|
| Methods in ucar.nc2 that return Array | |
|---|---|
Array |
Attribute.getValues()
Get the value as an Array. |
Array |
VariableIF.read()
|
Array |
Variable.read()
Read all the data for this Variable and return a memory resident Array. |
Array |
VariableIF.read(int[] origin,
int[] shape)
|
Array |
Variable.read(int[] origin,
int[] shape)
Read a section of the data for this Variable and return a memory resident Array. |
Array |
VariableIF.read(java.util.List ranges)
|
Array |
Variable.read(java.util.List section)
Read a section of the data for this Variable from the netcdf file and return a memory resident Array. |
Array |
VariableIF.read(java.lang.String rangeSpec)
|
Array |
Variable.read(java.lang.String sectionSpec)
Read data section specified by a "section selector", and return a memory resident Array. |
Array |
NetcdfFile.read(java.lang.String variableSection,
boolean flatten)
Read a variable using the given section specification, equivilent to readAllStructures() if its a member of a Structure, or read() otherwise. |
Array |
VariableIF.readAllStructures(java.util.List ranges,
boolean flatten)
|
Array |
Variable.readAllStructures(java.util.List sectionAll,
boolean flatten)
Read data from all structures for this Variable. |
Array |
VariableIF.readAllStructuresSpec(java.lang.String rangeSpec,
boolean flatten)
|
Array |
Variable.readAllStructuresSpec(java.lang.String sectionSpec,
boolean flatten)
Read data in all structures for this Variable, using a string sectionSpec to specify the section. |
Array |
NetcdfFile.readData(Variable v,
java.util.List section)
do not call this directly, use Variable.read() !! |
Array |
IOServiceProvider.readData(Variable v2,
java.util.List section)
Read data from a top level Variable and return a memory resident Array. |
Array |
NetcdfFile.readMemberData(Variable v,
java.util.List section,
boolean flatten)
do not call this directly, use Variable.readSection() !! |
Array |
IOServiceProvider.readNestedData(Variable v2,
java.util.List section)
Read data from a Variable that is nested in one or more Structures. |
| Methods in ucar.nc2 with parameters of type Array | |
|---|---|
void |
NetcdfFileWriteable.addGlobalAttribute(java.lang.String name,
Array values)
Add a Global attribute of type Array to the file. |
void |
NetcdfFileWriteable.addVariableAttribute(java.lang.String varName,
java.lang.String attName,
Array value)
Add an attribute of type Array to the named Variable. |
static void |
NCdump.printArray(Array array,
java.lang.String name,
java.io.PrintStream out,
CancelTask ct)
Print the data array. |
void |
Variable.setCachedData(Array cacheData,
boolean isMetadata)
Set the data cache |
void |
Attribute.setValues(Array arr)
set the values from an Array |
void |
NetcdfFileWriteable.write(java.lang.String varName,
Array values)
Write data to the named variable, origin assumed to be 0. |
void |
NetcdfFileWriteable.write(java.lang.String varName,
int[] origin,
Array values)
Write data to the named variable. |
void |
IOServiceProviderWriter.writeData(Variable v2,
java.util.List section,
Array values)
Write data into a variable. |
void |
NetcdfFileWriteable.writeStringData(java.lang.String varName,
Array values)
Write String data to a CHAR variable, origin assumed to be 0. |
void |
NetcdfFileWriteable.writeStringData(java.lang.String varName,
int[] origin,
Array values)
Write String data to a CHAR variable. |
| Constructors in ucar.nc2 with parameters of type Array | |
|---|---|
Attribute(java.lang.String name,
Array values)
Construct attribute with list of values. |
|
| Uses of Array in ucar.nc2.dataset |
|---|
| Methods in ucar.nc2.dataset that return Array | |
|---|---|
static Array |
NetcdfDataset.makeArray(DataType dtype,
java.util.ArrayList stringValues)
Make an 1D array from a list of strings. |
static Array |
NetcdfDataset.makeArray(DataType dtype,
int npts,
double start,
double incr)
Make a 1D array from a start and inccr. |
Array |
ProxyReader.read(Variable mainv,
CancelTask cancelTask)
Read all the data for a Variable. |
Array |
ProxyReader.read(Variable mainv,
CancelTask cancelTask,
java.util.List section)
Read a section of the data for a Variable and return a memory resident Array. |
Array |
NetcdfDataset.readData(Variable v,
java.util.List section)
|
Array |
NetcdfDataset.readMemberData(Variable v,
java.util.List section,
boolean flatten)
|
| Uses of Array in ucar.nc2.dt |
|---|
| Methods in ucar.nc2.dt that return Array | |
|---|---|
Array |
TrajectoryObsDatatype.getData(int point,
java.lang.String parameterName)
|
Array |
TrajectoryObsDatatype.getData(Range range,
java.lang.String parameterName)
Get the values of the requested parameter on the given Range of the trajectory. |
Array |
TrajectoryObsDatatype.getElevation(Range range)
Get the elevation values on the given Range of the trajectory. |
Array |
TrajectoryObsDatatype.getLatitude(Range range)
Get the latitude values on the given Range of the trajectory. |
Array |
TrajectoryObsDatatype.getLongitude(Range range)
Get the longitude values on the given Range of the trajectory. |
Array |
TrajectoryObsDatatype.getTime(Range range)
Get the time values on the given Range of the trajectory. |
Array |
GridDatatype.readDataSlice(int t_index,
int z_index,
int y_index,
int x_index)
For backwards compatibility for grids with no runtime or ensemble dimensions. |
Array |
GridDatatype.readDataSlice(int rt_index,
int e_index,
int t_index,
int z_index,
int y_index,
int x_index)
This reads an arbitrary data slice, returning the data in canonical order (rt-e-t-z-y-x). |
Array |
GridDatatype.readVolumeData(int t_index)
For backwards compatibility for grids with no runtime or ensemble dimensions. |
| Methods in ucar.nc2.dt with parameters of type Array | |
|---|---|
MAMath.MinMax |
GridDatatype.getMinMaxSkipMissingData(Array data)
Get the minimum and the maximum data value of the previously read Array, skipping missing values as defined by isMissingData(double val). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||