public class SequenceVariableAdapter extends VariableAdapter
DSequence variables to the
VisAD data-import context.
Instances are immutable.
| Modifier and Type | Class and Description |
|---|---|
protected class |
SequenceVariableAdapter.SequenceAccessor
Provides support for accessing a DODS DSequence as a VisAD
FileFlatField. |
| Modifier and Type | Method and Description |
|---|---|
DataImpl |
data(dods.dap.DSequence sequence,
boolean copy)
Returns the VisAD
DataImpl corresponding to a DODS DSequence. |
MathType |
getMathType()
Returns the VisAD
MathType of this instance. |
SimpleSet[] |
getRepresentationalSets(boolean copy)
|
static SequenceVariableAdapter |
sequenceVariableAdapter(dods.dap.DSequence sequence,
dods.dap.DAS das,
VariableAdapterFactory factory)
Returns an instance of this class corresponding to a DODS
DSequence. |
protected void |
setField(dods.dap.DSequence sequence,
FieldImpl field,
boolean copy)
Sets the range of a compatible VisAD
FieldImpl from a DODS
DSequence. |
data, data, data, data, data, data, data, data, data, data, data, data, data, data, mathTypeattributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarNamepublic static SequenceVariableAdapter sequenceVariableAdapter(dods.dap.DSequence sequence, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, RemoteException
DSequence.sequence - The DODS variable. Only the DODS metadata is
used: the variable needn't have any actual data.das - The DODS DAS in which the attribute
table for the DODS variable is embedded.factory - A factory for creating variable adapters.VisADException - VisAD failure.RemoteException - Java RMI failure.public MathType getMathType()
MathType of this instance.getMathType in class VariableAdapterpublic SimpleSet[] getRepresentationalSets(boolean copy)
Sets that will be used to represent this
instances data values in the range of a VisAD FlatField.getRepresentationalSets in class VariableAdaptercopy - If true, then the array is cloned.public DataImpl data(dods.dap.DSequence sequence, boolean copy) throws VisADException, RemoteException
DataImpl corresponding to a DODS DSequence.data in class VariableAdaptersequence - The DODS variable to have the corresponding
VisAD data object returned. The variable
must be compatible with the variable used to
construct this instance.copy - If true, then data values are copied.FileFlatField, FlatField, or
FieldImpl.VisADException - VisAD failure. Possibly the variable wasn't
compatible with the variable used to construct
this instance.RemoteException - Java RMI failure.protected void setField(dods.dap.DSequence sequence,
FieldImpl field,
boolean copy)
throws VisADException,
RemoteException
FieldImpl from a DODS
DSequence.sequence - A DODS variable whose data values will be
used to set the VisAD Field.field - A VisAD field whose range values will be set.
The field must be compatible with the DODS
sequence.copy - If true, then data values are copied.VisADException - VisAD failure. Possibly the DODS variable and
the VisAD field are incompatible.RemoteException - Java RMI failure.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.