public static class TDMFile.ObservationsBlock extends Object
The reason for which the observations have been separated into blocks is that the different data blocks in a TDM file usually refers to different types of observations.
An observation block contains a TDM metadata object and a list of observations.
At this level, an observation is not an Orekit object, it is a custom object containing:
- a keyword, the type of the observation;
- a timetag, the date of the observation;
- a measurement, the value of the observation.
Constructor and Description |
---|
ObservationsBlock()
ObservationsBlock constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addObservation(String keyword,
AbsoluteDate epoch,
double measurement)
Adds an observation data line.
|
void |
addObservation(TDMFile.Observation observation)
Adds an observation data line.
|
void |
addObservationComment(String observationComment)
Add an observation data line comment.
|
TDMFile.TDMMetaData |
getMetaData()
Get the meta-data for the block.
|
List<TDMFile.Observation> |
getObservations()
Get the list of Observations data lines.
|
List<String> |
getObservationsComment()
Get the observations data lines comment.
|
void |
setMetaData(TDMFile.TDMMetaData metaData)
Set the meta-data for the block.
|
void |
setObservations(List<TDMFile.Observation> observations)
Set the list of Observations Data Lines.
|
void |
setObservationsComment(List<String> observationsComment)
Set the observations data lines comment.
|
public List<TDMFile.Observation> getObservations()
public void setObservations(List<TDMFile.Observation> observations)
observations
- the list of Observations Data Lines to setpublic void addObservation(TDMFile.Observation observation)
observation
- the observation to add to the listpublic void addObservation(String keyword, AbsoluteDate epoch, double measurement)
keyword
- the keywordepoch
- the timetagmeasurement
- the measurementpublic TDMFile.TDMMetaData getMetaData()
public void setMetaData(TDMFile.TDMMetaData metaData)
metaData
- the meta-data to setpublic List<String> getObservationsComment()
public void setObservationsComment(List<String> observationsComment)
observationsComment
- the comment to be setpublic void addObservationComment(String observationComment)
observationComment
- the comment line to addCopyright © 2002-2020 CS Group. All rights reserved.