| Package | Description |
|---|---|
| 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.dods |
OpenDAP-netCDF library.
|
| ucar.nc2.dt |
Scientific data types package.
|
| ucar.nc2.dt.grid |
Scientific data type "Grid", uses cartesian coordinate system.
|
| ucar.nc2.dt.point |
Scientific data type "Point", collections of point observation data.
|
| ucar.nc2.dt.radial |
Scientific data type "Radial", uses spherical coordinate system.
|
| ucar.nc2.ft.grid | |
| ucar.nc2.ft.point |
package ucar.nc2.ft.point : Implementation of Point Feature Types
|
| ucar.nc2.ft.point.writer |
package ucar.nc2.ft.point.writer : Write (to files) Point Feature Types
|
| ucar.nc2.iosp |
General classes for I/O Service Providers
|
| ucar.nc2.iosp.adde |
IOSP for ADDE servers
|
| ucar.nc2.iosp.misc |
Miscellaneous IOSPs.
|
| ucar.nc2.iosp.netcdf3 |
I/O Service Provider for NetCDF-3 format files
|
| ucar.nc2.iosp.noaa | |
| ucar.nc2.stream |
| Modifier and Type | Method and Description |
|---|---|
DataType |
StructureMembers.Member.getDataType()
Get the DataType.
|
static DataType |
DataType.getType(java.lang.Class c)
Find the DataType that matches this class.
|
static DataType |
DataType.getType(java.lang.String name)
Find the DataType that matches this name.
|
static DataType |
DataType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
StructureMembers.Member |
StructureMembers.addMember(java.lang.String name,
java.lang.String desc,
java.lang.String units,
DataType dtype,
int[] shape) |
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 void |
MAMath.copy(DataType dataType,
IndexIterator from,
IndexIterator to)
Copy using iterators.
|
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.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.
|
void |
StructureMembers.Member.setVariableInfo(java.lang.String vname,
java.lang.String desc,
java.lang.String unitString,
DataType dtype) |
| Constructor and Description |
|---|
StructureMembers.Member(java.lang.String name,
java.lang.String desc,
java.lang.String units,
DataType dtype,
int[] shape) |
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
Variable.dataType |
| Modifier and Type | Method and Description |
|---|---|
DataType |
VariableSimpleIF.getDataType()
Variable's data type
|
DataType |
VariableSimpleAdapter.getDataType() |
DataType |
VariableIF.getDataType() |
DataType |
Variable.getDataType()
Get the data type of the Variable.
|
DataType |
Attribute.getDataType()
Get the data type of the Attribute value.
|
| Modifier and Type | Method and Description |
|---|---|
Variable |
NetcdfFile.addVariable(Group g,
java.lang.String shortName,
DataType dtype,
java.lang.String dims)
Create a new Variable, and add to the given group.
|
Variable |
NetcdfFileWriteable.addVariable(java.lang.String varName,
DataType dataType,
Dimension[] dims)
Add a variable to the file.
|
Variable |
NetcdfFileWriteable.addVariable(java.lang.String shortName,
DataType dataType,
java.util.List<Dimension> dims)
Add a variable to the file.
|
Variable |
NetcdfFileWriteable.addVariable(java.lang.String varName,
DataType dataType,
java.lang.String dims)
Add a variable to the file.
|
void |
Variable.setDataType(DataType dataType)
Set the data type
|
| Constructor and Description |
|---|
Attribute(java.lang.String name,
DataType dataType)
Construct an empty attribute with no values
|
Variable(NetcdfFile ncfile,
Group group,
Structure parent,
java.lang.String shortName,
DataType dtype,
java.lang.String dims)
Create a Variable.
|
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
VariableDS.orgDataType |
| Modifier and Type | Method and Description |
|---|---|
DataType |
VariableDS.getOriginalDataType()
When this wraps another Variable, get the original Variable's DataType.
|
DataType |
StructureDS.getOriginalDataType()
When this wraps another Variable, get the original Variable's DataType.
|
| Modifier and Type | Method and Description |
|---|---|
static Array |
NetcdfDataset.makeArray(DataType dtype,
java.util.List<java.lang.String> stringValues)
Deprecated.
use Array#makeArray directly
|
| Constructor and Description |
|---|
CoordinateAxis(NetcdfDataset ds,
Group group,
java.lang.String shortName,
DataType dataType,
java.lang.String dims,
java.lang.String units,
java.lang.String desc)
Constructor when theres no underlying variable.
|
CoordinateAxis1D(NetcdfDataset ds,
Group group,
java.lang.String shortName,
DataType dataType,
java.lang.String dims,
java.lang.String units,
java.lang.String desc)
Constructor when theres no underlying variable.
|
VariableDS(NetcdfDataset ds,
Group group,
Structure parentStructure,
java.lang.String shortName,
DataType dataType,
java.lang.String dims,
java.lang.String units,
java.lang.String desc)
Constructor when there's no underlying variable.
|
| Modifier and Type | Method and Description |
|---|---|
static DataType |
DODSNetcdfFile.convertToNCType(opendap.dap.BaseType dtype)
Get the Netcdf data type corresponding to the DODS BaseType class.
|
static DataType |
DODSNetcdfFile.convertToNCType(int dodsDataType)
Get the Netcdf data type corresponding to the DODS data type.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
DODSNetcdfFile.convertToDODSType(DataType dataType,
boolean isUnsigned)
Get the DODS data class corresponding to the Netcdf data type.
|
| Modifier and Type | Method and Description |
|---|---|
DataType |
VariableSimpleSubclass.getDataType() |
DataType |
GridDatatype.getDataType()
get the data type
|
| Modifier and Type | Method and Description |
|---|---|
DataType |
GeoGrid.getDataType()
get the data type
|
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
RecordDatasetHelper.stationIdType
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
DataType |
RadialDatasetSweepAdapter.MyRadialVariableAdapter.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
DataType |
Grid.getDataType()
get the data type
|
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
RecordDatasetHelper.stationIdType |
| Modifier and Type | Method and Description |
|---|---|
DataType |
PointObVar.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
void |
PointObVar.setDataType(DataType dtype) |
| Constructor and Description |
|---|
PointObVar(java.lang.String name,
java.lang.String units,
java.lang.String desc,
DataType dtype,
int len) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
IospHelper.makePrimitiveArray(int size,
DataType dataType)
Create 1D primitive array of the given size and type
|
static java.lang.Object |
IospHelper.makePrimitiveArray(int size,
DataType dataType,
java.lang.Object fillValue)
Create 1D primitive array of the given size and type, fill it with the given value
|
static java.lang.Object |
IospHelper.readData(LayoutBB layout,
DataType dataType,
java.lang.Object arr)
Read data subset from ByteBuffer, place in given primitive array.
|
static java.lang.Object |
IospHelper.readData(PositioningDataInputStream raf,
Layout index,
DataType dataType,
java.lang.Object arr)
Read data subset from PositioningDataInputStream, place in given primitive array.
|
static java.lang.Object |
IospHelper.readData(RandomAccessFile raf,
Layout layout,
DataType dataType,
java.lang.Object arr,
int byteOrder,
boolean convertChar)
Read data subset from RandomAccessFile, place in given primitive array.
|
static java.lang.Object |
IospHelper.readDataFill(LayoutBB layout,
DataType dataType,
java.lang.Object fillValue)
Read data subset from ByteBuffer, create primitive array of size Layout.getTotalNelems.
|
static java.lang.Object |
IospHelper.readDataFill(PositioningDataInputStream is,
Layout index,
DataType dataType,
java.lang.Object fillValue)
Read data subset from PositioningDataInputStream, create primitive array of size Layout.getTotalNelems.
|
static java.lang.Object |
IospHelper.readDataFill(RandomAccessFile raf,
Layout index,
DataType dataType,
java.lang.Object fillValue,
int byteOrder)
Read data subset from RandomAccessFile, create primitive array of size Layout.getTotalNelems.
|
static java.lang.Object |
IospHelper.readDataFill(RandomAccessFile raf,
Layout index,
DataType dataType,
java.lang.Object fillValue,
int byteOrder,
boolean convertChar) |
| Constructor and Description |
|---|
AddeVariable(NetcdfDataset ncfile,
Structure parentStructure,
java.lang.String shortName,
DataType dataType,
java.lang.String dims,
java.lang.String units,
java.lang.String desc,
int nparam) |
| Modifier and Type | Method and Description |
|---|---|
protected Variable |
AbstractLightningIOSP.makeLightningVariable(NetcdfFile ncfile,
Group group,
Structure seq,
java.lang.String name,
DataType dataType,
java.lang.String dims,
java.lang.String longName,
java.lang.String cfName,
java.lang.String units,
AxisType type)
Make lightning variables
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
N3raf.readData(Layout index,
DataType dataType)
Read data subset from file for a variable, create primitive array.
|
protected abstract java.lang.Object |
N3iosp.readData(Layout index,
DataType dataType)
Read data subset from file for a variable, create primitive array.
|
protected long |
N3raf.readData(Layout index,
DataType dataType,
java.nio.channels.WritableByteChannel out)
Read data subset from file for a variable, to WritableByteChannel.
|
protected abstract long |
N3iosp.readData(Layout index,
DataType dataType,
java.nio.channels.WritableByteChannel out) |
protected void |
N3raf.writeData(Array values,
Layout index,
DataType dataType)
write data to a file for a variable.
|
protected abstract void |
N3iosp.writeData(Array aa,
Layout index,
DataType dataType)
Write data subset to file for a variable, create primitive array.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
StructureDataRegexp.parse(DataType dt,
StructureDataRegexp.VinfoField vinfo) |
protected java.lang.Object |
StructureDataRegexp.parse(DataType dt,
StructureDataRegexp.VinfoField vinfo,
int fldno) |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
NcStream.decodeDataType(NcStreamProto.DataType dtype) |
| Modifier and Type | Method and Description |
|---|---|
static NcStreamProto.DataType |
NcStream.encodeDataType(DataType dtype) |