public class Omm extends NdmConstituent<Header,Segment<OmmMetadata,OmmData>> implements TimeStamped
Modifier and Type | Field and Description |
---|---|
static String |
FORMAT_VERSION_KEY
Key for format version.
|
static String |
ROOT
Root element for XML files.
|
Constructor and Description |
---|
Omm(Header header,
List<Segment<OmmMetadata,OmmData>> segments,
IERSConventions conventions,
DataContext dataContext)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
KeplerianOrbit |
generateKeplerianOrbit()
Generate a keplerian orbit.
|
SpacecraftState |
generateSpacecraftState()
Generate spacecraft state from the
CartesianOrbit generated by generateCartesianOrbit. |
TLE |
generateTLE()
Generate TLE from OMM file.
|
OmmData |
getData()
Get the file data.
|
AbsoluteDate |
getDate()
Get the date.
|
OmmMetadata |
getMetadata()
Get the file metadata.
|
getConventions, getDataContext, getHeader, getSegments, validate
public static final String ROOT
public static final String FORMAT_VERSION_KEY
public Omm(Header header, List<Segment<OmmMetadata,OmmData>> segments, IERSConventions conventions, DataContext dataContext)
header
- file headersegments
- file segmentsconventions
- IERS conventionsdataContext
- used for creating frames, time scales, etc.public OmmMetadata getMetadata()
public OmmData getData()
public AbsoluteDate getDate()
getDate
in interface TimeStamped
public KeplerianOrbit generateKeplerianOrbit()
public SpacecraftState generateSpacecraftState()
CartesianOrbit
generated by generateCartesianOrbit.
Raises an exception if OPM doesn't contain spacecraft mass information.public TLE generateTLE()
Copyright © 2002-2021 CS GROUP. All rights reserved.