Package org.orekit.files.ccsds.ndm.tdm
Class ObservationsBlock
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.tdm.ObservationsBlock
-
public class ObservationsBlock extends CommentsContainer implements Data
The Observations Block class contain metadata and the list of observation data lines.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.
- Author:
- Maxime Journot
-
-
Constructor Summary
Constructors Constructor Description ObservationsBlock()
ObservationsBlock constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments, validate
-
-
-
-
Method Detail
-
getObservations
public List<Observation> getObservations()
Get the list of Observations data lines.- Returns:
- a reference to the internal list of Observations data lines
-
setObservations
public void setObservations(List<Observation> observations)
Set the list of Observations Data Lines.- Parameters:
observations
- the list of Observations Data Lines to set
-
addObservation
public void addObservation(Observation observation)
Adds an observation data line.- Parameters:
observation
- the observation to add to the list
-
addObservation
public void addObservation(ObservationType type, AbsoluteDate epoch, double measurement)
Adds an observation data line.- Parameters:
type
- type of the observationepoch
- the timetagmeasurement
- the measurement
-
-