public class GradsEnsembleDimension extends GradsDimension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENS_TEMPLATE_ID
ensemble filename template
|
static java.lang.String |
NAMES
ensemble names identifier
|
LEVELS, LINEAR
Constructor and Description |
---|
GradsEnsembleDimension(java.lang.String name,
int size,
java.lang.String mapping)
Create a new ensemble dimension holder
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getEnsembleNames()
Get the ensemble member names
|
protected double[] |
makeLevelValues()
Make the level values from the specifications
|
java.lang.String |
replaceFileTemplate(java.lang.String filespec,
int ensIndex)
Replace the ensemble template parameter in a filename
|
public static final java.lang.String NAMES
public static final java.lang.String ENS_TEMPLATE_ID
public GradsEnsembleDimension(java.lang.String name, int size, java.lang.String mapping)
name
- the dimension namesize
- the dimension sizemapping
- the dimension mapping typepublic java.util.List<java.lang.String> getEnsembleNames()
protected double[] makeLevelValues()
makeLevelValues
in class GradsDimension
public java.lang.String replaceFileTemplate(java.lang.String filespec, int ensIndex)
filespec
- the file templateensIndex
- the ensemble index