|
||||||||||
| 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
public class 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 ucar.netcdf.Dimension |
define1DDim(SampledSet set)
Define the netCDF dimension of a 1-D SampledSet. |
protected ucar.netcdf.Dimension[] |
defineLinearSetDims(GriddedSet set)
Define the netCDF dimensions of a VisAD LinearSet, including any necessary coordinate variables.. |
protected ucar.netcdf.Dimension |
defineNDDim(SampledSet set)
Define the netCDF dimension of a multi-dimensional SampledSet. |
protected ucar.netcdf.Dimension |
defineSampledSetDim(SampledSet set)
Define the netCDF dimensions and variables of a VisAD SampledSet. |
ucar.multiarray.Accessor |
ioFactory(ucar.netcdf.ProtoVariable protoVar)
Return a MultiArray Accessor for a variable. |
protected ucar.netcdf.Dimension[] |
reverse(ucar.netcdf.Dimension[] inDims)
Reverse the dimensions in a 1-D array. |
protected void |
visit(Data data,
visad.data.netcdf.out.VisADAccessor outerAccessor)
Visit a VisAD data object. |
protected void |
visit(Field field,
visad.data.netcdf.out.VisADAccessor outerAccessor)
Define the netCDF dimensions and variables of a VisAD Field object. |
protected void |
visit(Real real,
visad.data.netcdf.out.VisADAccessor outerAccessor)
Visit a VisAD Real object. |
protected void |
visit(Text text,
visad.data.netcdf.out.VisADAccessor outerAccessor)
Visit a VisAD Text object. |
protected void |
visit(Tuple tuple,
visad.data.netcdf.out.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,
visad.data.netcdf.out.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,
visad.data.netcdf.out.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,
visad.data.netcdf.out.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,
visad.data.netcdf.out.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,
visad.data.netcdf.out.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 ucar.netcdf.Dimension[] defineLinearSetDims(GriddedSet set)
throws VisADException,
BadFormException
set - The VisAD GriddedSet to be examined, WHERE
set instanceof LinearSet.
set.
VisADException
BadFormException
protected ucar.netcdf.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 ucar.netcdf.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 ucar.netcdf.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 ucar.netcdf.Dimension[] reverse(ucar.netcdf.Dimension[] inDims)
public ucar.multiarray.Accessor ioFactory(ucar.netcdf.ProtoVariable protoVar)
ioFactory in class ucar.netcdf.AbstractNetcdf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||