Package org.orekit.files.ccsds.ndm.cdm
Class Cdm
This class stores all the information of the Conjunction Data Message (CDM) File parsed
by CdmParser. It contains the header and a list of segments each
containing metadata and a list of data lines.
- Since:
- 11.2
- Author:
- Melina Vanel
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCdm(CdmHeader header, List<CdmSegment> segments, IERSConventions conventions, DataContext dataContext) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the file data.Get the file data.Get the file metadata.Get the file metadata.Get the file metadata.Get user defined parameters.Methods inherited from class org.orekit.files.ccsds.ndm.NdmConstituent
getConventions, getDataContext, getHeader, getSegments, setHeader, setSegments, validate
-
Field Details
-
ROOT
Root element for XML files.- See Also:
-
FORMAT_VERSION_KEY
Key for format version.- See Also:
-
-
Constructor Details
-
Cdm
public Cdm(CdmHeader header, List<CdmSegment> segments, IERSConventions conventions, DataContext dataContext) Simple constructor.- Parameters:
header- file headersegments- file segmentsconventions- IERS conventionsdataContext- used for creating frames, time scales, etc.
-
-
Method Details
-
getRelativeMetadata
Get the file metadata.- Returns:
- file metadata
-
getMetadataObject1
Get the file metadata.- Returns:
- file metadata
-
getMetadataObject2
Get the file metadata.- Returns:
- file metadata
-
getDataObject1
Get the file data.- Returns:
- file data
-
getDataObject2
Get the file data.- Returns:
- file data
-
getUserDefinedParameters
Get user defined parameters.This method will return null if the user defined block is not present in the CDM
- Returns:
- file data
-