public class CWOpendapReader extends OpendapReader
CWOpendapReader
class reads OPeNDAP
accessible datasets and uses the CoastWatch HDF metadata
conventions to parse the attribute and variable data.connect, das, dds
dataProjection, info, rawMetadataMap, variables
Constructor and Description |
---|
CWOpendapReader(java.lang.String url)
Creates a new reader using the specified URL.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDataFormat()
Gets the data format description.
|
double |
getMetaVersion()
Gets the CoastWatch HDF metadata version for this dataset.
|
protected DataVariable |
getPreviewImpl(int index)
Implementation for the subclass.
|
DataVariable |
getVariable(int index)
Creates a data variable object.
|
static void |
main(java.lang.String[] argv)
Tests this class.
|
close, getAttributeMap, getPrimitiveClassType, isUnsigned
canUpdateNavigation, finalize, getAllGrids, getAllVariables, getCoordinateSystems, getIndex, getInfo, getName, getPreview, getPreview, getRawMetadata, getSceneTime, getSource, getStatistics, getStatisticsVariables, getVariable, getVariables, getVariablesForSystem, putStatistics, setDataProjection, setUnitsMap, updateNavigation
public CWOpendapReader(java.lang.String url) throws java.io.IOException
url
- the network location.java.io.IOException
- if the an error occurred accessing the dataset.public java.lang.String getDataFormat()
getDataFormat
in class EarthDataReader
public double getMetaVersion()
protected DataVariable getPreviewImpl(int index) throws java.io.IOException
EarthDataReader
getPreviewImpl
in class EarthDataReader
java.io.IOException
EarthDataReader.getPreview(int)
public DataVariable getVariable(int index) throws java.io.IOException
EarthDataReader
getVariable
in class EarthDataReader
index
- the index of the variable to get. Indexing
starts at 0.java.io.IOException
- if the data source had I/O errors.EarthDataReader.getPreview(int)
public static void main(java.lang.String[] argv) throws java.lang.Exception
argv
- the array of command line parameters.java.lang.Exception