Class OcmMetadata
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.section.Metadata
org.orekit.files.ccsds.ndm.odm.OdmMetadata
org.orekit.files.ccsds.ndm.odm.ocm.OcmMetadata
- All Implemented Interfaces:
Section
Meta-data for
Orbit Comprehensive Message.- Since:
- 11.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleDefault value for SCLK_OFFSET_AT_EPOCH.static final doubleDefault value for SCLK_SEC_PER_SI_SEC. -
Constructor Summary
ConstructorsConstructorDescriptionOcmMetadata(DataContext dataContext, CcsdsFrameMapper frameMapper) Create a new meta-data. -
Method Summary
Modifier and TypeMethodDescriptioncopy(double version) Copy the instance, making sure mandatory fields have been initialized.Get the Unique identifier of Attitude Data Message linked to this Orbit Data Message.Get the alternate names for this space object.Get the specification of satellite catalog source.Get the Unique identifier of Conjunction Data Message linked to this Orbit Data Message.Get the source and version of celestial body (e.g.Get the name of the constellation this space object belongs to.Get the name of the country where the space object owner is based.Get the source and version of Earth Orientation Parameters.Get the epoch to which all relative times are referenced in data blocks.Get the international designator for the object.Get the interpolation method for Earth Orientation Parameters.Get the epoch of next leap second.doubleGet the difference (TAI – UTC) in seconds incorporated at epochgetNextLeapEpoch().Get the creation date of next message from a given originator.Get the unique ID identifying next message from a given originator.Get the unique satellite identification designator for the object.Get the type of object.Get the list of elements of information data blocks included in this message.Get the operator of the space object.Get the operational status.Get the orbit category.Get the address of Programmatic Point Of Contact at originator.Get the email address of Programmatic Point Of Contact at originator.Get the phone number of Programmatic Point Of Contact at originator.Get the programmatic Point Of Contact at originator.Get the position of Programmatic Point Of Contact at originator.getOwner()Get the owner of the space object.Get the creation date of previous message from a given originator.Get the unique ID identifying previous message from a given originator.Get the Unique identifier of Pointing Request Message linked to this Orbit Data Message.Get the Unique identifier of Reentry Data Message linked to this Orbit Data Message.doubleGet the spacecraft clock count atgetEpochT0().doubleGet the number of spacecraft clock seconds occurring during one SI second.Get the time of the earliest data contained in the OCM.Get the time of the latest data contained in the OCM.doubleGet the difference (TAI – UTC) in seconds at epochgetEpochT0().Get the Unique identifier of Tracking Data Message linked to this Orbit Data Message.Get the address of Technical Point Of Contact at originator.Get the email address of Technical Point Of Contact at originator.Get the creating agency or operator.Get the phone number of Technical Point Of Contact at originator.Get the Technical Point Of Contact at originator.Get the position of Technical Point Of Contact at originator.doubleGet the span of time in seconds that the OCM covers.doubleGet the difference (UT1 – UTC) in seconds at epochgetEpochT0().voidsetAdmMessageLink(String admMessageLink) Set the Unique identifier of Attitude Data Message linked to this Orbit Data Message.voidsetAlternateNames(List<String> alternateNames) Set the alternate names for this space object.voidsetCatalogName(String catalogName) Set the specification of satellite catalog source.voidsetCdmMessageLink(String cdmMessageLink) Set the Unique identifier of Conjunction Data Message linked to this Orbit Data Message.voidsetCelestialSource(String celestialSource) Set the source and version of celestial body (e.g.voidsetConstellation(String constellation) Set the name of the constellation this space object belongs to.voidsetCountry(String country) Set the name of the country where the space object owner is based.voidsetEopSource(String eopSource) Set the source and version of Earth Orientation Parameters.voidsetEpochT0(AbsoluteDate epochT0) Set the epoch to which all relative times are referenced in data blocks.voidsetInternationalDesignator(String internationalDesignator) Set the international designator for the object.voidsetInterpMethodEOP(String interpMethodEOP) Set the interpolation method for Earth Orientation Parameters.voidsetNextLeapEpoch(AbsoluteDate nextLeapEpoch) Set the epoch of next leap second.voidsetNextLeapTaimutc(double nextLeapTaimutc) Set the difference (TAI – UTC) in seconds incorporated at epochgetNextLeapEpoch().voidsetNextMessageEpoch(AbsoluteDate nextMessageEpoch) Set the creation date of next message from a given originator.voidsetNextMessageID(String nextMessageID) Set the unique ID identifying next message from a given originator.voidsetObjectDesignator(String objectDesignator) Set the unique satellite identification designator for the object.voidsetObjectType(ObjectType objectType) Set the type of object.voidsetOcmDataElements(List<OcmElements> ocmDataElements) Set the list of elements of information data blocks included in this message.voidsetOperator(String operator) Set the operator of the space object.voidsetOpsStatus(OpsStatus opsStatus) Set the operational status.voidsetOrbitCategory(OrbitCategory orbitCategory) Set the orbit category.voidsetOriginatorAddress(String originatorAddress) Set the address of Programmatic Point Of Contact at originator.voidsetOriginatorEmail(String originatorEmail) Set the email address of Programmatic Point Of Contact at originator.voidsetOriginatorPhone(String originatorPhone) Set the phone number of Programmatic Point Of Contact at originator.voidsetOriginatorPOC(String originatorPOC) Set the programmatic Point Of Contact at originator.voidsetOriginatorPosition(String originatorPosition) Set the position of Programmatic Point Of Contact at originator.voidSet the owner of the space object.voidsetPreviousMessageEpoch(AbsoluteDate previousMessageEpoch) Set the creation date of previous message from a given originator.voidsetPreviousMessageID(String previousMessageID) Set the unique ID identifying previous message from a given originator.voidsetPrmMessageLink(String prmMessageLink) Set the Unique identifier of Pointing Request Message linked to this Orbit Data Message.voidsetRdmMessageLink(String rdmMessageLink) Set the Unique identifier of Reentry Data Message linked to this Orbit Data Message.voidsetSclkOffsetAtEpoch(double sclkOffsetAtEpoch) Set the spacecraft clock count atgetEpochT0().voidsetSclkSecPerSISec(double secClockPerSISec) Set the number of spacecraft clock seconds occurring during one SI second.voidsetStartTime(AbsoluteDate startTime) Set the time of the earliest data contained in the OCM.voidsetStopTime(AbsoluteDate stopTime) Set the time of the latest data contained in the OCM.voidsetTaimutcT0(double taimutcT0) Set the difference (TAI – UTC) in seconds at epochgetEpochT0().voidsetTdmMessageLink(String tdmMessageLink) Set the Unique identifier of Tracking Data Message linked to this Orbit Data Message.voidsetTechAddress(String techAddress) Set the address of Technical Point Of Contact at originator.voidsetTechEmail(String techEmail) Set the email address of Technical Point Of Contact at originator.voidsetTechOrg(String techOrg) Set the creating agency or operator.voidsetTechPhone(String techPhone) Set the phone number of Technical Point Of Contact at originator.voidsetTechPOC(String techPOC) Set the Technical Point Of Contact at originator.voidsetTechPosition(String techPosition) Set the position of Technical Point Of Contact at originator.voidsetTimeSpan(double timeSpan) Set the span of time in seconds that the OCM covers.voidsetUt1mutcT0(double ut1mutcT0) Set the difference (UT1 – UTC) in seconds at epochgetEpochT0().voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.ndm.odm.OdmMetadata
getObjectName, setObjectNameMethods 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
-
Field Details
-
DEFAULT_SCLK_OFFSET_AT_EPOCH
public static final double DEFAULT_SCLK_OFFSET_AT_EPOCHDefault value for SCLK_OFFSET_AT_EPOCH.- Since:
- 12.0
- See Also:
-
DEFAULT_SCLK_SEC_PER_SI_SEC
public static final double DEFAULT_SCLK_SEC_PER_SI_SECDefault value for SCLK_SEC_PER_SI_SEC.- Since:
- 12.0
- See Also:
-
-
Constructor Details
-
OcmMetadata
Create a new meta-data.- 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.
-
getInternationalDesignator
Get the international designator for the object.- Returns:
- international designator for the object
-
setInternationalDesignator
Set the international designator for the object.- Parameters:
internationalDesignator- international designator for the object
-
getCatalogName
Get the specification of satellite catalog source.- Returns:
- specification of satellite catalog source
-
setCatalogName
Set the specification of satellite catalog source.- Parameters:
catalogName- specification of satellite catalog source
-
getObjectDesignator
Get the unique satellite identification designator for the object.- Returns:
- unique satellite identification designator for the object.
-
setObjectDesignator
Set the unique satellite identification designator for the object.- Parameters:
objectDesignator- unique satellite identification designator for the object
-
getAlternateNames
Get the alternate names for this space object.- Returns:
- alternate names
-
setAlternateNames
Set the alternate names for this space object.- Parameters:
alternateNames- alternate names
-
getOriginatorPOC
Get the programmatic Point Of Contact at originator.- Returns:
- programmatic Point Of Contact at originator
-
setOriginatorPOC
Set the programmatic Point Of Contact at originator.- Parameters:
originatorPOC- programmatic Point Of Contact at originator
-
getOriginatorPosition
Get the position of Programmatic Point Of Contact at originator.- Returns:
- position of Programmatic Point Of Contact at originator
-
setOriginatorPosition
Set the position of Programmatic Point Of Contact at originator.- Parameters:
originatorPosition- position of Programmatic Point Of Contact at originator
-
getOriginatorPhone
Get the phone number of Programmatic Point Of Contact at originator.- Returns:
- phone number of Programmatic Point Of Contact at originator
-
setOriginatorPhone
Set the phone number of Programmatic Point Of Contact at originator.- Parameters:
originatorPhone- phone number of Programmatic Point Of Contact at originator
-
getOriginatorEmail
Get the email address of Programmatic Point Of Contact at originator.- Returns:
- email address of Programmatic Point Of Contact at originator
- Since:
- 11.2
-
setOriginatorEmail
Set the email address of Programmatic Point Of Contact at originator.- Parameters:
originatorEmail- email address of Programmatic Point Of Contact at originator- Since:
- 11.2
-
getOriginatorAddress
Get the address of Programmatic Point Of Contact at originator.- Returns:
- address of Programmatic Point Of Contact at originator
-
setOriginatorAddress
Set the address of Programmatic Point Of Contact at originator.- Parameters:
originatorAddress- address of Programmatic Point Of Contact at originator
-
getTechOrg
Get the creating agency or operator.- Returns:
- creating agency or operator
-
setTechOrg
Set the creating agency or operator.- Parameters:
techOrg- creating agency or operator
-
getTechPOC
Get the Technical Point Of Contact at originator.- Returns:
- Technical Point Of Contact at originator
-
setTechPOC
Set the Technical Point Of Contact at originator.- Parameters:
techPOC- Technical Point Of Contact at originator
-
getTechPosition
Get the position of Technical Point Of Contact at originator.- Returns:
- position of Technical Point Of Contact at originator
-
setTechPosition
Set the position of Technical Point Of Contact at originator.- Parameters:
techPosition- position of Technical Point Of Contact at originator
-
getTechPhone
Get the phone number of Technical Point Of Contact at originator.- Returns:
- phone number of Technical Point Of Contact at originator
-
setTechPhone
Set the phone number of Technical Point Of Contact at originator.- Parameters:
techPhone- phone number of Technical Point Of Contact at originator
-
getTechEmail
Get the email address of Technical Point Of Contact at originator.- Returns:
- email address of Technical Point Of Contact at originator
- Since:
- 11.2
-
setTechEmail
Set the email address of Technical Point Of Contact at originator.- Parameters:
techEmail- email address of Technical Point Of Contact at originator- Since:
- 11.2
-
getTechAddress
Get the address of Technical Point Of Contact at originator.- Returns:
- address of Technical Point Of Contact at originator
-
setTechAddress
Set the address of Technical Point Of Contact at originator.- Parameters:
techAddress- address of Technical Point Of Contact at originator
-
getPreviousMessageID
Get the unique ID identifying previous message from a given originator.- Returns:
- unique ID identifying previous message from a given originator
-
setPreviousMessageID
Set the unique ID identifying previous message from a given originator.- Parameters:
previousMessageID- unique ID identifying previous message from a given originator
-
getNextMessageID
Get the unique ID identifying next message from a given originator.- Returns:
- unique ID identifying next message from a given originator
-
setNextMessageID
Set the unique ID identifying next message from a given originator.- Parameters:
nextMessageID- unique ID identifying next message from a given originator
-
getAdmMessageLink
Get the Unique identifier of Attitude Data Message linked to this Orbit Data Message.- Returns:
- Unique identifier of Attitude Data Message linked to this Orbit Data Message
-
setAdmMessageLink
Set the Unique identifier of Attitude Data Message linked to this Orbit Data Message.- Parameters:
admMessageLink- Unique identifier of Attitude Data Message linked to this Orbit Data Message
-
getCdmMessageLink
Get the Unique identifier of Conjunction Data Message linked to this Orbit Data Message.- Returns:
- Unique identifier of Conjunction Data Message linked to this Orbit Data Message
-
setCdmMessageLink
Set the Unique identifier of Conjunction Data Message linked to this Orbit Data Message.- Parameters:
cdmMessageLink- Unique identifier of Conjunction Data Message linked to this Orbit Data Message
-
getPrmMessageLink
Get the Unique identifier of Pointing Request Message linked to this Orbit Data Message.- Returns:
- Unique identifier of Pointing Request Message linked to this Orbit Data Message
-
setPrmMessageLink
Set the Unique identifier of Pointing Request Message linked to this Orbit Data Message.- Parameters:
prmMessageLink- Unique identifier of Pointing Request Message linked to this Orbit Data Message
-
getRdmMessageLink
Get the Unique identifier of Reentry Data Message linked to this Orbit Data Message.- Returns:
- Unique identifier of Reentry Data Message linked to this Orbit Data Message
-
setRdmMessageLink
Set the Unique identifier of Reentry Data Message linked to this Orbit Data Message.- Parameters:
rdmMessageLink- Unique identifier of Reentry Data Message linked to this Orbit Data Message
-
getTdmMessageLink
Get the Unique identifier of Tracking Data Message linked to this Orbit Data Message.- Returns:
- Unique identifier of Tracking Data Message linked to this Orbit Data Message
-
setTdmMessageLink
Set the Unique identifier of Tracking Data Message linked to this Orbit Data Message.- Parameters:
tdmMessageLink- Unique identifier of Tracking Data Message linked to this Orbit Data Message
-
getOperator
Get the operator of the space object.- Returns:
- operator of the space object
-
setOperator
Set the operator of the space object.- Parameters:
operator- operator of the space object
-
getOwner
Get the owner of the space object.- Returns:
- owner of the space object
-
setOwner
Set the owner of the space object.- Parameters:
owner- owner of the space object
-
getCountry
Get the name of the country where the space object owner is based.- Returns:
- name of the country where the space object owner is based
-
setCountry
Set the name of the country where the space object owner is based.- Parameters:
country- name of the country where the space object owner is based
-
getConstellation
Get the name of the constellation this space object belongs to.- Returns:
- name of the constellation this space object belongs to
-
setConstellation
Set the name of the constellation this space object belongs to.- Parameters:
constellation- name of the constellation this space object belongs to
-
getObjectType
Get the type of object.- Returns:
- type of object
-
setObjectType
Set the type of object.- Parameters:
objectType- type of object
-
getEpochT0
Get the epoch to which all relative times are referenced in data blocks.- Returns:
- epoch to which all relative times are referenced in data blocks
-
setEpochT0
Set the epoch to which all relative times are referenced in data blocks.- Parameters:
epochT0- epoch to which all relative times are referenced in data blocks
-
getOpsStatus
Get the operational status.- Returns:
- operational status
-
setOpsStatus
Set the operational status.- Parameters:
opsStatus- operational status
-
getOrbitCategory
Get the orbit category.- Returns:
- orbit category
-
setOrbitCategory
Set the orbit category.- Parameters:
orbitCategory- orbit category
-
getOcmDataElements
Get the list of elements of information data blocks included in this message.- Returns:
- list of elements of information data blocks included in this message
-
setOcmDataElements
Set the list of elements of information data blocks included in this message.- Parameters:
ocmDataElements- list of elements of information data blocks included in this message
-
getSclkOffsetAtEpoch
public double getSclkOffsetAtEpoch()Get the spacecraft clock count atgetEpochT0().- Returns:
- spacecraft clock count at
getEpochT0()
-
setSclkOffsetAtEpoch
public void setSclkOffsetAtEpoch(double sclkOffsetAtEpoch) Set the spacecraft clock count atgetEpochT0().- Parameters:
sclkOffsetAtEpoch- spacecraft clock count atgetEpochT0()
-
getSclkSecPerSISec
public double getSclkSecPerSISec()Get the number of spacecraft clock seconds occurring during one SI second.- Returns:
- number of spacecraft clock seconds occurring during one SI second
-
setSclkSecPerSISec
public void setSclkSecPerSISec(double secClockPerSISec) Set the number of spacecraft clock seconds occurring during one SI second.- Parameters:
secClockPerSISec- number of spacecraft clock seconds occurring during one SI second
-
getPreviousMessageEpoch
Get the creation date of previous message from a given originator.- Returns:
- creation date of previous message from a given originator
-
setPreviousMessageEpoch
Set the creation date of previous message from a given originator.- Parameters:
previousMessageEpoch- creation date of previous message from a given originator
-
getNextMessageEpoch
Get the creation date of next message from a given originator.- Returns:
- creation date of next message from a given originator
-
setNextMessageEpoch
Set the creation date of next message from a given originator.- Parameters:
nextMessageEpoch- creation date of next message from a given originator
-
getStartTime
Get the time of the earliest data contained in the OCM.- Returns:
- time of the earliest data contained in the OCM
-
setStartTime
Set the time of the earliest data contained in the OCM.- Parameters:
startTime- time of the earliest data contained in the OCM
-
getStopTime
Get the time of the latest data contained in the OCM.- Returns:
- time of the latest data contained in the OCM
-
setStopTime
Set the time of the latest data contained in the OCM.- Parameters:
stopTime- time of the latest data contained in the OCM
-
getTimeSpan
public double getTimeSpan()Get the span of time in seconds that the OCM covers.- Returns:
- span of time in seconds that the OCM covers
-
setTimeSpan
public void setTimeSpan(double timeSpan) Set the span of time in seconds that the OCM covers.- Parameters:
timeSpan- span of time in seconds that the OCM covers
-
getTaimutcT0
public double getTaimutcT0()Get the difference (TAI – UTC) in seconds at epochgetEpochT0().- Returns:
- difference (TAI – UTC) in seconds at epoch
getEpochT0()
-
setTaimutcT0
public void setTaimutcT0(double taimutcT0) Set the difference (TAI – UTC) in seconds at epochgetEpochT0().- Parameters:
taimutcT0- difference (TAI – UTC) in seconds at epochgetEpochT0()
-
getNextLeapEpoch
Get the epoch of next leap second.- Returns:
- epoch of next leap second
- Since:
- 11.2
-
setNextLeapEpoch
Set the epoch of next leap second.- Parameters:
nextLeapEpoch- epoch of next leap second- Since:
- 11.2
-
getNextLeapTaimutc
public double getNextLeapTaimutc()Get the difference (TAI – UTC) in seconds incorporated at epochgetNextLeapEpoch().- Returns:
- difference (TAI – UTC) in seconds incorporated at epoch
getNextLeapEpoch() - Since:
- 11.2
-
setNextLeapTaimutc
public void setNextLeapTaimutc(double nextLeapTaimutc) Set the difference (TAI – UTC) in seconds incorporated at epochgetNextLeapEpoch().- Parameters:
nextLeapTaimutc- difference (TAI – UTC) in seconds incorporated at epochgetNextLeapEpoch()- Since:
- 11.2
-
getUt1mutcT0
public double getUt1mutcT0()Get the difference (UT1 – UTC) in seconds at epochgetEpochT0().- Returns:
- difference (UT1 – UTC) in seconds at epoch
getEpochT0()
-
setUt1mutcT0
public void setUt1mutcT0(double ut1mutcT0) Set the difference (UT1 – UTC) in seconds at epochgetEpochT0().- Parameters:
ut1mutcT0- difference (UT1 – UTC) in seconds at epochgetEpochT0()
-
getEopSource
Get the source and version of Earth Orientation Parameters.- Returns:
- source and version of Earth Orientation Parameters
-
setEopSource
Set the source and version of Earth Orientation Parameters.- Parameters:
eopSource- source and version of Earth Orientation Parameters
-
getInterpMethodEOP
Get the interpolation method for Earth Orientation Parameters.- Returns:
- interpolation method for Earth Orientation Parameters
-
setInterpMethodEOP
Set the interpolation method for Earth Orientation Parameters.- Parameters:
interpMethodEOP- interpolation method for Earth Orientation Parameters
-
getCelestialSource
Get the source and version of celestial body (e.g. Sun/Earth/Planetary).- Returns:
- source and version of celestial body (e.g. Sun/Earth/Planetary)
-
setCelestialSource
Set the source and version of celestial body (e.g. Sun/Earth/Planetary).- Parameters:
celestialSource- source and version of celestial body (e.g. Sun/Earth/Planetary)
-
copy
Copy the instance, making sure mandatory fields have been initialized.Message ID, previous/next references, start and stop times are not copied.
- Parameters:
version- format version- Returns:
- a new copy
- Since:
- 12.0
-