public class ODMMetaData extends Object
Constructor and Description |
---|
ODMMetaData(ODMFile odmFile)
Create a new meta-data.
|
Modifier and Type | Method and Description |
---|---|
CelestialBody |
getCenterBody()
Get the
CelestialBody corresponding to the center name. |
String |
getCenterName()
Get the origin of reference frame.
|
List<String> |
getComment()
Get the meta-data comment.
|
Frame |
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).
|
AbsoluteDate |
getFrameEpoch()
Get epoch of reference frame, if not intrinsic to the definition of the
reference frame.
|
String |
getFrameEpochString()
Get epoch of reference frame, if not intrinsic to the definition of the
reference frame.
|
String |
getFrameString()
Get the reference frame specifier as it appeared in the file.
|
boolean |
getHasCreatableBody()
Get boolean testing whether the body corresponding to the centerName
attribute can be created through the
CelestialBodies . |
int |
getLaunchNumber()
Get the launch number.
|
String |
getLaunchPiece()
Get the piece of launch.
|
int |
getLaunchYear()
Get the launch year.
|
String |
getObjectID()
Get the spacecraft ID for which the orbit state is provided.
|
String |
getObjectName()
Get the spacecraft name for which the orbit state is provided.
|
ODMFile |
getODMFile()
Get the ODM file to which these meta-data belong.
|
Frame |
getRefFrame()
Get the the value of
REF_FRAME as an Orekit Frame . |
TimeScale |
getTimeScale()
Get the time scale.
|
CcsdsTimeScale |
getTimeSystem()
Get the Time System that: for OPM, is used for metadata, state vector,
maneuver and covariance data, for OMM, is used for metadata, orbit state
and covariance data, for OEM, is used for metadata, ephemeris and
covariance data.
|
void |
setCenterBody(CelestialBody centerBody)
Set the
CelestialBody corresponding to the center name. |
void |
setCenterName(String centerName)
Set the origin of reference frame.
|
void |
setComment(List<String> comment)
Set the meta-data comment.
|
void |
setFrameEpoch(AbsoluteDate frameEpoch)
Set epoch of reference frame, if not intrinsic to the definition of the
reference frame.
|
void |
setFrameEpochString(String frameEpochString)
Set epoch of reference frame, if not intrinsic to the definition of the
reference frame.
|
void |
setFrameString(String frame)
Set the reference frame name.
|
void |
setHasCreatableBody(boolean hasCreatableBody)
Set boolean testing whether the body corresponding to the centerName
attribute can be created through the
CelestialBodies . |
void |
setLaunchNumber(int launchNumber)
Set the launch number.
|
void |
setLaunchPiece(String launchPiece)
Set the piece of launch.
|
void |
setLaunchYear(int launchYear)
Set the launch year.
|
void |
setObjectID(String objectID)
Set the spacecraft ID for which the orbit state is provided.
|
void |
setObjectName(String objectName)
Set the spacecraft name for which the orbit state is provided.
|
void |
setRefFrame(Frame refFrame)
Set 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).
|
void |
setTimeSystem(CcsdsTimeScale timeSystem)
Set the Time System that: for OPM, is used for metadata, state vector,
maneuver and covariance data, for OMM, is used for metadata, orbit state
and covariance data, for OEM, is used for metadata, ephemeris and
covariance data.
|
public ODMMetaData(ODMFile odmFile)
odmFile
- ODM file to which these meta-data belongpublic ODMFile getODMFile()
public CcsdsTimeScale getTimeSystem()
public void setTimeSystem(CcsdsTimeScale timeSystem)
timeSystem
- the time system to be setpublic TimeScale getTimeScale()
OrekitException
- if there is not corresponding time scale.getTimeSystem()
public String getObjectName()
public void setObjectName(String objectName)
objectName
- the spacecraft name to be setpublic String getObjectID()
public void setObjectID(String objectID)
objectID
- the spacecraft ID to be setpublic void setLaunchYear(int launchYear)
launchYear
- launch yearpublic int getLaunchYear()
public void setLaunchNumber(int launchNumber)
launchNumber
- launch numberpublic int getLaunchNumber()
public void setLaunchPiece(String launchPiece)
launchPiece
- piece of launchpublic String getLaunchPiece()
public String getCenterName()
public void setCenterName(String centerName)
centerName
- the origin of reference frame to be setpublic CelestialBody getCenterBody()
CelestialBody
corresponding to the center name.public void setCenterBody(CelestialBody centerBody)
CelestialBody
corresponding to the center name.centerBody
- the CelestialBody
to be setpublic boolean getHasCreatableBody()
CelestialBodies
.CelestialBody
can be created from centerName
false otherwisepublic void setHasCreatableBody(boolean hasCreatableBody)
CelestialBodies
.hasCreatableBody
- the boolean to be set.public Frame getFrame()
public Frame getRefFrame()
REF_FRAME
as an Orekit Frame
. The CENTER_NAME
key word has not been applied yet, so the returned frame may not
correspond to the reference frame of the data in the file.REF_FRAME
keyword.getFrame()
public void setRefFrame(Frame refFrame)
refFrame
- the reference frame to be setpublic String getFrameString()
getFrame()
public void setFrameString(String frame)
frame
- specifier as it appeared in the file.public String getFrameEpochString()
public void setFrameEpochString(String frameEpochString)
frameEpochString
- the epoch of reference frame to be setpublic AbsoluteDate getFrameEpoch()
public void setFrameEpoch(AbsoluteDate frameEpoch)
frameEpoch
- the epoch of reference frame to be setCopyright © 2002-2020 CS GROUP. All rights reserved.