public class Station
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
elevation |
GeneralStation |
generalStation
The general name of this plotID for example HEG03 it is HEG
This name belongs to a GeneralStation Object
|
double |
geoPosLatitude |
double |
geoPosLongitude |
boolean |
isPlot |
LabeledProperties |
labeledProperties |
LoggerType |
loggerType |
java.util.List<Station> |
nearestStations
list of stations of same general station id ordered by position difference to this station
|
java.util.List<TimestampInterval<StationProperties>> |
propertiesList
list of property map for Kili
|
java.util.Map<java.lang.String,NamedInterval[]> |
sensorNameCorrectionMap
input sensor name correction map: input sensor name -> corrected sensor name
This map contains only entries that are specific for this Station (or plotID)
This field may be null if no corrections are available.
|
java.util.Map<java.lang.String,java.lang.String> |
sensorNameTranlationMap
translation map: input sensor name -> database sensor name
This map contains only entries that are specific for this Station (or plotID)
|
java.lang.String |
stationID
Stream name of this station
|
Constructor and Description |
---|
Station(TsDB tsdb,
GeneralStation generalStation,
java.lang.String stationID,
LoggerType loggerType,
java.util.List<StationProperties> propertyMapList,
boolean isPlot) |
Modifier and Type | Method and Description |
---|---|
void |
addAlias(java.lang.String... aliases) |
java.lang.String |
correctRawSensorName(java.lang.String rawName,
Interval fileTimeInterval)
Applys sensor name corrections.
|
boolean |
existData() |
boolean |
existData(java.lang.String sensorName) |
java.util.List<java.lang.String> |
getAliases() |
java.util.List<Station> |
getNearestStationsWithSensor(java.lang.String sensorName) |
StationProperties |
getProperties(long intervalStart,
long intervalEnd) |
java.lang.String[] |
getSensorNames()
Get sensor names of station.
|
java.lang.String[] |
getValidSchemaEntries(java.lang.String[] querySchema) |
java.lang.String[] |
getValidSchemaEntriesWithVirtualSensors(java.lang.String[] querySchema) |
boolean |
isValidBaseSchema(java.lang.String[] querySchema) |
boolean |
isValidSchema(java.lang.String[] querySchema) |
boolean |
isValidSchemaWithVirtualSensors(java.lang.String[] querySchema) |
boolean |
isVIP() |
java.lang.String[] |
stationSchemaSupplement(java.lang.String[] schema) |
java.lang.String |
toString() |
java.lang.String |
translateInputSensorName(java.lang.String sensorName,
boolean useGeneralstation)
This method determines the database sensor name out of an input sensor name.
|
public final java.lang.String stationID
public final LoggerType loggerType
public LabeledProperties labeledProperties
public java.util.List<TimestampInterval<StationProperties>> propertiesList
public java.util.Map<java.lang.String,java.lang.String> sensorNameTranlationMap
public java.util.Map<java.lang.String,NamedInterval[]> sensorNameCorrectionMap
public final boolean isPlot
public double geoPosLongitude
public double geoPosLatitude
public double elevation
public final GeneralStation generalStation
public java.util.List<Station> nearestStations
public Station(TsDB tsdb, GeneralStation generalStation, java.lang.String stationID, LoggerType loggerType, java.util.List<StationProperties> propertyMapList, boolean isPlot)
public java.lang.String translateInputSensorName(java.lang.String sensorName, boolean useGeneralstation)
sensorName
- public java.lang.String correctRawSensorName(java.lang.String rawName, Interval fileTimeInterval)
rawName
- fileTimeInterval
- public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String[] getValidSchemaEntries(java.lang.String[] querySchema)
public java.lang.String[] getValidSchemaEntriesWithVirtualSensors(java.lang.String[] querySchema)
public boolean isValidSchema(java.lang.String[] querySchema)
public boolean isValidSchemaWithVirtualSensors(java.lang.String[] querySchema)
public boolean isValidBaseSchema(java.lang.String[] querySchema)
public java.util.List<Station> getNearestStationsWithSensor(java.lang.String sensorName)
public StationProperties getProperties(long intervalStart, long intervalEnd)
public java.lang.String[] getSensorNames()
public boolean isVIP()
public boolean existData()
public boolean existData(java.lang.String sensorName)
public java.lang.String[] stationSchemaSupplement(java.lang.String[] schema)
public void addAlias(java.lang.String... aliases)
public java.util.List<java.lang.String> getAliases()