Uses of Class
ucar.ma2.Array

Packages that use Array
ucar.ma2 Multidimensional arrays of primitives and objects with data stored in memory. 
ucar.nc2 The public API to the Java-NetCDF library. 
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. 
ucar.nc2.util Miscellaneous utility classes. 
 

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 ArrayRagged
          DO NOT USE
 class ArraySequence
          ArraySequence is the way to contain the data for a Sequence, using a StructureDataIterator.
 class ArraySequenceNested
          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 of the records 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 access deferred to the 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.
static Array MAMath.convert(Array org, DataType wantType)
          Convert original array to desired type
static Array MAMath.convert2packed(Array unpacked, double missingValue, int nbits, boolean isUnsigned, DataType packedType)
           
static Array MAMath.convert2Unpacked(Array packed, MAMath.ScaleOffset scaleOffset)
           
static Array MAMath.convertUnsigned(Array unsigned)
          Convert unsigned data to signed data of a wider type.
 Array Array.copy()
          Create a copy of this Array, copying the data so that physical order is the same as logical order
 Array ArrayRagged.copy()
          DO NOT USE, throws UnsupportedOperationException
 Array ArrayStructure.copy()
          DO NOT USE, throws UnsupportedOperationException
 Array ArrayRagged.createView(Index index)
          DO NOT USE, throws UnsupportedOperationException
 Array ArrayStructure.createView(Index index)
          DO NOT USE, throws UnsupportedOperationException
 Array ArraySequence.extractMemberArray(StructureMembers.Member m)
           
 Array ArrayStructure.extractMemberArray(StructureMembers.Member m)
          Extract data for one member, over all structures.
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(DataType dtype, int[] shape, java.nio.ByteBuffer bb)
          Create an Array from a ByteBuffer
static Array Array.factory(DataType dataType, int[] shape, java.lang.Object storage)
          /** Generate new Array with given type, shape, 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 always return 0.
 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 ArrayStructure.getArray(int recno, StructureMembers.Member m)
          Get member data of any type for a specific record as an Array.
 Array ArrayStructureW.getArray(int recnum, StructureMembers.Member m)
           
 Array StructureData.getArray(java.lang.String memberName)
          Get member data array of any type as an Array.
abstract  Array StructureData.getArray(StructureMembers.Member m)
          Get member data array of any type as an Array.
 Array StructureDataA.getArray(StructureMembers.Member m)
           
 Array StructureDataComposite.getArray(StructureMembers.Member m)
           
 Array StructureDataW.getArray(StructureMembers.Member m)
          Get member data array of any type as an Array.
 Array StructureMembers.Member.getDataArray()
          Get the data array, if any.
static Array Array.makeArray(DataType dtype, int npts, double start, double incr)
          Make a 1D array from a start and inccr.
static Array Array.makeArray(DataType dtype, java.util.List<java.lang.String> stringValues)
          Make an 1D array from a list of strings.
static Array Array.makeArray(DataType dtype, java.lang.String[] stringValues)
          Make an 1D array from an array of strings.
 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<Range> 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<Range> 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 MAMath.ScaleOffset MAMath.calcScaleOffsetSkipMissingData(Array a, double missingValue, int nbits, boolean isUnsigned)
          Calculate the scale/offset for an array of numbers.
static boolean MAMath.conformable(Array a, Array b)
          Check that two arrays are conformable.
static Array MAMath.convert(Array org, DataType wantType)
          Convert original array to desired type
static Array MAMath.convert2packed(Array unpacked, double missingValue, int nbits, boolean isUnsigned, DataType packedType)
           
static Array MAMath.convert2Unpacked(Array packed, MAMath.ScaleOffset scaleOffset)
           
static Array MAMath.convertUnsigned(Array unsigned)
          Convert unsigned data to signed data of a wider type.
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)
          Find min and max value in this array, getting values as doubles.
static MAMath.MinMax MAMath.getMinMaxSkipMissingData(Array a, double missingValue)
           
 void StructureMembers.Member.setDataArray(Array data)
          Set the data array.
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 ArrayStructure.setMemberArray(StructureMembers.Member m, Array memberArray)
          Set data for one member, over all structures.
 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 Sequence.read()
          UnsupportedOperation
 Array Variable.read()
          Read all the data for this Variable and return a memory resident Array.
 Array VariableIF.read()
           
 Array Sequence.read(int[] origin, int[] shape)
          UnsupportedOperation
 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(int[] origin, int[] shape)
           
 Array Sequence.read(java.util.List<Range> ranges)
          UnsupportedOperation
 Array Variable.read(java.util.List<Range> ranges)
          Read a section of the data for this Variable from the netcdf file and return a memory resident Array.
 Array Sequence.read(Section section)
          UnsupportedOperation
 Array Variable.read(Section section)
          Read a section of the data for this Variable from the netcdf file and return a memory resident Array.
 Array VariableIF.read(Section section)
           
 Array Sequence.read(java.lang.String sectionSpec)
          UnsupportedOperation
 Array Variable.read(java.lang.String sectionSpec)
          Read data section specified by a "section selector", and return a memory resident Array.
 Array VariableIF.read(java.lang.String rangeSpec)
           
 Array NetcdfFile.read(java.lang.String variableSection, boolean flatten)
          Deprecated. use readSection(), flatten=false no longer supported
 Array ProxyReader.read(Variable mainv, CancelTask cancelTask)
          Read all the data for a Variable.
 Array ProxyReader.read(Variable mainv, Section section, CancelTask cancelTask)
          Read a section of the data for a Variable.
 Array NetcdfFile.readSection(java.lang.String variableSection)
          Read a variable using the given section specification.
 

Methods in ucar.nc2 that return types with arguments of type Array
 java.util.List<Array> NetcdfFile.readArrays(java.util.List<Variable> variables)
          Do a bulk read on a list of Variables and return a corresponding list of Array that contains the results of a full read on each Variable.
 

Methods in ucar.nc2 with parameters of type Array
 Attribute 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 NCdumpW.printArray(Array ma, java.io.PrintWriter out)
          Print array as undifferentiated sequence of values.
static java.lang.String NCdumpW.printArray(Array array, java.lang.String name, CancelTask ct)
           
static void NCdump.printArray(Array array, java.lang.String name, java.io.PrintStream out, CancelTask ct)
          Deprecated. Print the data array.
static void NCdumpW.printArray(Array array, java.lang.String name, java.io.PrintWriter out, CancelTask ct)
          Print the data array.
 void Variable.setCachedData(Array cacheData, boolean isMetadata)
          Set the data cache
 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 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 Array of values.
 

Uses of Array in ucar.nc2.dataset
 

Methods in ucar.nc2.dataset that return Array
 Array EnhanceScaleMissing.convertScaleOffsetMissing(Array data)
          Convert data if hasScaleOffset, using scale and offset.
 Array VariableDS.convertScaleOffsetMissing(Array data)
           
static Array NetcdfDataset.makeArray(DataType dtype, java.util.List<java.lang.String> stringValues)
          Deprecated. use Array#makeArray directly
 

Methods in ucar.nc2.dataset with parameters of type Array
 Array EnhanceScaleMissing.convertScaleOffsetMissing(Array data)
          Convert data if hasScaleOffset, using scale and offset.
 Array VariableDS.convertScaleOffsetMissing(Array data)
           
 

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)
          This reads an arbitrary data slice, returning the data in canonical order (t-z-y-x).
 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)
          Reads in the data "volume" at the given time index.
 

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).
 

Uses of Array in ucar.nc2.util
 

Methods in ucar.nc2.util with parameters of type Array
static void CompareNetcdf.compareData(Array data1, Array data2)