Package ucar.nc2.iosp.grads
Class GradsEnsembleDimension
- java.lang.Object
-
- ucar.nc2.iosp.grads.GradsDimension
-
- ucar.nc2.iosp.grads.GradsEnsembleDimension
-
public class GradsEnsembleDimension extends GradsDimension
Extension of GradsDimension to handle the complexities of ensembles
-
-
Field Summary
Fields Modifier and Type Field Description static StringENS_TEMPLATE_IDensemble filename templatestatic StringNAMESensemble names identifier-
Fields inherited from class ucar.nc2.iosp.grads.GradsDimension
LEVELS, LINEAR
-
-
Constructor Summary
Constructors Constructor Description GradsEnsembleDimension(String name, int size, String mapping)Create a new ensemble dimension holder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getEnsembleNames()Get the ensemble member namesprotected double[]makeLevelValues()Make the level values from the specificationsStringreplaceFileTemplate(String filespec, int ensIndex)Replace the ensemble template parameter in a filename
-
-
-
Field Detail
-
NAMES
public static final String NAMES
ensemble names identifier- See Also:
- Constant Field Values
-
ENS_TEMPLATE_ID
public static final String ENS_TEMPLATE_ID
ensemble filename template- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnsembleNames
public List<String> getEnsembleNames()
Get the ensemble member names- Returns:
- the list of names
-
makeLevelValues
protected double[] makeLevelValues()
Make the level values from the specifications- Overrides:
makeLevelValuesin classGradsDimension- Returns:
- the level values
-
-