1   /* Copyright 2002-2021 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  
18  package org.orekit.files.ccsds.ndm.tdm;
19  
20  import java.util.List;
21  
22  import org.orekit.data.DataContext;
23  import org.orekit.files.ccsds.ndm.NdmConstituent;
24  import org.orekit.files.ccsds.section.Header;
25  import org.orekit.files.ccsds.section.Segment;
26  import org.orekit.utils.IERSConventions;
27  
28  /** This class stores all the information of the CCSDS Tracking Data Message parsed by TDMParser or TDMXMLParser. <p>
29   * It contains the header and a list of Observations Blocks each containing
30   * TDM metadata and a list of observation data lines. <p>
31   * At this level the observations are not Orekit objects but custom object containing a keyword (type of observation),
32   * a timetag (date of the observation) and a measurement (value of the observation). <p>
33   * It is up to the user to convert these observations to Orekit tracking object (Range, Angular, TurnAroundRange etc...).<p>
34   * References:<p>
35   *  <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).
36   * @author Maxime Journot
37   * @since 9.0
38   */
39  public class Tdm extends NdmConstituent<Header, Segment<TdmMetadata, ObservationsBlock>> {
40  
41      /** Root element for XML files. */
42      public static final String ROOT = "tdm";
43  
44      /** Key for format version. */
45      public static final String FORMAT_VERSION_KEY = "CCSDS_TDM_VERS";
46  
47      /** Simple constructor.
48       * @param header file header
49       * @param segments file segments
50       * @param conventions IERS conventions
51       * @param dataContext used for creating frames, time scales, etc.
52       */
53      public Tdm(final Header header, final List<Segment<TdmMetadata, ObservationsBlock>> segments,
54                     final IERSConventions conventions, final DataContext dataContext) {
55          super(header, segments, conventions, dataContext);
56      }
57  
58  }