ucar.nc2.dt.trajectory
Class COSMICTrajectoryObsDataset
java.lang.Object
ucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.trajectory.TrajectoryObsDatasetImpl
ucar.nc2.dt.trajectory.COSMICTrajectoryObsDataset
- All Implemented Interfaces:
- TrajectoryObsDataset, TypedDataset, TypedDatasetFactoryIF
public class COSMICTrajectoryObsDataset
- extends TrajectoryObsDatasetImpl
- implements TypedDatasetFactoryIF
Created by IntelliJ IDEA.
User: yuanho
Date: Jul 14, 2009
Time: 3:02:33 PM
To change this template use File | Settings | File Templates.
Fields inherited from class ucar.nc2.dt.trajectory.TrajectoryObsDatasetImpl |
dimVar, dimVarUnitsString, elevVar, elevVarUnitsConversionFactor, latVar, lonVar, recordVar, trajectory, trajectoryDim, trajectoryId, trajectoryNumPoint, trajectoryVarsMap |
Methods inherited from class ucar.nc2.dt.TypedDatasetImpl |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getTitle, removeDataVariable, setDescription, setLocationURI, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COSMICTrajectoryObsDataset
public COSMICTrajectoryObsDataset()
COSMICTrajectoryObsDataset
public COSMICTrajectoryObsDataset(NetcdfDataset ncd)
throws IOException
- Throws:
IOException
isValidFile
public static boolean isValidFile(NetcdfDataset ncd)
getStartDate
public Date getStartDate()
- Specified by:
getStartDate
in interface TypedDataset
- Overrides:
getStartDate
in class TypedDatasetImpl
- Returns:
- Start date for the entire dataset.
getEndDate
public Date getEndDate()
- Specified by:
getEndDate
in interface TypedDataset
- Overrides:
getEndDate
in class TypedDatasetImpl
- Returns:
- End date for the entire dataset.
setStartDate
protected void setStartDate()
- Specified by:
setStartDate
in class TypedDatasetImpl
setEndDate
protected void setEndDate()
- Specified by:
setEndDate
in class TypedDatasetImpl
isMine
public boolean isMine(NetcdfDataset ds)
- Description copied from interface:
TypedDatasetFactoryIF
- Determine if this dataset belongs to you
- Specified by:
isMine
in interface TypedDatasetFactoryIF
- Parameters:
ds
- examine this NetcdfDataset to see if it belongs to this class.
- Returns:
- true if this class knows how to create a TypedDataset out of this NetcdfDataset.
open
public TypedDataset open(NetcdfDataset ncd,
CancelTask task,
StringBuilder errlog)
throws IOException
- Description copied from interface:
TypedDatasetFactoryIF
- Open a NetcdfDataset as a TypedDataset.
- Specified by:
open
in interface TypedDatasetFactoryIF
- Parameters:
ncd
- already opened NetcdfDataset.task
- use may cancelerrlog
- place errors here
- Returns:
- a subclass of TypedDataset
- Throws:
IOException
- on error
getScientificDataType
public FeatureType getScientificDataType()
- Description copied from interface:
TypedDatasetFactoryIF
- What kind of cientific data type will this return?
- Specified by:
getScientificDataType
in interface TypedDatasetFactoryIF
- Returns:
- scientific data type
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.