diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-04 21:21:30 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-04 21:21:30 -0500 |
commit | d54fe7c1f704a63824c5bfa0ece65245572e9b27 (patch) | |
tree | afc52015ffc2c74e0266653eecef1c8ef8ba5d91 /src/slalib/epj2d.f | |
download | calfuse-d54fe7c1f704a63824c5bfa0ece65245572e9b27.tar.gz |
Initial commit
Diffstat (limited to 'src/slalib/epj2d.f')
-rw-r--r-- | src/slalib/epj2d.f | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/slalib/epj2d.f b/src/slalib/epj2d.f new file mode 100644 index 0000000..c6a5c5f --- /dev/null +++ b/src/slalib/epj2d.f @@ -0,0 +1,29 @@ + DOUBLE PRECISION FUNCTION sla_EPJ2D (EPJ) +*+ +* - - - - - - +* E P J 2 D +* - - - - - - +* +* Conversion of Julian Epoch to Modified Julian Date (double precision) +* +* Given: +* EPJ dp Julian Epoch +* +* The result is the Modified Julian Date (JD - 2400000.5). +* +* Reference: +* Lieske,J.H., 1979. Astron.Astrophys.,73,282. +* +* P.T.Wallace Starlink February 1984 +* +* Copyright (C) 1995 Rutherford Appleton Laboratory +*- + + IMPLICIT NONE + + DOUBLE PRECISION EPJ + + + sla_EPJ2D = 51544.5D0 + (EPJ-2000D0)*365.25D0 + + END |