|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.iosp.grads.GradsDimension
ucar.nc2.iosp.grads.GradsTimeDimension
public class GradsTimeDimension
Class to hold the complexities of the GrADS time dimension
Field Summary |
---|
Fields inherited from class ucar.nc2.iosp.grads.GradsDimension |
---|
LEVELS, LINEAR |
Constructor Summary | |
---|---|
GradsTimeDimension(String name,
int size,
String mapping)
Create new GradsTimeDimension |
Method Summary | |
---|---|
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 |
Methods inherited from class ucar.nc2.iosp.grads.GradsDimension |
---|
addLevel, getLevels, getName, getSize, getType, getUnit, getValues, setUnit, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GradsTimeDimension(String name, int size, String mapping)
name
- the dimension namesize
- the dimension sizemapping
- the dimension mapping typeMethod Detail |
---|
protected double[] makeLevelValues()
makeLevelValues
in class GradsDimension
public GradsTimeStruct makeTimeStruct(int timeIndex)
timeIndex
- the time value index
public String replaceFileTemplate(String filespec, int timeIndex)
filespec
- the file templatetimeIndex
- the time index
public static boolean hasTimeTemplate(String template)
template
- the file template
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |