Ginan
Loading...
Searching...
No Matches
slrObs.cpp File Reference

Functions

void readSatId (string filepath)
 Read sat ID file.
 
vector< CrdSessionreadCrdFile (string filepath)
 Parses a CRD file.
 
string ilrsIdToCosparId (int ilrsId)
 Converts from ILRS ID (condensed version of COSPAR ID) to COSPAR ID COSPAR ID to ILRS Satellite Identification Algorithm: COSPAR ID Format: (YYYY-XXXA) YYYY is the four-digit year of when the launch vehicle was put in orbit XXX is the sequential launch vehicle number for that year A is the alpha numeric sequence number within a launch ILRS Satellite Identification Format: (YYXXXAA), based on the COSPAR ID YY is the two-digit year of when the launch vehicle was put in orbit XXX is the sequential launch vehicle number for that year AA is the numeric sequence number within a launch.
 
int cosparIdToIlrsId (string cosparId)
 Converts from COSPAR ID to ILRS ID (condensed version of COSPAR ID)
 
GTime sessionSod2Time (double eventSod, GTime startSession)
 Convert seconds-of-day of an event and the start of the session encompassing the event to a GTime Assumes session duration is <24hrs.
 
SatSys ilrsIdToSatSys (int ilrsId)
 Converts from ILRS ID to SatSys object.
 
void readCrd (string filepath)
 Extracts observations from a given CRD (.npt) file.
 
void outputSortedSlrObsPerRec (string filepath, map< GTime, shared_ptr< LObs > > &obsMap)
 Outputs a tabular file with SLR observations in time-order, for 1 receiver.
 
map< string, vector< string > > outputSortedSlrObs ()
 Outputs a tabular file with SLR observations in time-order.
 
int readSlrObs (std::istream &inputStream, ObsList &obsList)
 Read one obs record from tabular slr obs file.
 

Function Documentation

◆ cosparIdToIlrsId()

int cosparIdToIlrsId ( string cosparId)

Converts from COSPAR ID to ILRS ID (condensed version of COSPAR ID)

Parameters
cosparIdCOSPAR ID to convert

◆ ilrsIdToCosparId()

string ilrsIdToCosparId ( int ilrsId)

Converts from ILRS ID (condensed version of COSPAR ID) to COSPAR ID COSPAR ID to ILRS Satellite Identification Algorithm: COSPAR ID Format: (YYYY-XXXA) YYYY is the four-digit year of when the launch vehicle was put in orbit XXX is the sequential launch vehicle number for that year A is the alpha numeric sequence number within a launch ILRS Satellite Identification Format: (YYXXXAA), based on the COSPAR ID YY is the two-digit year of when the launch vehicle was put in orbit XXX is the sequential launch vehicle number for that year AA is the numeric sequence number within a launch.

Parameters
ilrsIdFilepath to
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ilrsIdToSatSys()

SatSys ilrsIdToSatSys ( int ilrsId)

Converts from ILRS ID to SatSys object.

Parameters
ilrsIdILRS ID
Here is the caller graph for this function:

◆ outputSortedSlrObs()

map< string, vector< string > > outputSortedSlrObs ( )

Outputs a tabular file with SLR observations in time-order.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ outputSortedSlrObsPerRec()

void outputSortedSlrObsPerRec ( string filepath,
map< GTime, shared_ptr< LObs > > & obsMap )

Outputs a tabular file with SLR observations in time-order, for 1 receiver.

Parameters
filepathslr_obs file to write
obsMapOutput observation list
Here is the caller graph for this function:

◆ readCrd()

void readCrd ( string filepath)

Extracts observations from a given CRD (.npt) file.

Parameters
filepathCRD file to read
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readCrdFile()

vector< CrdSession > readCrdFile ( string filepath)

Parses a CRD file.

Parameters
filepathFilepath to CRD file
Here is the caller graph for this function:

◆ readSatId()

void readSatId ( string filepath)

Read sat ID file.

Parameters
filepathFilepath to sat ID file
Here is the caller graph for this function:

◆ readSlrObs()

int readSlrObs ( std::istream & inputStream,
ObsList & obsList )

Read one obs record from tabular slr obs file.

Parameters
inputStreamFile input stream
obsListList of SLR observations
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sessionSod2Time()

GTime sessionSod2Time ( double eventSod,
GTime startSession )

Convert seconds-of-day of an event and the start of the session encompassing the event to a GTime Assumes session duration is <24hrs.

Parameters
eventSodSeconds-of-day of the event in UTC time
startSessionsession start time
Here is the caller graph for this function: