ucar.unidata.data.sounding
Class CosmicTrajectoryObsDataset
java.lang.Object
ucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset
ucar.unidata.data.sounding.CosmicTrajectoryObsDataset
- All Implemented Interfaces:
- ucar.nc2.dt.TrajectoryObsDataset, ucar.nc2.dt.TypedDataset, ucar.nc2.dt.TypedDatasetFactoryIF
public class CosmicTrajectoryObsDataset
- extends ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset
- implements ucar.nc2.dt.TypedDatasetFactoryIF
Implements TrajectoryDataset for datasets with these characteristics:
- it has only one dimension, the dimension is UNLIMITED and is named "MSL_alt"
- it has one coordinate variable, MSL_alt(MSL_alt)
- Time is synthesized from the start and end times in the global
attributes
- has the variables Lat(MSL_alt), Lon(MSL_alt), and MSL_alt(MSL_alt)
with units "deg", "deg", and "km", respectively.
- Since:
- Feb 22, 2005T5:37:14 PM
- Author:
- dmurray
| Nested classes/interfaces inherited from class ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset |
ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset.Config |
| Fields inherited from class ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset |
elevVar, elevVarUnitsConversionFactor, latVar, lonVar, meterUnit, recordVar, timeDim, timeVar, timeVarUnitsString, trajectory, trajectoryId, trajectoryNumPoint, trajectoryVarsMap |
| Fields inherited from class ucar.nc2.dt.TypedDatasetImpl |
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title |
|
Method Summary |
thredds.catalog.DataType |
getScientificDataType()
Get the CDM scientific data type |
boolean |
isMine(ucar.nc2.dataset.NetcdfDataset ds)
Is this my type of file? |
static boolean |
isValidFile(ucar.nc2.dataset.NetcdfDataset ncd)
Is this the right format for this adapter |
ucar.nc2.dt.TypedDataset |
open(ucar.nc2.dataset.NetcdfDataset ncd,
ucar.nc2.util.CancelTask task,
StringBuffer errlog)
Open the NetcdfDataset as a TrajectoryObsDataset |
| Methods inherited from class ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset |
getDetailInfo, getMetersConversionFactor, getTrajectories, getTrajectory, getTrajectoryIds, setBoundingBox, setEndDate, setStartDate, setTrajectoryInfo, syncExtend |
| Methods inherited from class ucar.nc2.dt.TypedDatasetImpl |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setLocationURI, setTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ucar.nc2.dt.TypedDataset |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle |
CosmicTrajectoryObsDataset
public CosmicTrajectoryObsDataset()
- Default constructor.
CosmicTrajectoryObsDataset
public CosmicTrajectoryObsDataset(ucar.nc2.dataset.NetcdfDataset ncd)
throws IOException
- Create a new TrajectoryObsDataset from the generic one
- Parameters:
ncd - dataset to decorate
- Throws:
IOException - problem reading data
isValidFile
public static boolean isValidFile(ucar.nc2.dataset.NetcdfDataset ncd)
- Is this the right format for this adapter
- Parameters:
ncd - NetcdfDataset to check
- Returns:
- true if the right format
isMine
public boolean isMine(ucar.nc2.dataset.NetcdfDataset ds)
- Is this my type of file?
- Specified by:
isMine in interface ucar.nc2.dt.TypedDatasetFactoryIF
- Parameters:
ds - dataset to check
- Returns:
- true if format is correct
open
public ucar.nc2.dt.TypedDataset open(ucar.nc2.dataset.NetcdfDataset ncd,
ucar.nc2.util.CancelTask task,
StringBuffer errlog)
throws IOException
- Open the NetcdfDataset as a TrajectoryObsDataset
- Specified by:
open in interface ucar.nc2.dt.TypedDatasetFactoryIF
- Parameters:
ncd - datasettask - cancel taskerrlog - where to put errors
- Returns:
- TypedDataset or null
- Throws:
IOException - problem opening the file
getScientificDataType
public thredds.catalog.DataType getScientificDataType()
- Get the CDM scientific data type
- Specified by:
getScientificDataType in interface ucar.nc2.dt.TypedDatasetFactoryIF
- Returns:
- the datatype