OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
eaxis.f
Go to the documentation of this file.
1  subroutine eaxis(e,phi,xm)
2 c computes coordinate transformation matrix corresponding to euler axis e
3 c and rotation angle phi
4 
5 c reference: wertz, appendix e
6 
7 c calling arguments
8 
9 c name Type i/o description
10 c
11 c e(3) r*4 i input euler axis(must be a unit vector)
12 c phi r*4 i input rotation angle(degrees)
13 c xm(3,3) r*4 o output transformation matrix
14 
15  real xm(3,3),e(3)
16  real*8 pi,radeg,re,rem,f,omf2,omegae
17  common /gconst/pi,radeg,re,rem,f,omf2,omegae
18 
19  cp = cos(phi/radeg)
20  sp = sin(phi/radeg)
21  omcp = 1.0 - cp
22 
23  xm(1,1) = cp + e(1)*e(1)*omcp
24  xm(1,2) = e(1)*e(2)*omcp + e(3)*sp
25  xm(1,3) = e(1)*e(3)*omcp - e(2)*sp
26  xm(2,1) = e(1)*e(2)*omcp - e(3)*sp
27  xm(2,2) = cp + e(2)*e(2)*omcp
28  xm(2,3) = e(2)*e(3)*omcp + e(1)*sp
29  xm(3,1) = e(1)*e(3)*omcp + e(2)*sp
30  xm(3,2) = e(2)*e(3)*omcp - e(1)*sp
31  xm(3,3) = cp + e(3)*e(3)*omcp
32 
33  return
34  end
float * vector(long nl, long nh)
Definition: nrutil.c:15
subroutine eaxis(e, phi, xm)
Definition: eaxis.f:2
float ** matrix(long nrl, long nrh, long ncl, long nch)
Definition: nrutil.c:60
#define real
Definition: DbAlgOcean.cpp:26
#define re
Definition: l1_czcs_hdf.c:701
===========================================================================V5.0.48(Terra) 03/20/2015 Changes shown below are differences from MOD_PR02 V5.0.46(Terra)============================================================================Changes noted for V6.1.20(Terra) below were also instituted for this version.============================================================================V6.1.20(Terra) 03/12/2015 Changes shown below are differences from MOD_PR02 V6.1.18(Terra)============================================================================Changes from v6.1.18 which may affect scientific output:A situation can occur in which a scan which contains sector rotated data has a telemetry value indicating the completeness of the sector rotation. This issue is caused by the timing of the instrument command to perform the sector rotation and the recording of the telemetry point that reports the status of sector rotation. In this case a scan is considered valid by L1B and pass through the calibration - reporting extremely high radiances. Operationally the TEB calibration uses a 40 scan average coefficient, so the 20 scans(one mirror side) after the sector rotation are contaminated with anomalously high radiance values. A similar timing issue appeared before the sector rotation was fixed in V6.1.2. Our analysis indicates the ‘SET_FR_ENC_DELTA’ telemetry correlates well with the sector rotation encoder position. The use of this telemetry point to determine scans that are sector rotated should fix the anomaly occured before and after the sector rotation(usually due to the lunar roll maneuver). The fix related to the sector rotation in V6.1.2 is removed in this version.============================================================================V6.1.18(Terra) 10/01/2014 Changes shown below are differences from MOD_PR02 V6.1.16(Terra)============================================================================Added doi attributes to NRT(Near-Real-Time) product.============================================================================V6.1.16(Terra) 01/27/2014 Changes shown below are differences from MOD_PR02 V6.1.14(Terra)============================================================================Migrate to SDP Toolkit 5.2.17============================================================================V6.1.14(Terra) 06/26/2012 Changes shown below are differences from MOD_PR02 V6.1.12(Terra)============================================================================Added the doi metadata to L1B product============================================================================V6.1.12(Terra) 04/25/2011 Changes shown below are differences from MOD_PR02 V6.1.8(Terra)============================================================================1. The algorithm to calculate uncertainties for reflective solar bands(RSB) is updated. The current uncertainty in L1B code includes 9 terms from prelaunch analysis. The new algorithm regroups them with the new added contributions into 5 terms:u1:the common term(AOI and time independent) and
Definition: HISTORY.txt:126
#define pi
Definition: vincenty.c:23
subroutine euler(a, xm)
Definition: euler.f:2
#define omf2
Definition: l1_czcs_hdf.c:703
#define f
Definition: l1_czcs_hdf.c:702
#define degrees(radians)
Definition: niwa_iop.c:30