| 1 | # This configuration file specifies values required for time calculations by psLib.
|
|---|
| 2 | psLib.time.tables.n U8 2 # Number of time tables
|
|---|
| 3 | psLib.time.tables.files STR bulletinA_09Sep2004.dat eopc01_1900_2004.40.dat # These are the file names
|
|---|
| 4 | @psLib.time.tables.from F64 53258.0, 15020.0 # Valid from these MJDs
|
|---|
| 5 | @psLib.time.tables.to F64 53622.0, 53258.0 # Valid to these MJDs
|
|---|
| 6 | psLib.time.before.xp F64 0.0 # Value of XP for before the earliest MJD
|
|---|
| 7 | psLib.time.before.yp F64 0.0 # Value of YP for before the earliest MJD
|
|---|
| 8 | psLib.time.before.dut F64 0.0 # Value of UT1-UTC for before the earliest MJD
|
|---|
| 9 |
|
|---|
| 10 | # Now follows formulae for predicting ahead of the most recent available table entry.
|
|---|
| 11 | # xp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
|
|---|
| 12 | # yp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
|
|---|
| 13 | # A = 2*pi*(MJD - pslib.time.predict.mjd)/365.25
|
|---|
| 14 | # C = 2*pi*(MJD - pslib.time.predict.mjd)/435.0
|
|---|
| 15 | # dut = ut1-utc = [0] + [1]*(MJD - [2]) - (UT2-UT1)
|
|---|
| 16 | # ut2-ut1 = 0.022 sin(2*pi*T) - 0.012 cos(2*pi*T) - 0.006 sin(4*pi*T) + 0.007 cos(4*pi*T)
|
|---|
| 17 | # T = 2000.0 + (MJD - 51544.03)/365.2422
|
|---|
| 18 | @pslib.time.predict.xp F64 0.0569, 0.0555, -0.0200, 0.0513, 0.1483
|
|---|
| 19 | @pslib.time.predict.yp F64 0.3498, -0.0176, -0.0498, 0.1483, -0.0513
|
|---|
| 20 | pslib.time.predict.mjd F64 53257.0
|
|---|
| 21 | @pslib.time.predict.dut F64 -0.4944, -0.00023, 53262.0
|
|---|