public class ObservationsBlock extends CommentsContainer implements Data
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 is associated with a TDM metadata object and contains 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(Observation observation)
Adds an observation data line.
|
void |
addObservation(ObservationType type,
AbsoluteDate epoch,
double measurement)
Adds an observation data line.
|
List<Observation> |
getObservations()
Get the list of Observations data lines.
|
void |
setObservations(List<Observation> observations)
Set the list of Observations Data Lines.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, validate
public List<Observation> getObservations()
public void setObservations(List<Observation> observations)
observations
- the list of Observations Data Lines to setpublic void addObservation(Observation observation)
observation
- the observation to add to the listpublic void addObservation(ObservationType type, AbsoluteDate epoch, double measurement)
type
- type of the observationepoch
- the timetagmeasurement
- the measurementCopyright © 2002-2022 CS GROUP. All rights reserved.