public class EarthDataViewFactory
extends java.lang.Object
EarthDataViewFactory
uses an EarthDataReader
and variable name to create an EarthDataView
for displaying a view of the variable data.Constructor and Description |
---|
EarthDataViewFactory() |
Modifier and Type | Method and Description |
---|---|
static EarthDataView |
create(EarthDataReader reader,
java.lang.String varName)
Creates a new data view.
|
void |
setSubsetSize(int subsetSize)
Sets the grid subset size.
|
public void setSubsetSize(int subsetSize)
EarthDataReader
passed
to create(noaa.coastwatch.io.EarthDataReader, java.lang.String)
is capable of reading grid subsets via the
GridSubsetReader
interface, the specified grid subset
dimension will be used to limit the total size of grid data read.
The default subset size is set at 256, which is appropriate for
previewing grid data.subsetSize
- the grid subset size.public static EarthDataView create(EarthDataReader reader, java.lang.String varName)
reader
- the reader to use for variable data.varName
- the variable name to view.