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