Skip to content

Struct astrea::astro::GeneralPerturbations

ClassList > astrea > astro > GeneralPerturbations

GeneralPerturbations structure representing a Ground Position (GP) object from SpaceTrack.More...

  • #include <GeneralPerturbations.hpp>

Public Attributes

Type Name
std::optional< double > APOAPSIS
Apoapsis altitude in kilometers.
std::optional< long double > ARG_OF_PERICENTER
Argument of pericenter in degrees.
std::optional< long double > BSTAR
B* drag term (BSTAR) in inverse Earth radii.
std::string CCSDS_OMM_VERS
CCSDS OMM version.
std::string CENTER_NAME
Name of the center.
std::optional< char > CLASSIFICATION_TYPE
Classification type.
std::string COMMENT
Comment.
std::optional< std::string > COUNTRY_CODE
Country code.
std::optional< std::string > CREATION_DATE
Creation date.
int DB_ID
Database ID for the GP object.
std::optional< std::string > DECAY_DATE
Decay date.
std::optional< long double > ECCENTRICITY
Eccentricity.
std::optional< short > ELEMENT_SET_NO
Element set number.
std::optional< short unsigned > EPHEMERIS_TYPE
Ephemeris type.
std::optional< std::string > EPOCH
Epoch.
std::optional< long unsigned > FILE
File number.
unsigned GP_ID
General Perturbations ID.
std::optional< long double > INCLINATION
Inclination in degrees.
std::optional< std::string > LAUNCH_DATE
Launch date.
std::optional< double > MEAN_ANOMALY
Mean anomaly in degrees.
std::string MEAN_ELEMENT_THEORY
Mean element theory.
std::optional< long double > MEAN_MOTION
Mean motion in revolutions per day.
std::optional< long double > MEAN_MOTION_DDOT
Mean motion derivative in revolutions per day squared.
std::optional< long double > MEAN_MOTION_DOT
Mean motion second derivative in revolutions per day cubed.
unsigned NORAD_CAT_ID
NORAD catalog ID.
std::optional< std::string > OBJECT_ID
Object ID.
std::optional< std::string > OBJECT_NAME
Object name.
std::optional< std::string > OBJECT_TYPE
Object type.
std::string ORIGINATOR
Originator of the data.
std::optional< double > PERIAPSIS
Periapsis altitude in kilometers.
std::optional< double > PERIOD
Orbital period in minutes.
std::optional< long double > RA_OF_ASC_NODE
Right ascension of ascending node in degrees.
std::optional< std::string > RCS_SIZE
Radar cross-section size.
std::string REF_FRAME
Reference frame.
std::optional< unsigned > REV_AT_EPOCH
Revolution number at epoch.
std::optional< double > SEMIMAJOR_AXIS
Semimajor axis in kilometers.
std::optional< std::string > SITE
Site of the GP object.
std::string TIME_SYSTEM
Time system used for the GP object.
std::optional< std::string > TLE_LINE0
TLE line 0 (usually the satellite name)
std::optional< std::string > TLE_LINE1
TLE line 1 (first line of TLE data)
std::optional< std::string > TLE_LINE2
TLE line 2 (second line of TLE data)

Public Functions

Type Name
GeneralPerturbations () = default
Default constructor for GeneralPerturbations .
GeneralPerturbations (const nlohmann::json & data)
Constructor that initializes GeneralPerturbations from a JSON object.
~GeneralPerturbations () = default
Default destructor for GeneralPerturbations .

Detailed Description

This structure is used to hold data retrieved from the SpaceTrack API, specifically for GP objects. It includes various attributes such as APOAPSIS, ECCENTRICITY, and others, which are relevant to satellite tracking and orbital mechanics. *

Note:

definition can be found here https://www.space-track.org/basicspacedata/modeldef/class/gp/format/html

Public Attributes Documentation

variable APOAPSIS

Apoapsis altitude in kilometers.

std::optional<double> astrea::astro::GeneralPerturbations::APOAPSIS;


variable ARG_OF_PERICENTER

Argument of pericenter in degrees.

std::optional<long double> astrea::astro::GeneralPerturbations::ARG_OF_PERICENTER;


variable BSTAR

B* drag term (BSTAR) in inverse Earth radii.

std::optional<long double> astrea::astro::GeneralPerturbations::BSTAR;


variable CCSDS_OMM_VERS

CCSDS OMM version.

std::string astrea::astro::GeneralPerturbations::CCSDS_OMM_VERS;


variable CENTER_NAME

Name of the center.

std::string astrea::astro::GeneralPerturbations::CENTER_NAME;


variable CLASSIFICATION_TYPE

Classification type.

std::optional<char> astrea::astro::GeneralPerturbations::CLASSIFICATION_TYPE;


variable COMMENT

Comment.

std::string astrea::astro::GeneralPerturbations::COMMENT;


variable COUNTRY_CODE

Country code.

std::optional<std::string> astrea::astro::GeneralPerturbations::COUNTRY_CODE;


variable CREATION_DATE

Creation date.

std::optional<std::string> astrea::astro::GeneralPerturbations::CREATION_DATE;


variable DB_ID

Database ID for the GP object.

int astrea::astro::GeneralPerturbations::DB_ID;


variable DECAY_DATE

