Package uk.ac.rdg.resc.edal.feature
Class ProfileFeature
- java.lang.Object
-
- uk.ac.rdg.resc.edal.feature.AbstractDiscreteFeature<Double,Extent<Double>>
-
- uk.ac.rdg.resc.edal.feature.ProfileFeature
-
- All Implemented Interfaces:
Serializable
,DiscreteFeature<Double,Extent<Double>>
,Feature<Double>
public class ProfileFeature extends AbstractDiscreteFeature<Double,Extent<Double>>
A measurement of a vertical profile at a point- Author:
- Guy Griffiths
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileFeature(String id, String name, String description, VerticalAxis domain, HorizontalPosition hPos, org.joda.time.DateTime time, Map<String,Parameter> parameters, Map<String,Array1D<Number>> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VerticalAxis
getDomain()
HorizontalPosition
getHorizontalPosition()
Gets the horizontal location of this profile feature.org.joda.time.DateTime
getTime()
Gets the time associated with this point series feature.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
-
getHorizontalPosition
public HorizontalPosition getHorizontalPosition()
Gets the horizontal location of this profile feature.
-
getTime
public org.joda.time.DateTime getTime()
Gets the time associated with this point series feature. May returnnull
if no time is associated
-
getDomain
public VerticalAxis getDomain()
Description copied from interface:DiscreteFeature
-
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<Double,Extent<Double>>
- Overrides:
getValues
in classAbstractDiscreteFeature<Double,Extent<Double>>
- Parameters:
paramId
- The identifier from theFeature.getVariableIds()
set of parameter IDs.- Returns:
- the list of values for the requested member
-
-