Package uk.ac.rdg.resc.edal.feature
Class MapFeature
- java.lang.Object
 - 
- uk.ac.rdg.resc.edal.feature.AbstractDiscreteFeature<HorizontalPosition,GridCell2D>
 - 
- uk.ac.rdg.resc.edal.feature.MapFeature
 
 
 
- 
- All Implemented Interfaces:
 Serializable,DiscreteFeature<HorizontalPosition,GridCell2D>,Feature<HorizontalPosition>
public class MapFeature extends AbstractDiscreteFeature<HorizontalPosition,GridCell2D> implements Serializable
An implementation of aFeaturewhose domain is aDiscreteHorizontalDomain. This will be returned from any readMapData operations, and can be passed to plotting routines. Note that the purpose of thisFeatureis to read data onto a discrete grid regardless of the original domain of the data. The main use case is in extracting onto a grid which defines an image - i.e. eachGridCell2Din the domain will map exactly onto a single pixel.- Author:
 - Guy
 - See Also:
 - Serialized Form
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapDomaingetDomain()Array2D<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
- 
getValues
public Array2D<Number> getValues(String paramId)
Description copied from interface:DiscreteFeatureGets 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:
 getValuesin interfaceDiscreteFeature<HorizontalPosition,GridCell2D>- Overrides:
 getValuesin classAbstractDiscreteFeature<HorizontalPosition,GridCell2D>- Parameters:
 paramId- The identifier from theFeature.getVariableIds()set of parameter IDs.- Returns:
 - the list of values for the requested member
 
 
- 
getDomain
public MapDomain getDomain()
Description copied from interface:DiscreteFeature- Specified by:
 getDomainin interfaceDiscreteFeature<HorizontalPosition,GridCell2D>- Specified by:
 getDomainin interfaceFeature<HorizontalPosition>- Overrides:
 getDomainin classAbstractDiscreteFeature<HorizontalPosition,GridCell2D>- Returns:
 - the domain of the values contained with the feature. May not
         return 
null 
 
 - 
 
 -