public static class TSExtractor.GeneralTimeSeriesX extends java.lang.Object implements TimeSeriesX
| Constructor and Description |
|---|
GeneralTimeSeriesX(MetaData rdr,
Variable var,
java.lang.Boolean ignoreFill,
double[] timeRange,
TimeInstantModel ts,
boolean oned,
boolean columnMajor) |
| Modifier and Type | Method and Description |
|---|---|
TimeInstantModel |
getTimeInstantModel()
Returns time instant model used to derive times returned
by
getTimes(). |
double[] |
getTimes()
Returns times according to the
time instant model
returned by getTimeInstantModel(). |
java.lang.Object |
getValues()
Returns values of the variable at times returned by getTimes().
|
boolean |
isColumnMajor() |
boolean |
isOneD() |
public GeneralTimeSeriesX(MetaData rdr, Variable var, java.lang.Boolean ignoreFill, double[] timeRange, TimeInstantModel ts, boolean oned, boolean columnMajor) throws java.lang.Throwable
rdr - var - ignoreFill - timeRange - ts - oned - columnMajor - java.lang.Throwablepublic double[] getTimes()
throws CDFException.ReaderError
TimeSeriestime instant model
returned by getTimeInstantModel().getTimes in interface TimeSeriesCDFException.ReaderErrorCDFReader.timeModelInstance()public java.lang.Object getValues()
throws CDFException.ReaderError
TimeSeriesgetValues in interface TimeSeriesgetTimes()CDFException.ReaderErrorpublic TimeInstantModel getTimeInstantModel()
TimeSeriesgetTimes().getTimeInstantModel in interface TimeSeriespublic boolean isOneD()
isOneD in interface TimeSeriesXpublic boolean isColumnMajor()
isColumnMajor in interface TimeSeriesX