SPDX Documentation

Previous Page Next Page Table of Contents Partial Table of Contents Index Search

yrdayhr

Category

SPAPT

Function

Generate UT time from LFM simulation time.

Syntax


UT_Time = yrdayhr(Sim_Time, Start_Year, Start_Hr, Start_Day, Start_Mon, Normalization, Correction);

Inputs
Name Type Default Description
Sim_Time scalar 0.0 simulation time
Start_Year integer 0 starting year
Start_Hr integer 0 starting hour
Start_Day integer 0 starting day
Start_Mon integer 1 starting month
Normalization scalar 0.000277 LFM time normalization
Correction scalar 0.0 LFM time correction

Outputs
Name Type Description
UT_Time vector UT time 5 vector
Date string month:day
Date2 string hr:min:sec

Functional Details

Conversion of LFM simulation time into UT time follows according to the formula
UT = Sim_Time * Normalization + Correction.

UT_Time

contains the starting year, the day of the year, hour, minute, and second.

Date

converts the day of the year into month and day.

Date2

contains hour, minute, second.



The following image is a portion of a network which illustrates the connections of the yrdayhr module. It receives the LFM data from readmhdhdf as the 1st imput and it passes on the UT time to the smgse module.

Example Network Portion

Example Visual Programs

5OrbitSynch.net
SashLFM.net

See Also

 OrbitSync  smgse


[ OpenDX Home at IBM | OpenDX.org ]