Tdm.java

  1. /* Copyright 2002-2024 CS GROUP
  2.  * Licensed to CS GROUP (CS) under one or more
  3.  * contributor license agreements.  See the NOTICE file distributed with
  4.  * this work for additional information regarding copyright ownership.
  5.  * CS licenses this file to You under the Apache License, Version 2.0
  6.  * (the "License"); you may not use this file except in compliance with
  7.  * the License.  You may obtain a copy of the License at
  8.  *
  9.  *   http://www.apache.org/licenses/LICENSE-2.0
  10.  *
  11.  * Unless required by applicable law or agreed to in writing, software
  12.  * distributed under the License is distributed on an "AS IS" BASIS,
  13.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.  * See the License for the specific language governing permissions and
  15.  * limitations under the License.
  16.  */

  17. package org.orekit.files.ccsds.ndm.tdm;

  18. import java.util.List;

  19. import org.orekit.data.DataContext;
  20. import org.orekit.files.ccsds.ndm.NdmConstituent;
  21. import org.orekit.files.ccsds.section.Segment;
  22. import org.orekit.utils.IERSConventions;

  23. /** This class stores all the information of the CCSDS Tracking Data Message parsed by TDMParser or TDMXMLParser. <p>
  24.  * It contains the header and a list of Observations Blocks each containing
  25.  * TDM metadata and a list of observation data lines. <p>
  26.  * At this level the observations are not Orekit objects but custom object containing a keyword (type of observation),
  27.  * a timetag (date of the observation) and a measurement (value of the observation). <p>
  28.  * It is up to the user to convert these observations to Orekit tracking object (Range, Angular, TurnAroundRange etc...).<p>
  29.  * References:<p>
  30.  *  <a href="https://public.ccsds.org/Pubs/503x0b1c1.pdf">CCSDS 503.0-B-1 recommended standard</a> ("Tracking Data Message", Blue Book, Version 1.0, November 2007).
  31.  * @author Maxime Journot
  32.  * @since 9.0
  33.  */
  34. public class Tdm extends NdmConstituent<TdmHeader, Segment<TdmMetadata, ObservationsBlock>> {

  35.     /** Root element for XML files. */
  36.     public static final String ROOT = "tdm";

  37.     /** Key for format version. */
  38.     public static final String FORMAT_VERSION_KEY = "CCSDS_TDM_VERS";

  39.     /** Simple constructor.
  40.      * @param header file header
  41.      * @param segments file segments
  42.      * @param conventions IERS conventions
  43.      * @param dataContext used for creating frames, time scales, etc.
  44.      */
  45.     public Tdm(final TdmHeader header, final List<Segment<TdmMetadata, ObservationsBlock>> segments,
  46.                final IERSConventions conventions, final DataContext dataContext) {
  47.         super(header, segments, conventions, dataContext);
  48.     }

  49. }