public abstract class Strategy extends Object
A strategy for importing a netCDF dataset.
Modifier and Type | Field and Description |
---|---|
static Strategy |
DEFAULT
The default import strategy.
|
static Strategy |
IN_MEMORY
An import strategy that first tries the
InMemoryStrategy strategy
and then tries the MERGED_FILE_FLAT_FIELDS strategy. |
static Strategy |
MERGED_FILE_FLAT_FIELDS
An import strategy that first tries the
FileStrategy strategy
and then tries the UNMERGED_FILE_FLAT_FIELDS strategy. |
static Strategy |
UNMERGED_FILE_FLAT_FIELDS
An import strategy that only tries the
MaxFileFieldStrategy
strategy. |
Modifier | Constructor and Description |
---|---|
protected |
Strategy()
Constructs from nothing.
|
Modifier and Type | Method and Description |
---|---|
abstract DataImpl |
getData(NetcdfAdapter adapter)
Returns a VisAD data object corresponding to the netCDF dataset.
|
public static final Strategy UNMERGED_FILE_FLAT_FIELDS
MaxFileFieldStrategy
strategy.public static final Strategy MERGED_FILE_FLAT_FIELDS
FileStrategy
strategy
and then tries the UNMERGED_FILE_FLAT_FIELDS
strategy.public static final Strategy IN_MEMORY
InMemoryStrategy
strategy
and then tries the MERGED_FILE_FLAT_FIELDS
strategy.public static final Strategy DEFAULT
MERGED_FILE_FLAT_FIELDS
strategy.public abstract DataImpl getData(NetcdfAdapter adapter) throws IOException, VisADException, RemoteException, BadFormException, OutOfMemoryError
Returns a VisAD data object corresponding to the netCDF dataset.
adapter
- The netCDF-to-VisAD adapter.VisADException
- if a problem occurs in core VisAD -- probably
because a VisAD object couldn't be created.IOException
- if a data access I/O failure occurs.BadFormException
- if the netCDF dataset doesn't conform to
conventions implicit in constructing
View.OutOfMemoryError
- if the netCDF dataset couldn't be imported into
memory.RemoteException
- if a Java RMI failure occurs.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.