Package uk.ac.rdg.resc.edal.feature
Class TrajectoryFeature
- java.lang.Object
-
- uk.ac.rdg.resc.edal.feature.AbstractDiscreteFeature<GeoPosition,GeoPosition>
-
- uk.ac.rdg.resc.edal.feature.TrajectoryFeature
-
- All Implemented Interfaces:
Serializable
,DiscreteFeature<GeoPosition,GeoPosition>
,Feature<GeoPosition>
public class TrajectoryFeature extends AbstractDiscreteFeature<GeoPosition,GeoPosition>
AFeature
representing values over a 1-dimensional domain of time-ordered points, where each point has a distinct value in 4-dimensional space- Author:
- Guy Griffiths
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrajectoryDomain
getDomain()
Array1D<Number>
getValues(String paramId)
Gets the array of values for the given parameter.-
Methods inherited from class uk.ac.rdg.resc.edal.feature.AbstractDiscreteFeature
getDescription, getFeatureProperties, getId, getName, getParameter, getParameterMap, getVariableIds
-
-
-
-
Method Detail
-
getDomain
public TrajectoryDomain getDomain()
Description copied from interface:DiscreteFeature
- Specified by:
getDomain
in interfaceDiscreteFeature<GeoPosition,GeoPosition>
- Specified by:
getDomain
in interfaceFeature<GeoPosition>
- Overrides:
getDomain
in classAbstractDiscreteFeature<GeoPosition,GeoPosition>
- Returns:
- the domain of the values contained with the feature. May not
return
null
-
getValues
public Array1D<Number> getValues(String paramId)
Description copied from interface:DiscreteFeature
Gets the array of values for the given parameter. The shape of this array must match the shape of the array of domain objects (fromDiscreteDomain.getDomainObjects()
).- Specified by:
getValues
in interfaceDiscreteFeature<GeoPosition,GeoPosition>
- Overrides:
getValues
in classAbstractDiscreteFeature<GeoPosition,GeoPosition>
- Parameters:
paramId
- The identifier from theFeature.getVariableIds()
set of parameter IDs.- Returns:
- the list of values for the requested member
-
-