Class GradsEnsembleDimension


  • public class GradsEnsembleDimension
    extends GradsDimension
    Extension of GradsDimension to handle the complexities of ensembles
    • Constructor Detail

      • GradsEnsembleDimension

        public GradsEnsembleDimension​(String name,
                                      int size,
                                      String mapping)
        Create a new ensemble dimension holder
        Parameters:
        name - the dimension name
        size - the dimension size
        mapping - the dimension mapping type
    • 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 class GradsDimension
        Returns:
        the level values
      • replaceFileTemplate

        public String replaceFileTemplate​(String filespec,
                                          int ensIndex)
        Replace the ensemble template parameter in a filename
        Parameters:
        filespec - the file template
        ensIndex - the ensemble index
        Returns:
        the filled in template