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 String
ENS_TEMPLATE_ID
ensemble filename templatestatic String
NAMES
ensemble 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 specificationsString
replaceFileTemplate(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:
makeLevelValues
in classGradsDimension
- Returns:
- the level values
-
-