Package | Description |
---|---|
dap4.cdm | |
dap4.servlet | |
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.dt.grid |
Scientific data type "Grid", uses cartesian coordinate system.
|
ucar.nc2.dt.image.image | |
ucar.nc2.dt.radial |
Scientific data type "Radial", uses polar coordinate system.
|
ucar.nc2.ft.cover | |
ucar.nc2.ft.cover.impl | |
ucar.nc2.ft.point.writer |
package ucar.nc2.ft.point.writer : Write Point Feature Types to netcdf/CF files
|
ucar.nc2.geotiff |
Read and write GeoTIFF files.
|
ucar.nc2.grib | |
ucar.nc2.grib.collection | |
ucar.nc2.iosp |
General classes for I/O Service Providers
|
ucar.nc2.iosp.bufr |
I/O Service Provider for BUFR format files
|
ucar.nc2.iosp.cinrad |
I/O Service Provider for chinese met radar files
|
ucar.nc2.iosp.dmsp |
I/O Service Provider for Defense Meteorological Satellite Program (DMSP) format files
|
ucar.nc2.iosp.dorade |
I/O Service Provider for Dorade format files
|
ucar.nc2.iosp.fysat |
I/O Service Provider for fysat format files
In clcommon because of dependencce on java.awt.*
|
ucar.nc2.iosp.gini |
I/O Service Provider for GINI format files
In clcommon because of dependencce on java.awt.*
|
ucar.nc2.iosp.grads |
I/O Service Provider for GrADS Binary Grid Files.
|
ucar.nc2.iosp.hdf4 |
I/O Service Provider for HDF-4 format files
|
ucar.nc2.iosp.hdf5 |
I/O Service Provider for HDF-5 and netCDF-4 format files
|
ucar.nc2.iosp.misc |
Miscellaneous IOSPs.
|
ucar.nc2.iosp.netcdf3 |
I/O Service Provider for NetCDF-3 format files
|
ucar.nc2.iosp.nexrad2 |
I/O Service Provider for NEXRAD level 2 format files
|
ucar.nc2.iosp.nids |
I/O Service Provider for NIDS (Nexrad level 3) format files
|
ucar.nc2.iosp.noaa | |
ucar.nc2.iosp.nowrad | |
ucar.nc2.iosp.shapefile | |
ucar.nc2.iosp.sigmet | |
ucar.nc2.iosp.uamiv | |
ucar.nc2.iosp.uf | |
ucar.nc2.jni.netcdf | |
ucar.nc2.ncml |
Netcdf Markup Language (NcML) Implementation classes
see NcML home page
|
ucar.nc2.stream | |
ucar.nc2.util |
Miscellaneous utility classes.
|
ucar.unidata.geoloc.vertical |
Implementations of vertical coordinate transformations.
|
Modifier and Type | Class and Description |
---|---|
class |
CDMArrayAtomic
CDMArrayAtomic wraps a D4DataAtomic object to present
the ucar.ma2.Array interface.
|
class |
CDMArraySequence
CDM now has an ArraySequence type intended to
support VLEN.
|
class |
CDMArrayStructure
Implementation of ArrayStructure that wraps
DAP4 databuffer
(Note: Needs serious optimization applied).
|
Modifier and Type | Field and Description |
---|---|
protected Array[][] |
CDMArrayStructure.instances
Since we are using StructureData,
we do not actually need to keep the
D4DataStructure instances as such.
|
protected Array[][] |
CDMArraySequence.records
As mentioned above, we store an array of
arrays of CDMArrays, where each CDMArray innstance
represents a single record in some D4DataSequence object.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Variable,Array> |
DapNetcdfFile.arraymap
Originally, the array for a variable was stored
using var.setCacheData().
|
protected Map<CDMNode,Array> |
CDMDataset.arraymap |
Modifier and Type | Method and Description |
---|---|
protected Array |
CDMCompiler.compileAtomicVar(DataVariable d4var)
Compile an Atomic Valued variable.
|
protected Array |
CDMCompiler.compileSequenceArray(D4DataVariable d4var)
Compile an array of sequences.
|
protected Array |
CDMCompiler.compileStructureArray(D4DataVariable d4var)
Compile an array of structures.
|
protected Array |
CDMCompiler.compileVar(DataVariable d4var) |
Array |
CDMArraySequence.copy() |
Array |
CDMArrayStructure.copy() |
protected Array |
CDMArrayAtomic.createView(Index index) |
Array |
CDMDataset.getArray(CDMNode node) |
Array |
CDMArraySequence.getArray(int recno,
StructureMembers.Member m)
Get member data of any type for a specific record as an Array.
|
Array |
CDMArrayStructure.getArray(int recno,
StructureMembers.Member m)
Key interface method coming in from StructureDataA.
|
protected Array |
CDMArraySequence.memberArray(int recno,
int memberindex) |
protected Array |
CDMArrayStructure.memberArray(int recno,
int memberindex) |
protected Array |
DapNetcdfFile.readData(Variable cdmvar,
Section section)
Primary read entry point.
|
Array |
DapNetcdfFile.readSection(String variableSection) |
Modifier and Type | Method and Description |
---|---|
Map<CDMNode,Array> |
CDMDataset.getArrayMap() |
List<Array> |
DapNetcdfFile.readArrays(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.
|
Modifier and Type | Method and Description |
---|---|
void |
CDMDataset.putArray(CDMNode node,
Array array) |
Modifier and Type | Field and Description |
---|---|
protected Array |
CDMDataAtomic.data |
Modifier and Type | Method and Description |
---|---|
protected DapSort |
CDMDataAtomic.computesort(Array array) |
Constructor and Description |
---|
CDMDataAtomic(CDMDSP dsp,
DapAtomicVariable template,
Array array) |
Modifier and Type | Class and Description |
---|---|
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 ints.
|
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 |
ArrayScalar
Helper class for StructureDataAscii
|
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 |
ArrayString
Concrete implementation of Array specialized for Strings.
|
static class |
ArrayString.D0
Concrete implementation of Array specialized for String, rank 0.
|
static class |
ArrayString.D1
Concrete implementation of Array specialized for Strings, rank 1.
|
static class |
ArrayString.D2
Concrete implementation of Array specialized for Strings, rank 2.
|
static class |
ArrayString.D3
Concrete implementation of Array specialized for Strings, rank 3.
|
static class |
ArrayString.D4
Concrete implementation of Array specialized for Strings, rank 4.
|
static class |
ArrayString.D5
Concrete implementation of Array specialized for Strings, rank 5.
|
static class |
ArrayString.D6
Concrete implementation of Array specialized for Strings, rank 6.
|
static class |
ArrayString.D7
Concrete implementation of Array specialized for Strings, 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 |
ArrayStructureBBsection
Describe
|
class |
ArrayStructureComposite
An ArrayStructure compose of other ArrayStructures.
|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Map<StructureMembers.Member,Array> |
StructureDataW.memberData |
Modifier and Type | Method and Description |
---|---|
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 |
ArrayStructure.copy()
DO NOT USE, throws UnsupportedOperationException
|
Array |
ArrayRagged.copy()
DO NOT USE, throws UnsupportedOperationException
|
protected abstract Array |
Array.createView(Index index)
create new Array with given Index and the same backing store
|
Array |
ArrayStructure.createView(Index index) |
protected Array |
ArrayObject.createView(Index index)
create new Array with given indexImpl and the same backing store
|
protected Array |
ArrayDouble.createView(Index index)
create new Array with given indexImpl and the same backing store
|
protected Array |
ArrayString.createView(Index index)
create new Array with given indexImpl and same backing store
|
protected Array |
ArrayRagged.createView(Index index)
DO NOT USE, throws UnsupportedOperationException
|
protected Array |
ArrayBoolean.createView(Index index)
create new Array with given indexImpl and same backing store
|
protected Array |
ArrayShort.createView(Index index)
create new Array with given indexImpl and same backing store
|
protected Array |
ArrayFloat.createView(Index index)
create new Array with given indexImpl and same backing store
|
protected Array |
ArrayInt.createView(Index index)
create new Array with given indexImpl and same backing store
|
protected Array |
ArrayChar.createView(Index index)
create new Array with given indexImpl and same backing store
|
protected Array |
ArrayByte.createView(Index index) |
protected Array |
ArrayLong.createView(Index index)
create new Array with given indexImpl and same backing store
|
protected Array |
ArrayScalar.createView(Index index) |
Array |
ArrayStructure.extractMemberArray(StructureMembers.Member m)
Extract data for one member, over all structures.
|
Array |
ArraySequence.extractMemberArray(StructureMembers.Member proxym) |
static Array |
Array.factory(Class classType,
int[] shape)
Generate new Array with given type and shape and zeroed storage.
|
static Array |
Array.factory(Class classType,
int[] shape,
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,
ByteBuffer bb)
Create an Array from a ByteBuffer
|
static Array |
Array.factory(DataType dataType,
int[] shape,
Object storage)
/** Generate new Array with given type, shape, storage.
|
static Array |
Array.factory(Object javaArray)
Generate a new Array from a java array of any rank and type.
|
static Array |
Array.factoryConstant(Class classType,
int[] shape,
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 |
ArrayStructureBB.getArray(int recnum,
StructureMembers.Member m) |
Array |
ArrayStructureW.getArray(int recnum,
StructureMembers.Member m) |
Array |
StructureData.getArray(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 |
StructureDataW.getArray(StructureMembers.Member m)
Get member data array of any type as an Array.
|
Array |
StructureDataA.getArray(StructureMembers.Member m) |
Array |
StructureDataProxy.getArray(StructureMembers.Member m) |
Array |
StructureDataComposite.getArray(StructureMembers.Member m) |
Array |
StructureMembers.Member.getDataArray()
Get the data array, if any.
|
static Array |
Array.makeArray(DataType dtype,
boolean isUnsigned,
List<String> stringValues)
Make an 1D array from a list of strings.
|
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,
List<String> stringValues)
Make an 1D array from a list of strings.
|
static Array |
Array.makeArray(DataType dtype,
String[] stringValues)
Make an 1D array from an array of strings.
|
static Array |
Array.makeArrayRankPlusOne(Array org)
Add extra dimension with len = 1.
|
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.reshapeNoCopy(int[] shape)
Reshape this array without copying data
|
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(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(List<Range> ranges)
Create a new Array as a subsection of this Array, without rank reduction.
|
Array |
ArrayStructure.sectionNoReduce(List<Range> ranges) |
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.
|
Modifier and Type | Method and Description |
---|---|
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) |
static MAMath.MinMax |
MAMath.getMinMaxSkipMissingData(Array a,
IsMissingEvaluator eval) |
static boolean |
MAMath.isEqual(Array data1,
Array data2) |
static Array |
Array.makeArrayRankPlusOne(Array org)
Add extra dimension with len = 1.
|
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(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(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.
|
Constructor and Description |
---|
MAMatrix(Array a)
Create an MAMatrix using the given rank-2 array.
|
MAVector(Array a)
Create an MAVector using the given rank-1 array.
|
Modifier and Type | Field and Description |
---|---|
Array |
Variable.Cache.data |
Modifier and Type | Method and Description |
---|---|
protected Array |
Variable._read() |
protected Array |
Variable._read(Section section) |
protected Array |
Variable.getScalarData() |
Array |
Attribute.getValues()
Get the value as an Array.
|
Array |
Variable.read()
Read all the data for this Variable and return a memory resident Array.
|
Array |
VariableIF.read() |
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(int[] origin,
int[] shape)
UnsupportedOperation
|
Array |
Variable.read(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(List<Range> ranges)
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(Section section)
UnsupportedOperation
|
Array |
Variable.read(String sectionSpec)
Read data section specified by a "section selector", and return a memory resident Array.
|
Array |
VariableIF.read(String rangeSpec) |
Array |
Sequence.read(String sectionSpec)
UnsupportedOperation
|
Array |
NetcdfFile.read(String variableSection,
boolean flatten)
Deprecated.
use readSection(), flatten=false no longer supported
|
protected Array |
NetcdfFile.readData(Variable v,
Section ranges) |
Array |
NetcdfFile.readSection(String variableSection)
Read a variable using the given section specification.
|
Array |
Variable.reallyRead(Variable client,
CancelTask cancelTask)
public by accident, do not call directly.
|
Array |
ProxyReader.reallyRead(Variable client,
CancelTask cancelTask)
Read all the data for a Variable.
|
Array |
ReduceReader.reallyRead(Variable client,
CancelTask cancelTask) |
Array |
StructurePseudo.reallyRead(Variable mainv,
CancelTask cancelTask)
Deprecated.
|
Array |
Variable.reallyRead(Variable client,
Section section,
CancelTask cancelTask)
public by accident, do not call directly.
|
Array |
ProxyReader.reallyRead(Variable client,
Section section,
CancelTask cancelTask)
Read a section of the data for a Variable.
|
Array |
ReduceReader.reallyRead(Variable client,
Section section,
CancelTask cancelTask) |
Array |
StructurePseudo.reallyRead(Variable mainv,
Section section,
CancelTask cancelTask)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Array> |
NetcdfFile.readArrays(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.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
NetcdfFileWriteable.addGlobalAttribute(String name,
Array values)
Deprecated.
Add a Global attribute of type Array to the file.
|
void |
NetcdfFileWriteable.addVariableAttribute(String varName,
String attName,
Array value)
Deprecated.
Add an attribute of type Array to the named Variable.
|
static void |
NCdumpW.printArray(Array ma) |
static void |
NCdumpW.printArray(Array ma,
PrintWriter out)
Print array as undifferentiated sequence of values.
|
static String |
NCdumpW.printArray(Array array,
String name,
CancelTask ct)
Deprecated.
use toString()
|
static void |
NCdumpW.printArray(Array array,
String name,
PrintStream out,
CancelTask ct) |
static void |
NCdumpW.printArray(Array array,
String name,
PrintWriter out,
CancelTask ct)
Print the data array.
|
void |
Variable.setCachedData(Array cacheData) |
void |
Variable.setCachedData(Array cacheData,
boolean isMetadata)
Set the data cache
|
protected void |
Attribute.setValues(Array arr)
set the values from an Array
|
static String |
NCdumpW.toString(Array ma) |
static String |
NCdumpW.toString(Array array,
String name,
CancelTask ct) |
void |
NetcdfFileWriteable.write(String fullNameEsc,
Array values)
Deprecated.
Write data to the named variable, origin assumed to be 0.
|
void |
NetcdfFileWriteable.write(String fullNameEsc,
int[] origin,
Array values)
Deprecated.
Write data to the named variable.
|
void |
NetcdfFileWriter.write(Variable v,
Array values)
Write data to the named variable, origin assumed to be 0.
|
void |
NetcdfFileWriter.write(Variable v,
int[] origin,
Array values)
Write data to the named variable.
|
void |
NetcdfFileWriteable.writeStringData(String varName,
Array values)
Deprecated.
Write String data to a CHAR variable, origin assumed to be 0.
|
void |
NetcdfFileWriteable.writeStringData(String fullNameEsc,
int[] origin,
Array values)
Deprecated.
Write String data to a CHAR variable.
|
void |
NetcdfFileWriter.writeStringData(Variable v,
Array values)
Write String data to a CHAR variable, origin assumed to be 0.
|
void |
NetcdfFileWriter.writeStringData(Variable v,
int[] origin,
Array values)
Write String data to a CHAR variable.
|
Constructor and Description |
---|
Attribute(String name,
Array values)
Construct attribute with Array of values.
|
Modifier and Type | Method and Description |
---|---|
protected Array |
VariableDS._read() |
protected Array |
VariableDS._read(Section section) |
protected Array |
StructurePseudo2Dim._read(Section section) |
protected Array |
VariableDS.convertEnums(Array values) |
Array |
VariableDS.convertScaleOffsetMissing(Array data) |
Array |
EnhanceScaleMissing.convertScaleOffsetMissing(Array data)
Convert data if hasScaleOffset, using scale and offset.
|
Array |
VariableDS.getMissingDataArray(int[] shape)
Return Array with missing data
|
static Array |
NetcdfDataset.makeArray(DataType dtype,
List<String> stringValues)
Deprecated.
use Array#makeArray directly
|
Array |
SequenceDS.read() |
Array |
SequenceDS.read(Section section) |
Array |
VariableDS.reallyRead(Variable client,
CancelTask cancelTask) |
Array |
StructureDS.reallyRead(Variable client,
CancelTask cancelTask) |
Array |
StructurePseudoDS.reallyRead(Variable mainv,
CancelTask cancelTask) |
Array |
VariableDS.reallyRead(Variable client,
Section section,
CancelTask cancelTask) |
Array |
StructureDS.reallyRead(Variable client,
Section section,
CancelTask cancelTask) |
Array |
StructurePseudoDS.reallyRead(Variable mainv,
Section section,
CancelTask cancelTask) |
Modifier and Type | Method and Description |
---|---|
protected ArrayStructure |
StructureDS.convert(Array data,
Section section) |
protected Array |
VariableDS.convertEnums(Array values) |
Array |
VariableDS.convertScaleOffsetMissing(Array data) |
Array |
EnhanceScaleMissing.convertScaleOffsetMissing(Array data)
Convert data if hasScaleOffset, using scale and offset.
|
Modifier and Type | Method and Description |
---|---|
Array |
TrajectoryObsDatatype.getData(int point,
String parameterName)
Deprecated.
|
Array |
TrajectoryObsDatatype.getData(Range range,
String parameterName)
Deprecated.
Get the values of the requested parameter on the given Range of the trajectory.
|
Array |
TrajectoryObsDatatype.getElevation(Range range)
Deprecated.
Get the elevation values on the given Range of the trajectory.
|
Array |
TrajectoryObsDatatype.getLatitude(Range range)
Deprecated.
Get the latitude values on the given Range of the trajectory.
|
Array |
TrajectoryObsDatatype.getLongitude(Range range)
Deprecated.
Get the longitude values on the given Range of the trajectory.
|
Array |
TrajectoryObsDatatype.getTime(Range range)
Deprecated.
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.
|
Modifier and Type | Method and Description |
---|---|
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).
|
Modifier and Type | Method and Description |
---|---|
Array |
GeoGrid.getDataSlice(int t,
int z,
int y,
int x)
Deprecated.
use readDataSlice
|
Array |
GeoGrid.readDataSlice(int t,
int z,
int y,
int x)
This reads an arbitrary data slice, returning the data in
canonical order (t-z-y-x).
|
Array |
GeoGrid.readDataSlice(int rt,
int e,
int t,
int z,
int y,
int x)
This reads an arbitrary data slice, returning the data in
canonical order (rt-e-t-z-y-x).
|
Array |
GeoGrid.readVolumeData(int t)
Reads in the data "volume" at the given time index.
|
Array |
GeoGrid.readYXData(int t,
int z)
Reads a Y-X "horizontal slice" at the given time and vertical index.
|
Array |
GeoGrid.readZYData(int t,
int x)
Reads a Z-Y "vertical slice" at the given time and x index.
|
Modifier and Type | Method and Description |
---|---|
MAMath.MinMax |
GeoGrid.getMinMaxSkipMissingData(Array a)
Get the minimum and the maximum data value of the previously read Array,
skipping missing values as defined by isMissingData(double val).
|
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
ImageArrayAdapter.makeGrayscaleImage(Array ma)
Adapt a rank 2 array into a java.awt.image.BufferedImage.
|
Modifier and Type | Method and Description |
---|---|
Array |
RadialCoordSys.getAzimuthAxisDataCached()
get the Azimuth axis data.
|
Array |
RadialCoordSys.getElevationAxisDataCached()
get the Elevation axis data.
|
Array |
RadialCoordSys.getRadialAxisDataCached()
get the Radial axis data.
|
Array |
RadialCoordSys.getTimeAxisDataCached()
get the Time axis data.
|
Modifier and Type | Method and Description |
---|---|
Array |
Coverage.readData(CoverageCS.Subset subset)
This reads an arbitrary data slice, returning the data in
canonical order (rt-e-t-z-y-x).
|
Modifier and Type | Method and Description |
---|---|
Array |
CoverageImpl.readData(CoverageCS.Subset subset) |
Modifier and Type | Method and Description |
---|---|
static Array |
CFPointWriterUtils.getArrayFromMember(Variable var,
StructureMembers.Member m) |
Modifier and Type | Method and Description |
---|---|
void |
GeotiffWriter.writeGrid(GridDataset dataset,
GridDatatype grid,
Array data,
boolean greyScale)
Write Grid data to the geotiff file.
|
Modifier and Type | Method and Description |
---|---|
Array |
GdsHorizCoordSys.getGaussianLats() |
Array |
GdsHorizCoordSys.getGaussianWeights() |
Modifier and Type | Method and Description |
---|---|
Array |
GribIosp.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
IOServiceProvider.readData(Variable v2,
Section section)
Read data from a top level Variable and return a memory resident Array.
|
Array |
IOServiceProvider.readSection(ParsedSectionSpec cer)
Allows reading sections of nested variables
|
Array |
AbstractIOServiceProvider.readSection(ParsedSectionSpec cer) |
static Array |
IospHelper.readSection(ParsedSectionSpec cer) |
Modifier and Type | Method and Description |
---|---|
static long |
IospHelper.copyToByteChannel(Array data,
WritableByteChannel channel)
Copy data to a channel.
|
static long |
IospHelper.copyToOutputStream(Array data,
OutputStream out)
Copy data to a channel.
|
static long |
IospHelper.transferData(Array result,
WritableByteChannel channel) |
void |
IOServiceProviderWriter.writeData(Variable v2,
Section section,
Array values)
Write data into a variable.
|
Modifier and Type | Method and Description |
---|---|
Array |
BufrIosp2.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
Cinrad2IOServiceProvider.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
DMSPiosp.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
Doradeiosp.readData(Variable v2,
Section section) |
Array |
Doradeiosp.readData1(Variable v2,
Section section,
float[] values) |
Array |
Doradeiosp.readData2(Variable v2,
Section section,
double[] values) |
Modifier and Type | Method and Description |
---|---|
Array |
Fysatiosp.readCompressedData(Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride) |
Array |
Fysatiosp.readCompressedZlib(Variable v2,
long dataPos,
int nx,
int ny,
int[] origin,
int[] shape,
int[] stride) |
Array |
Fysatiosp.readData(Variable v2,
Section section) |
Array |
Fysatiosp.readDataOld(Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride) |
Modifier and Type | Method and Description |
---|---|
Array |
Giniiosp.readCompressedData(Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride,
int[] levels) |
Array |
Giniiosp.readCompressedZlib(Variable v2,
long dataPos,
int nx,
int ny,
int[] origin,
int[] shape,
int[] stride,
int[] levels) |
Array |
Giniiosp.readData(Variable v2,
Section section) |
Array |
Giniiosp.readDataOld(Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride) |
Array |
Giniiosp.readNestedData(Variable v2,
List section) |
Modifier and Type | Method and Description |
---|---|
Array |
GradsBinaryGridServiceProvider.readData(Variable v2,
Section section)
Read the data for the variable
|
Modifier and Type | Method and Description |
---|---|
Array |
H4iosp.readData(Variable v,
Section section) |
Modifier and Type | Method and Description |
---|---|
protected Array |
H5header.convertEnums(Map<Integer,String> map,
DataType dataType,
Array values) |
Array |
H5iosp.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
protected Array |
H5header.convertEnums(Map<Integer,String> map,
DataType dataType,
Array values) |
Modifier and Type | Method and Description |
---|---|
Array |
NmcObsLegacy.readData(Variable v,
Section section) |
Array |
Uspln.readData(Variable v2,
Section section)
Read data from a top level Variable and return a memory resident Array.
|
Array |
GtopoIosp.readData(Variable v2,
Section wantSection) |
Array |
Nldn.readData(Variable v2,
Section section)
Read data from a top level Variable and return a memory resident Array.
|
Array |
NmcObsLegacy.readReport(Variable v,
Section section) |
Array |
NmcObsLegacy.readReportIndex(Variable v,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
N3iosp.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
N3iosp.writeData(Array aa,
Layout index,
DataType dataType)
Write data subset to file for a variable, create primitive array.
|
protected void |
N3raf.writeData(Array values,
Layout index,
DataType dataType)
write data to a file for a variable.
|
void |
N3iosp.writeData(Variable v2,
Section section,
Array values) |
void |
N3outputStreamWriter.writeNonRecordData(Variable v,
DataOutputStream stream,
Array data) |
Modifier and Type | Method and Description |
---|---|
Array |
Nexrad2IOServiceProvider.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
Nidsiosp.readData(Variable v2,
Section section)
Read the data for each variable passed in
|
Array |
Nidsiosp.readNestedCircleStructData(String name,
String memberName,
ByteBuffer bos,
ucar.nc2.iosp.nids.Nidsheader.Vinfo vinfo,
List section)
Read nested data
|
Array |
Nidsiosp.readNestedData(Variable v2,
Section section)
Read nested structure data
|
Array |
Nidsiosp.readNestedDataUnlinkVector(String name,
String memberName,
ByteBuffer bos,
ucar.nc2.iosp.nids.Nidsheader.Vinfo vinfo,
List section)
Read nested data
|
Array |
Nidsiosp.readNestedGraphicSymbolData(String name,
StructureMembers.Member m,
ByteBuffer bos,
ucar.nc2.iosp.nids.Nidsheader.Vinfo vinfo,
List section)
Read nested graphic symbolic structure data
|
Array |
Nidsiosp.readNestedLinkedVectorData(String name,
String memberName,
ByteBuffer bos,
ucar.nc2.iosp.nids.Nidsheader.Vinfo vinfo,
List section)
Read nested structure data
|
Array |
Nidsiosp.readNestedTextStringData(String name,
String memberName,
ByteBuffer bos,
ucar.nc2.iosp.nids.Nidsheader.Vinfo vinfo,
List section)
Read nested data
|
Array |
Nidsiosp.readNestedVectorArrowData(String name,
String memberName,
ByteBuffer bos,
ucar.nc2.iosp.nids.Nidsheader.Vinfo vinfo,
List section)
Read nested data
|
Array |
Nidsiosp.readNestedWindBarbData(String name,
String memberName,
ByteBuffer bos,
ucar.nc2.iosp.nids.Nidsheader.Vinfo vinfo,
List section)
Read nested data
|
Modifier and Type | Method and Description |
---|---|
Array |
StructureDataRegexp.getArray(StructureMembers.Member m) |
Array |
StructureDataAscii.getArray(StructureMembers.Member m) |
Array |
IgraPor.readData(Variable v2,
Section section) |
Array |
Ghcnm2.readData(Variable v2,
Section section) |
Array |
Ghcnm.readData(Variable v2,
Section section)
Returns an ArraySequence, no subsetting is allowed.
|
Modifier and Type | Method and Description |
---|---|
Array |
NOWRadiosp.readData(Variable v2,
Section section)
Read the data for each variable passed in
|
Modifier and Type | Method and Description |
---|---|
Array |
ShapefileIosp.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
SigmetIOServiceProvider.readData(Variable v2,
Section section) |
Array |
SigmetIOServiceProvider.readData1(Variable v2,
Section section)
Read data from a top level Variable and return a memory resident Array.
|
Array |
SigmetIOServiceProvider.readFloatData(LayoutRegular index,
Variable v2)
Read data from a top level Variable of FLOAT data type and return a memory resident Array.
|
Array |
SigmetIOServiceProvider.readIntData(LayoutRegular index,
Variable v2)
Read data from a top level Variable of INTEGER data type and return a memory resident Array.
|
Modifier and Type | Method and Description |
---|---|
Array |
UAMIVServiceProvider.readData(Variable v2,
Section wantSection)
Read data from a top level Variable and return a memory resident Array.
|
Modifier and Type | Method and Description |
---|---|
Array |
UFiosp.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
Array |
Nc4Iosp.readData(Variable v2,
Section section) |
Modifier and Type | Method and Description |
---|---|
void |
Nc4Iosp.writeData(Variable v2,
Section section,
Array values) |
Modifier and Type | Method and Description |
---|---|
protected Array |
Aggregation.Dataset.read(Variable mainv,
CancelTask cancelTask) |
protected Array |
Aggregation.Dataset.read(Variable mainv,
CancelTask cancelTask,
List<Range> section)
Read a section of the local Variable.
|
static Array |
NcMLReader.readAttributeValues(org.jdom2.Element s)
Parse the values element
|
Array |
Aggregation.DatasetProxyReader.reallyRead(Variable mainV,
CancelTask cancelTask) |
Array |
AggregationOuterDimension.reallyRead(Variable mainv,
CancelTask cancelTask)
Read an aggregation variable: A variable whose data spans multiple files.
|
Array |
AggregationTiled.reallyRead(Variable mainv,
CancelTask cancelTask) |
Array |
Aggregation.DatasetProxyReader.reallyRead(Variable mainV,
Section section,
CancelTask cancelTask) |
Array |
AggregationOuterDimension.reallyRead(Variable mainv,
Section section,
CancelTask cancelTask)
Read a section of an aggregation variable.
|
Array |
AggregationTiled.reallyRead(Variable mainv,
Section wantSection,
CancelTask cancelTask) |
Modifier and Type | Method and Description |
---|---|
protected Array |
CdmRemote.readData(Variable v,
Section section) |
Array |
NcStreamIosp.readData(Variable v,
Section section) |
Modifier and Type | Method and Description |
---|---|
boolean |
CompareNetcdf2.compareData(String name,
Array data1,
Array data2) |
boolean |
CompareNetcdf2.compareData(String name,
Array data1,
Array data2,
boolean justOne) |
boolean |
CompareNetcdf2.compareData(String name,
Array data1,
double[] data2) |
Modifier and Type | Method and Description |
---|---|
protected Array |
VerticalTransformImpl.readArray(Variable v,
int timeIndex)
Read the data
Array from the variable, at the specified
time index if applicable. |
Copyright © 1999–2016 UCAR/Unidata. All rights reserved.