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/rverot.f | |
download | calfuse-d54fe7c1f704a63824c5bfa0ece65245572e9b27.tar.gz |
Initial commit
Diffstat (limited to 'src/slalib/rverot.f')
-rw-r--r-- | src/slalib/rverot.f | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/slalib/rverot.f b/src/slalib/rverot.f new file mode 100644 index 0000000..5fbe6d9 --- /dev/null +++ b/src/slalib/rverot.f @@ -0,0 +1,48 @@ + REAL FUNCTION sla_RVEROT (PHI, RA, DA, ST) +*+ +* - - - - - - - +* R V E R O T +* - - - - - - - +* +* Velocity component in a given direction due to Earth rotation +* (single precision) +* +* Given: +* PHI real latitude of observing station (geodetic) +* RA,DA real apparent RA,DEC +* ST real local apparent sidereal time +* +* PHI, RA, DEC and ST are all in radians. +* +* Result: +* Component of Earth rotation in direction RA,DA (km/s) +* +* Sign convention: +* The result is +ve when the observatory is receding from the +* given point on the sky. +* +* Accuracy: +* The simple algorithm used assumes a spherical Earth, of +* a radius chosen to give results accurate to about 0.0005 km/s +* for observing stations at typical latitudes and heights. For +* applications requiring greater precision, use the routine +* sla_PVOBS. +* +* P.T.Wallace Starlink 20 July 1994 +* +* Copyright (C) 1995 Rutherford Appleton Laboratory +*- + + IMPLICIT NONE + + REAL PHI,RA,DA,ST + +* Nominal mean sidereal speed of Earth equator in km/s (the actual +* value is about 0.4651) + REAL ESPEED + PARAMETER (ESPEED=0.4655) + + + sla_RVEROT=ESPEED*COS(PHI)*SIN(ST-RA)*COS(DA) + + END |