ucar.nc2.thredds
Class MetadataExtractor
java.lang.Object
ucar.nc2.thredds.MetadataExtractor
public class MetadataExtractor
- extends java.lang.Object
Extract THREDDS metadata from the underlying CDM dataset.
- Version:
- $Revision:63 $ $Date:2006-07-12 21:50:51Z $
- Author:
- caron
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataExtractor
public MetadataExtractor()
extractGeospatial
public static ThreddsMetadata.GeospatialCoverage extractGeospatial(InvDatasetImpl threddsDataset)
throws java.io.IOException
- Extract the lat/lon/alt bounding boxes from the dataset.
- Parameters:
threddsDataset - open this dataset
- Returns:
- ThreddsMetadata.GeospatialCoverage, or null if unable.
- Throws:
java.io.IOException
extractGeospatial
public static ThreddsMetadata.GeospatialCoverage extractGeospatial(GridDataset gridDataset)
extractVariables
public static ThreddsMetadata.Variables extractVariables(InvDatasetImpl threddsDataset)
throws java.io.IOException
- Extract a list of data variables (and their canonical names if possible) from the dataset.
- Parameters:
threddsDataset - open this dataset
- Returns:
- ThreddsMetadata.Variables, or null if unable.
- Throws:
java.io.IOException
extractVariables
public static ThreddsMetadata.Variables extractVariables(InvDatasetImpl threddsDataset,
GridDataset gridDataset)
extractDateRange
public static DateRange extractDateRange(GridDataset gridDataset)