Package org.orekit.files.ccsds.ndm.cdm
Class CdmMetadata
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.section.Metadata
org.orekit.files.ccsds.ndm.cdm.CdmMetadata
- All Implemented Interfaces:
Section
This class gathers the meta-data present in the Conjunction Data Message (CDM).
- Since:
- 11.2
- Author:
- Melina Vanel
-
Constructor Summary
ConstructorsConstructorDescriptionCdmMetadata(DataContext dataContext, CcsdsFrameMapper frameMapper) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the unique identifier of Attitude Data Message(s) that are linked (relevant) to this Conjunction Data Message.Get the reference frame in which the alternative covariance data is given.Get the value ofALT_COV_REF_FRAMEas an OrekitFrame.Get the flag indicating the type of alternate covariance information provided.Get name of atmospheric model.Get the satellite catalog used for the object.Get the method name used to calculate covariance during OD.Get the source of the covariance data.Get Enum YesNoUnknown that indicates if Earth and ocean tides are taken into account or not.Get the unique name of the external ephemeris used for OD.getFrame()Get the reference frame in which data are given: used for state vector and Keplerian elements data (and for the covariance reference frame if none is given).intGet degree of the gravity model.Get gravity model name.intGet order of the gravity model.Get the international designator for the object.Get Enum YesNoUnknown that indicates if intrack thrust modeling was into account or not.Get the ability of object to maneuver or not.Get n-body perturbation bodies.Get the object name for which metadata are given.Get the object satellite catalog designator for which metadata are given.Get the spacecraft name for the object.Get the type of object.Get the flag indicating whether new tracking observations are anticipated prior to the issue of the next CDM associated with the event specified by CONJUNCTION_ID.Get the unique identifier of Orbit Data Message(s) that are linked (relevant) to this Conjunction Data Message.Get the contact position of the owner / operator of the object.Get the email of the operator of the object.Get the contact organisation of the object.Get the contact phone of the operator of the object.Get the central body for object 1 and 2.Get the value ofREF_FRAMEas an OrekitFrame.Get the relative metadata following header, they are the common metadata for the CDM.Get Enum YesNoUnknown that indicates if Solar Radiation Pressure is taken into account or not.voidsetAdmMsgLink(String admMsgLink) Set the unique identifier of Attitude Data Message(s) that are linked (relevant) to this Conjunction Data Message.voidsetAltCovRefFrame(FrameFacade altCovRefFrame) Set the name of the reference frame in which the alternate covariance data are given.voidsetAltCovType(AltCovarianceType altCovType) Set the flag indicating the type of alternate covariance information provided.voidsetAtmosphericModel(String atmosphericModel) Set name of atmospheric model.voidsetCatalogName(String catalogName) Set the satellite catalog name used for object.voidsetCovarianceMethod(CovarianceMethod covarianceMethod) Set the method name used to calculate covariance during OD.voidsetCovarianceSource(String covarianceSource) Set the source of the covariance data.voidsetEarthTides(YesNoUnknown EarthTides) Set Enum YesNoUnknown that indicates if Earth and ocean tides are taken into account or not.voidsetEphemName(String ephemName) Set the name of external ephemeris used for OD.voidsetGravityModel(String name, int degree, int order) Set gravity model.voidsetInternationalDes(String internationalDes) Set the international designator used for object.voidsetIntrackThrust(YesNoUnknown IntrackThrustModeled) Set boolean that indicates if intrack thrust modeling was into account or not.voidsetManeuverable(Maneuvrable maneuverable) Set the object maneuver ability.voidsetNBodyPerturbations(List<BodyFacade> nBody) Set n-body perturbation bodies.voidSet the object name for which metadata are given.voidsetObjectDesignator(String objectDesignator) Set the satellite designator for the object for which metadata are given.voidsetObjectName(String objectName) Set the spacecraft name used for object.voidsetObjectType(ObjectType objectType) Set the type of object.voidsetObsBeforeNextMessage(YesNoUnknown obsBeforeNextMessage) Set the flag indicating whether new tracking observations are anticipated prior to the issue of the next CDM associated with the event specified by CONJUNCTION_ID.voidsetOdmMsgLink(String odmMsgLink) Set the unique identifier of Orbit Data Message(s) that are linked (relevant) to this Conjunction Data Message.voidsetOperatorContactPosition(String opContact) Set the contact position for the object owner / operator.voidsetOperatorEmail(String operatorEmail) Set the object operator email.voidsetOperatorOrganization(String operatorOrganization) Set the contact organisation of the object.voidsetOperatorPhone(String operatorPhone) Set the operator phone of the object.voidsetOrbitCenter(BodyFacade orbitCenter) Set the central body name for object 1 and 2.voidsetRefFrame(FrameFacade refFrame) Set the name of the reference frame in which the state vector data are given.voidsetRelativeMetadata(CdmRelativeMetadata relativeMetadata) Set the relative metadata following header, they are the common metadata for the CDM.voidsetSolarRadiationPressure(YesNoUnknown isSolRadPressure) Set Enum that indicates if Solar Radiation Pressure is taken into account or not.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.Metadata
getFrameMapper, getLaunchNumber, getLaunchPiece, getLaunchYear, getTimeSystem, setTimeSystemMethods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Constructor Details
-
CdmMetadata
Simple constructor.- Parameters:
dataContext- data contextframeMapper- for creating an OrekitFrame.- Since:
- 13.1.5
-
-
Method Details
-
validate
public void validate(double version) Check is all mandatory entries have been initialized.This method should throw an exception if some mandatory entries are missing or not compatible with version number.
-
getRelativeMetadata
Get the relative metadata following header, they are the common metadata for the CDM.- Returns:
- relativeMetadata relative metadata
-
setRelativeMetadata
Set the relative metadata following header, they are the common metadata for the CDM.- Parameters:
relativeMetadata- relative metadata
-
getObject
Get the object name for which metadata are given.- Returns:
- the object name
-
setObject
Set the object name for which metadata are given.- Parameters:
object- = object 1 or 2 to be set
-
getObjectDesignator
Get the object satellite catalog designator for which metadata are given.- Returns:
- the satellite catalog designator for the object
-
setObjectDesignator
Set the satellite designator for the object for which metadata are given.- Parameters:
objectDesignator- for the spacecraft to be set
-
getCatalogName
Get the satellite catalog used for the object.- Returns:
- the catalog name
-
setCatalogName
Set the satellite catalog name used for object.- Parameters:
catalogName- for the spacecraft to be set
-
getObjectName
Get the spacecraft name for the object.- Returns:
- the spacecraft name
-
setObjectName
Set the spacecraft name used for object.- Parameters:
objectName- for the spacecraft to be set
-
getInternationalDes
Get the international designator for the object.- Returns:
- the international designator
-
setInternationalDes
Set the international designator used for object.- Parameters:
internationalDes- for the object to be set
-
getObjectType
Get the type of object.- Returns:
- the object type
-
setObjectType
Set the type of object.- Parameters:
objectType- type of object
-
getOperatorContactPosition
Get the contact position of the owner / operator of the object.- Returns:
- the contact position
-
setOperatorContactPosition
Set the contact position for the object owner / operator.- Parameters:
opContact- for the object to be set
-
getOperatorOrganization
Get the contact organisation of the object.- Returns:
- the contact organisation
-
setOperatorOrganization
Set the contact organisation of the object.- Parameters:
operatorOrganization- contact organisation for the object to be set
-
getOperatorPhone
Get the contact phone of the operator of the object.- Returns:
- the operator phone
-
setOperatorPhone
Set the operator phone of the object.- Parameters:
operatorPhone- contact phone for the object to be set
-
getOperatorEmail
Get the email of the operator of the object.- Returns:
- the operator email
-
setOperatorEmail
Set the object operator email.- Parameters:
operatorEmail- operator email for the object to be set
-
getEphemName
Get the unique name of the external ephemeris used for OD.- Returns:
- the name of ephemeris used
-
setEphemName
Set the name of external ephemeris used for OD.- Parameters:
ephemName- me of external ephemeris used
-
getCovarianceMethod
Get the method name used to calculate covariance during OD.- Returns:
- the name of covariance calculation method
-
setCovarianceMethod
Set the method name used to calculate covariance during OD.- Parameters:
covarianceMethod- method name for covariance calculation
-
getManeuverable
Get the ability of object to maneuver or not.- Returns:
- the ability to maneuver
-
setManeuverable
Set the object maneuver ability.- Parameters:
maneuverable- ability to maneuver
-
getOrbitCenter
Get the central body for object 1 and 2.- Returns:
- the name of the central body
-
setOrbitCenter
Set the central body name for object 1 and 2.- Parameters:
orbitCenter- name of the central body
-
getFrame
Get the reference frame in which data are given: used for state vector and Keplerian elements data (and for the covariance reference frame if none is given).- Returns:
- the reference frame
-
getRefFrame
Get the value ofREF_FRAMEas an OrekitFrame. TheORBIT_CENTERkey word has not been applied yet, so the returned frame may not correspond to the reference frame of the data in the file.- Returns:
- the reference frame
-
setRefFrame
Set the name of the reference frame in which the state vector data are given.- Parameters:
refFrame- reference frame
-
getGravityModel
Get gravity model name.- Returns:
- gravity model name
-
getGravityDegree
public int getGravityDegree()Get degree of the gravity model.- Returns:
- degree of the gravity model
-
getGravityOrder
public int getGravityOrder()Get order of the gravity model.- Returns:
- order of the gravity model
-
setGravityModel
Set gravity model.- Parameters:
name- name of the modeldegree- degree of the modelorder- order of the model
-
getAtmosphericModel
Get name of atmospheric model.- Returns:
- name of atmospheric model
-
setAtmosphericModel
Set name of atmospheric model.- Parameters:
atmosphericModel- name of atmospheric model
-
getNBodyPerturbations
Get n-body perturbation bodies.- Returns:
- n-body perturbation bodies
-
setNBodyPerturbations
Set n-body perturbation bodies.- Parameters:
nBody- n-body perturbation bodies
-
getSolarRadiationPressure
Get Enum YesNoUnknown that indicates if Solar Radiation Pressure is taken into account or not.- Returns:
- isSolarRadPressure YesNoUnknown
-
setSolarRadiationPressure
Set Enum that indicates if Solar Radiation Pressure is taken into account or not.- Parameters:
isSolRadPressure- YesNoUnknown
-
getEarthTides
Get Enum YesNoUnknown that indicates if Earth and ocean tides are taken into account or not.- Returns:
- isEarthTides YesNoUnknown
-
setEarthTides
Set Enum YesNoUnknown that indicates if Earth and ocean tides are taken into account or not.- Parameters:
EarthTides- YesNoUnknown
-
getIntrackThrust
Get Enum YesNoUnknown that indicates if intrack thrust modeling was into account or not.- Returns:
- isEarthTides YesNoUnknown
-
setIntrackThrust
Set boolean that indicates if intrack thrust modeling was into account or not.- Parameters:
IntrackThrustModeled- YesNoUnknown
-
getCovarianceSource
Get the source of the covariance data.- Returns:
- the covarianceSource
-
setCovarianceSource
Set the source of the covariance data.- Parameters:
covarianceSource- the covarianceSource to set
-
getAltCovType
Get the flag indicating the type of alternate covariance information provided.- Returns:
- the altCovType
-
setAltCovType
Set the flag indicating the type of alternate covariance information provided.- Parameters:
altCovType- the altCovType to set
-
getAltCovRefFrame
Get the value ofALT_COV_REF_FRAMEas an OrekitFrame.- Returns:
- the reference frame
-
setAltCovRefFrame
Set the name of the reference frame in which the alternate covariance data are given.- Parameters:
altCovRefFrame- alternate covariance reference frame
-
getAltCovFrame
Get the reference frame in which the alternative covariance data is given.- Returns:
- alternative covariance reference frame.
- Since:
- 13.1.5
- See Also:
-
getOdmMsgLink
Get the unique identifier of Orbit Data Message(s) that are linked (relevant) to this Conjunction Data Message.- Returns:
- the odmMsgLink
-
setOdmMsgLink
Set the unique identifier of Orbit Data Message(s) that are linked (relevant) to this Conjunction Data Message.- Parameters:
odmMsgLink- the odmMsgLink to set
-
getAdmMsgLink
Get the unique identifier of Attitude Data Message(s) that are linked (relevant) to this Conjunction Data Message.- Returns:
- the admMsgLink
-
setAdmMsgLink
Set the unique identifier of Attitude Data Message(s) that are linked (relevant) to this Conjunction Data Message.- Parameters:
admMsgLink- the admMsgLink to set
-
getObsBeforeNextMessage
Get the flag indicating whether new tracking observations are anticipated prior to the issue of the next CDM associated with the event specified by CONJUNCTION_ID.- Returns:
- the obsBeforeNextMessage
-
setObsBeforeNextMessage
Set the flag indicating whether new tracking observations are anticipated prior to the issue of the next CDM associated with the event specified by CONJUNCTION_ID.- Parameters:
obsBeforeNextMessage- the obsBeforeNextMessage to set
-