public class VisADAdapter
extends ucar.netcdf.AbstractNetcdf
| Constructor and Description |
|---|
VisADAdapter(Data data)
Construct from a generic VisAD data object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public VisADAdapter(Data data) throws BadFormException, VisADException, RemoteException, IOException
data - The VisAD data object to be adapted to a netCDF
APIUnimplementedException - Something that should be
implemented isn't yet.BadFormException - The VisAD data object cannot be
adapted to a netCDF APIVisADException - Problem in core VisAD. Some VisAD
object probably couldn't be created.RemoteException - Remote data access failure.IOException - Data access failure.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 APIVisADException - 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 APIIOException - 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 APIVisADException - 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 APIVisADException - 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.VisADExceptionBadFormExceptionprotected 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.AbstractNetcdfCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.