ucar.nc2.iosp.bufr
Class DataDescriptor
java.lang.Object
ucar.nc2.iosp.bufr.DataDescriptor
public class DataDescriptor
- extends java.lang.Object
Essentially a TableB entry, modified by any relevent TableC operators.
TableD has been expanded.
Replication gets made into nested DataDesccriptors, which we map to Structures (fixed replication) or
Sequences (deferred replication).
Most of the processing is done by DataDescriptorTreeConstructor.convert().
Here we encapsolate the final result, ready to map to the CDM.
- Since:
- Apr 5, 2008
- Author:
- caron
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataDescriptor
public DataDescriptor(short fxy,
TableLookup lookup)
getSubKeys
public java.util.List<DataDescriptor> getSubKeys()
isOkForVariable
public boolean isOkForVariable()
isLocal
public boolean isLocal()
isLocalOverride
public boolean isLocalOverride()
getFxyName
public java.lang.String getFxyName()
getFxy
public short getFxy()
getName
public java.lang.String getName()
getType
public int getType()
getScale
public int getScale()
getRefVal
public int getRefVal()
getUnits
public java.lang.String getUnits()
convert
public float convert(long raw)
transferInfo
public static void transferInfo(java.util.List<DataDescriptor> fromList,
java.util.List<DataDescriptor> toList)
- Transfer info from the "proto message" to another message with the exact same structure.
- Parameters:
fromList - transfer from heretoList - to here
getBitWidth
public int getBitWidth()
getByteWidthCDM
public int getByteWidthCDM()
- Get the number of bytes the CDM datatype will take
- Returns:
- the number of bytes the CDM datatype will take
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getTotalBits
public int getTotalBits()
isVarLength
public boolean isVarLength()
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.