cdm/src/main/java/ucar/nc2/iosp/grads/GradsEnsembleDimension.java
public String replaceFileTemplate(String filespec, int ensIndex) {
        return filespec.replaceAll(ENS_TEMPLATE_ID,
                                   getEnsembleNames().get(ensIndex));
    }
public String replaceFileTemplate(String filespec, int ensIndex) {
        return filespec.replaceAll(ENS_TEMPLATE_ID,
                                   getEnsembleNames().get(ensIndex));
    }
Replace the ensemble template parameter in a filename

@param filespec  the file template
@param ensIndex the ensemble index

@return  the filled in template