public class GradsTimeDimension extends GradsDimension
LEVELS, LINEAR| Constructor and Description |
|---|
GradsTimeDimension(String name,
int size,
String mapping)
Create new GradsTimeDimension
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasTimeTemplate(String template)
Does this file definition have a time template in it?
|
protected double[] |
makeLevelValues()
Make the level values from the specifications
|
GradsTimeStruct |
makeTimeStruct(int timeIndex)
Make a time struct from the index.
|
String |
replaceFileTemplate(String filespec,
int timeIndex)
Replace the time template parameters in a filename
|
protected double[] makeLevelValues()
makeLevelValues in class GradsDimensionpublic GradsTimeStruct makeTimeStruct(int timeIndex)
timeIndex - the time value indexpublic String replaceFileTemplate(String filespec, int timeIndex)
filespec - the file templatetimeIndex - the time indexpublic static boolean hasTimeTemplate(String template)
template - the file templateCopyright © 1999–2013 UCAR/Unidata. All rights reserved.