|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.netcdf.AbstractNetcdf
visad.data.netcdf.out.VisADAdapter
The VisADAdapter class adapts a VisAD data object to the AbstractNetcdf API.
| Constructor Summary | |
VisADAdapter(Data data)
Construct from a generic VisAD data object. |
|
| Method Summary | |
protected Dimension |
define1DDim(SampledSet set)
Define the netCDF dimension of a 1-D SampledSet. |
protected Dimension[] |
defineLinearSetDims(GriddedSet set)
Define the netCDF dimensions of a VisAD LinearSet, including any necessary coordinate variables.. |
protected Dimension |
defineNDDim(SampledSet set)
Define the netCDF dimension of a multi-dimensional SampledSet. |
protected Dimension |
defineSampledSetDim(SampledSet set)
Define the netCDF dimensions and variables of a VisAD SampledSet. |
Accessor |
ioFactory(ProtoVariable protoVar)
Return a MultiArray Accessor for a variable. |
protected Dimension[] |
reverse(Dimension[] inDims)
Reverse the dimensions in a 1-D array. |
protected void |
visit(Data data,
VisADAccessor outerAccessor)
Visit a VisAD data object. |
protected void |
visit(Field field,
VisADAccessor outerAccessor)
Define the netCDF dimensions and variables of a VisAD Field object. |
protected void |
visit(Real real,
VisADAccessor outerAccessor)
Visit a VisAD Real object. |
protected void |
visit(Text text,
VisADAccessor outerAccessor)
Visit a VisAD Text object. |
protected void |
visit(Tuple tuple,
VisADAccessor outerAccessor)
Visit a VisAD Tuple object. |
| Methods inherited from class ucar.netcdf.AbstractNetcdf |
add, contains, contains, get, getAttribute, getAttributes, getDimensions, initHashtable, iterator, putAttribute, putDimension, size, toCdl, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public VisADAdapter(Data data)
throws BadFormException,
VisADException,
RemoteException,
IOException
data - The VisAD data object to be adapted to a netCDF
API
UnimplementedException - Something that should be
implemented isn't yet.
BadFormException - The VisAD data object cannot be
adapted to a netCDF API
VisADException - Problem in core VisAD. Some VisAD
object probably couldn't be created.
RemoteException - Remote data access failure.
IOException - Data access failure.| Method Detail |
protected void visit(Data data,
VisADAccessor outerAccessor)
throws UnimplementedException,
BadFormException,
VisADException,
RemoteException,
IOException
data - The VisAD data object to be visited.outerAccessor - The means for accessing the individual VisAD
data objects of the enclosing
VisAD data object.
UnimplementedException - Something that should be
implemented isn't yet.
BadFormException - The VisAD data object cannot be
adapted to a netCDF API
VisADException - Problem in core VisAD.
Probably some VisAD object couldn't be created.
RemoteException - Remote data access failure.
IOException - Data access failure.
protected void visit(Text text,
VisADAccessor outerAccessor)
throws BadFormException,
IOException
text - The VisAD Text object to be visited.outerAccessor - The means for accessing the individual VisAD
Text objects of the enclosing
VisAD data object.
BadFormException - The VisAD data object cannot be
adapted to a netCDF API
IOException - Data access failure.
protected void visit(Real real,
VisADAccessor outerAccessor)
throws BadFormException,
VisADException
real - The VisAD Real object to be visited.outerAccessor - The means for accessing the individual VisAD
Real objects of the enclosing
VisAD data object.
BadFormException - The VisAD data object cannot be
adapted to a netCDF API
VisADException - Problem in core VisAD.
Probably some VisAD object couldn't be created.
protected void visit(Tuple tuple,
VisADAccessor outerAccessor)
throws VisADException,
RemoteException,
IOException
tuple - The VisAD Tuple object to be visited.outerAccessor - The means for accessing the individual VisAD
Tuple objects of the enclosing
VisAD data object.
VisADException - Problem in core VisAD. Probably some
VisAD object couldn't be created.
RemoteException - Remote data access failure.
IOException - Local data access failure.
protected void visit(Field field,
VisADAccessor outerAccessor)
throws RemoteException,
VisADException,
BadFormException,
UnimplementedException,
IOException
field - The VisAD Field to be visitedouterAccessor - The means for accessing the individual VisAD
Field objects of the enclosing
VisAD data object.
UnimplementedException - Something that should be implemented
isn't yet.
BadFormException - The VisAD data object cannot be adapted
to a netCDF API
VisADException - Problem in core VisAD. Probably some
VisAD object couldn't be created.
RemoteException - Remote data access failure.
IOException - Local data access failure.
protected Dimension[] defineLinearSetDims(GriddedSet set)
throws VisADException,
BadFormException
set - The VisAD GriddedSet to be examined, WHERE
set instanceof LinearSet.
set.
VisADException
BadFormException
protected Dimension defineSampledSetDim(SampledSet set)
throws VisADException,
BadFormException
set - The VisAD SampledSet to be examined.
set.
VisADException - Problem in core VisAD.
BadFormException - set cannot be represented
in a netCDF dataset.
protected Dimension define1DDim(SampledSet set)
throws VisADException,
BadFormException
set - The set to have a netCDF dimension defined for it.
Precondition: set.getDimension() == 1.
VisADException - Problem in core VisAD.
BadFormException - set cannot be represented
in a netCDF dataset.
protected Dimension defineNDDim(SampledSet set)
throws VisADException,
BadFormException
set - The VisAD SampledSet to be examined and have
a corresponding netCDF "index" dimension created
together with netCDF variables for the independent
variables. Precondition: set.getDimension()
> 1.
VisADException - Problem in core VisAD.
BadFormException - set cannot be represented
in a netCDF dataset.protected Dimension[] reverse(Dimension[] inDims)
public Accessor ioFactory(ProtoVariable protoVar)
ioFactory in class AbstractNetcdf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||