Engee documentation

Julian Date Conversion

Page in progress.

Conversion to the Julian date.

blockType: SubSystem

Path in the library:

/Aerospace/Axes Transformations/Julian Date Conversion

Description

Block Julian Date Conversion performs conversion from Gregorian calendar to Julian calendar. The conversion is valid for all dates of our era (AD) according to the Gregorian calendar.

Ports

Input

# day — time source
scalar | matrix

Details

The source of time from the Gregorian calendar.

The name of this port corresponds to the value of the parameters Time increment.

Data types

Float64

Complex numbers support

No

Output

# JD — Julian date
scalar | matrix

Details

The date of the Julian calendar.

Data types

Float64.

Complex numbers support

No

Parameters

Date and time

# Year — year

Details

The year for calculating the Julian date.

Default value

2013

Program usage name

year

Tunable

No

Evaluatable

Yes

# Month — month

Details

The month for calculating the Julian date.

Default value

1

Program usage name

month

Tunable

No

Evaluatable

Yes

# Day — day

Details

The day to calculate the Julian date.

Default value

1

Program usage name

day

Tunable

No

Evaluatable

Yes

# Hour — hour

Details

The hour for calculating the Julian date.

Default value

0

Program usage name

hour

Tunable

No

Evaluatable

Yes

# Minutes — minutes

Details

Minutes to calculate the Julian date.

Default value

0

Program usage name

minutes

Tunable

No

Evaluatable

Yes

# Seconds — seconds

Details

Seconds to calculate the Julian date.

Default value

0

Program usage name

seconds

Tunable

No

Evaluatable

Yes

# Time increment — time increment
Day | Hour | Min | Sec

Details

The time increment between the specified date and the desired simulation time. For example, selecting Day and connecting the simulation timer to the port means that each time increment is one day, and the unit adjusts its calculations to reflect this simulation time.

Values

Day | Hour | Min | Sec

Default value

Day

Program usage name

mask_time_increment

Tunable

No

Evaluatable

Yes

Time scale

# UTC (leap seconds accounting) — leap seconds

Details

Select this check box to calculate the Julian date taking leap seconds into account.

Default value

false (switched off)

Program usage name

scale

Tunable

No

Evaluatable

Yes

# Calculate modified Julian date — modified Julian date

Details

Select this check box to calculate the modified Julian date.

If this check box is selected, the output port will be named MJD.

Default value

false (switched off)

Program usage name

is_calc_mod_jd

Tunable

No

Evaluatable

Yes

# High accuracy Julian date (two float64) — double precision

Details

Select this check box to calculate the Julian date with double precision.

Default value

false (switched off)

Program usage name

is_high_accuracy

Tunable

No

Evaluatable

Yes