-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPOM2000.f90
38 lines (33 loc) · 990 Bytes
/
POM2000.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SUBROUTINE POM2000 ( XP, YP, SP, RPOM )
! - - - - - - - -
! P O M 2 0 0 0
! - - - - - - - -
!
! Form the matrix of polar motion, IAU 2000.
!
! Annex to IERS Conventions 2000, Chapter 5
!
! Given:
! XP,YP d coordinates of the pole (radians)
! SP d the quantity s' (radians)
!
! Returned:
! RPOM d(3,3) polar-motion matrix
!
! The returned rotation matrix is the first to be applied when
! transforming a TRS vector into a CRS vector.
!
! Calls the SOFA routines iau_IR, iau_RX, iau_RY, iau_RZ.
!
! This revision: 2002 November 25
!
!-----------------------------------------------------------------------
IMPLICIT NONE
REAL*8 XP, YP, SP, RPOM(3,3)
! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
! Construct the matrix.
CALL iau_IR ( RPOM )
CALL iau_RX ( YP, RPOM )
CALL iau_RY ( XP, RPOM )
CALL iau_RZ ( -SP, RPOM )
END