Decay date.

std::optional<std::string> astrea::astro::GeneralPerturbations::DECAY_DATE;


variable ECCENTRICITY

Eccentricity.

std::optional<long double> astrea::astro::GeneralPerturbations::ECCENTRICITY;


variable ELEMENT_SET_NO

Element set number.

std::optional<short> astrea::astro::GeneralPerturbations::ELEMENT_SET_NO;


variable EPHEMERIS_TYPE

Ephemeris type.

std::optional<short unsigned> astrea::astro::GeneralPerturbations::EPHEMERIS_TYPE;


variable EPOCH

Epoch.

std::optional<std::string> astrea::astro::GeneralPerturbations::EPOCH;


variable FILE

File number.

std::optional<long unsigned> astrea::astro::GeneralPerturbations::FILE;


variable GP_ID

General Perturbations ID.

unsigned astrea::astro::GeneralPerturbations::GP_ID;


variable INCLINATION

Inclination in degrees.

std::optional<long double> astrea::astro::GeneralPerturbations::INCLINATION;


variable LAUNCH_DATE

Launch date.

std::optional<std::string> astrea::astro::GeneralPerturbations::LAUNCH_DATE;


variable MEAN_ANOMALY

Mean anomaly in degrees.

std::optional<double> astrea::astro::GeneralPerturbations::MEAN_ANOMALY;


variable MEAN_ELEMENT_THEORY

Mean element theory.

std::string astrea::astro::GeneralPerturbations::MEAN_ELEMENT_THEORY;


variable MEAN_MOTION

Mean motion in revolutions per day.

std::optional<long double> astrea::astro::GeneralPerturbations::MEAN_MOTION;


variable MEAN_MOTION_DDOT

Mean motion derivative in revolutions per day squared.

std::optional<long double> astrea::astro::GeneralPerturbations::MEAN_MOTION_DDOT;


variable MEAN_MOTION_DOT

Mean motion second derivative in revolutions per day cubed.

std::optional<long double> astrea::astro::GeneralPerturbations::MEAN_MOTION_DOT;


variable NORAD_CAT_ID

NORAD catalog ID.

unsigned astrea::astro::GeneralPerturbations::NORAD_CAT_ID;


variable OBJECT_ID

Object ID.

std::optional<std::string> astrea::astro::GeneralPerturbations::OBJECT_ID;


variable OBJECT_NAME

Object name.

std::optional<std::string> astrea::astro::GeneralPerturbations::OBJECT_NAME;


variable OBJECT_TYPE

Object type.

std::optional<std::string> astrea::astro::GeneralPerturbations::OBJECT_TYPE;


variable ORIGINATOR

Originator of the data.

std::string astrea::astro::GeneralPerturbations::ORIGINATOR;


variable PERIAPSIS

Periapsis altitude in kilometers.

std::optional<double> astrea::astro::GeneralPerturbations::PERIAPSIS;


variable PERIOD

Orbital period in minutes.

std::optional<double> astrea::astro::GeneralPerturbations::PERIOD;


variable RA_OF_ASC_NODE

Right ascension of ascending node in degrees.

std::optional<long double> astrea::astro::GeneralPerturbations::RA_OF_ASC_NODE;


variable RCS_SIZE

Radar cross-section size.

std::optional<std::string> astrea::astro::GeneralPerturbations::RCS_SIZE;


variable REF_FRAME

Reference frame.

std::string astrea::astro::GeneralPerturbations::REF_FRAME;


variable REV_AT_EPOCH

Revolution number at epoch.

std::optional<unsigned> astrea::astro::GeneralPerturbations::REV_AT_EPOCH;


variable SEMIMAJOR_AXIS

Semimajor axis in kilometers.

std::optional<double> astrea::astro::GeneralPerturbations::SEMIMAJOR_AXIS;


variable SITE

Site of the GP object.

std::optional<std::string> astrea::astro::GeneralPerturbations::SITE;


variable TIME_SYSTEM

Time system used for the GP object.

std::string astrea::astro::GeneralPerturbations::TIME_SYSTEM;


variable TLE_LINE0

TLE line 0 (usually the satellite name)

std::optional<std::string> astrea::astro::GeneralPerturbations::TLE_LINE0;


variable TLE_LINE1

TLE line 1 (first line of TLE data)

std::optional<std::string> astrea::astro::GeneralPerturbations::TLE_LINE1;


variable TLE_LINE2

TLE line 2 (second line of TLE data)

std::optional<std::string> astrea::astro::GeneralPerturbations::TLE_LINE2;


Public Functions Documentation

function GeneralPerturbations [1/2]

Default constructor for GeneralPerturbations .

astrea::astro::GeneralPerturbations::GeneralPerturbations () = default


function GeneralPerturbations [2/2]

Constructor that initializes GeneralPerturbations from a JSON object.

astrea::astro::GeneralPerturbations::GeneralPerturbations (
    const nlohmann::json & data
) 

Parameters:

  • data The JSON object containing the GP data.

function ~GeneralPerturbations

Default destructor for GeneralPerturbations .

astrea::astro::GeneralPerturbations::~GeneralPerturbations () = default



The documentation for this class was generated from the following file astrea/astro/astro/state/orbital_data_formats/instances/GeneralPerturbations.hpp