public class TimeSeriesContainer extends DataContainer implements java.lang.Cloneable, java.io.Serializable
DataContainer.VERTICAL_DATUM, DataContainer.VERTICAL_UNITS| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
cnotes |
int |
endTime |
int[][] |
inotes |
int |
interval |
int |
julianBaseDate |
int |
numberDepths |
int |
numberValues |
java.lang.String |
parameter
The C Part of the DSS Path
|
int |
precision |
double[] |
profileDepths |
java.lang.String |
profileLabel |
double[][] |
profileValues |
int[] |
quality |
int[][] |
quality7 |
int |
sizeEachNote |
int |
sizeEachQuality7 |
int |
startTime |
boolean |
storeAsDoubles |
java.lang.String |
subLocation |
java.lang.String |
subParameter |
int[] |
times |
boolean |
timesAreInSeconds |
java.lang.String |
timeZoneID |
int |
timeZoneRawOffset |
java.lang.String |
type |
java.lang.String |
units
the Units i.e.
|
java.lang.String |
unitsProfileDepths |
java.lang.String |
unitsProfileValues |
double[] |
values |
coordinateID, coordinateSystem, dataType, fileName, fullName, horizontalDatum, horizontalUnits, location, modified, otherInfo, storedAsdoubles, subVersion, supplementalInfo, version, verticalDatum, verticalUnits, watershed, xOrdinate, yOrdinate, zOrdinate| Constructor and Description |
|---|
TimeSeriesContainer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
void |
clone(TimeSeriesContainer tsc) |
boolean |
compressData() |
boolean |
convertTimeZone(java.lang.String toTimezoneID,
boolean observeDST) |
void |
convertTimeZone(java.util.TimeZone toTimezone)
converts the data, start and end time to a new time zone
|
java.lang.String |
getAsString() |
java.lang.String |
getAsXML() |
boolean |
getDataSetStats(TsDataSetStats dataStats) |
java.lang.String |
getLocationName()
Returns the String representation of the DSS Location LOCATION - SUB_LOCATION or
"" if the values are null
|
java.lang.String |
getParameterName()
Returns the String representation of the DSS Parameter PARAMETER - SUB_PARAMETER or
"" if the values are null
|
java.lang.String |
getShortName() |
double |
getValue(HecTime time)
Return the time series value at the specified time, do linear interpolation as necessary.
|
java.lang.String |
getVersionName()
Returns the String representation of the DSS Version VERSION - SUB_VERSION or
"" if the values are null
|
void |
makeAscending()
rearrrange time and data arrays so that all times are ascending
Remove any undefinded times and reset array sized to reflect
Primarily for irregular interval data
|
double |
maxmimumValue() |
double |
mean() |
double |
minimumValue() |
int |
removeAllMissing()
Remove all missing values from the data array, reducing the size of the
time, values, and quality arrays.
|
void |
setCompressData(boolean compress) |
clone, getHorizontalDatum, getLatLong, getVerticalDatum, getVerticalUnits, setHorizontalDatum, setLatLong, setVerticalDatum, setVerticalDatum, setVerticalUnits, setVerticalUnits, toStringpublic double[] values
public int[] times
public int[] quality
public int numberValues
public int interval
public int startTime
public int endTime
public java.lang.String units
public java.lang.String type
public int precision
public java.lang.String subLocation
public java.lang.String parameter
public java.lang.String subParameter
public java.lang.String timeZoneID
public int timeZoneRawOffset
public boolean storeAsDoubles
public int julianBaseDate
public boolean timesAreInSeconds
public int[][] quality7
public int sizeEachQuality7
public int[][] inotes
public int sizeEachNote
public java.lang.String[] cnotes
public int numberDepths
public double[] profileDepths
public double[][] profileValues
public java.lang.String unitsProfileDepths
public java.lang.String unitsProfileValues
public java.lang.String profileLabel
public java.lang.Object clone()
clone in class java.lang.Objectpublic void clone(TimeSeriesContainer tsc)
public void convertTimeZone(java.util.TimeZone toTimezone)
TimeZone - destination time zonepublic boolean convertTimeZone(java.lang.String toTimezoneID,
boolean observeDST)
public boolean getDataSetStats(TsDataSetStats dataStats)
public double minimumValue()
public double maxmimumValue()
public double mean()
public java.lang.String getShortName()
public java.lang.String getVersionName()
public java.lang.String getParameterName()
public java.lang.String getLocationName()
public void setCompressData(boolean compress)
public boolean compressData()
public java.lang.String getAsString()
public java.lang.String getAsXML()
public int removeAllMissing()
public void makeAscending()
public double getValue(HecTime time)
HecTime - time of data