Changeset 5550
- Timestamp:
- Nov 18, 2005, 1:12:54 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/eoc_testing.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/eoc_testing.txt
r5535 r5550 13 13 z=0.7496834983724809 14 14 15 3. Need the Sun position, stuff it into a psSphere (sun). 15 3. Stuff the Sun position into a psCube (sunCube): 16 17 x=1.467797790127511E11 18 y=2.5880956908748722E10 19 z=1.1220046291457653E10 20 21 Convert to a psSphere (psCubeToSphere *sun). 16 22 17 23 4. Gravitational deflection: … … 25 31 z=0.7496835020836093 26 32 27 5. Need the Earth's direction of motion (psSphere *direction) and 28 speed (double speed). 33 5. Earth's direction of motion is: 34 35 Barycentric velocity of the Earth in m/s: 36 x=5148.713262821658 37 y=-26945.04752348012 38 z=-11682.787302030947 39 Diurnal velocity of the observer in m/s: 40 x=-357.6031690489248 41 y=248.46429758174693 42 z=0.09694774143797581 43 44 These two need to be summed. Converting to a psSphere gives the 45 direction of motion (psSphere *direction), while the magnitude gives 46 the speed (double speed). 29 47 30 48 6. Aberration: … … 40 58 7. Generate a psTime (time) for 2003-04-01T01:30:00 UTC. 41 59 42 8. Precession and Nutation60 8. Precession 43 61 44 (a) psEarthPole * earthPN= psEOC_PrecessionModel(time);62 (a) psEarthPole *precession = psEOC_PrecessionModel(time); 45 63 (b) psEarthPole *precessionCorr = psEOC_PrecessionCorr(time, PS_IERS_A); 46 (c) psEarthPole *nutationCorr = psEOC_NutationCorr(time);47 64 48 65 Add the above components: 49 66 50 earthPN->x += precessionCorr->x + nutationCorr->x;51 earthPN->y += precessionCorr->y + nutationCorr->y;52 earthPN->s += precessionCorr->s + nutationCorr->s;67 precession->x += precessionCorr->x; 68 precession->y += precessionCorr->y; 69 precession->s += precessionCorr->s; 53 70 54 9.Apply these to the position:71 Apply these to the position: 55 72 56 73 psSphereRot *precessionNutationInv = psSphereRot_CEOtoGCRS(earth); // This is CEO->GCRS … … 64 81 z=0.7496183628158023 65 82 66 8. Earth rotation:83 9. Earth rotation: 67 84 68 85 psSphereRot *earthRotInv = psSphereRot_TEOtoCEO(time); // This is TEO->CEO … … 76 93 z=0.7496183628158023 77 94 78 9. Polar Motion:95 10. Polar Motion: 79 96 80 psEarthPole *earthPM = psEOC_GetPolarMotion(time, PS_IERS_A); 97 (a) psEarthPole *earthPM = psEOC_GetPolarMotion(time, PS_IERS_A); 98 (b) psEarthPole *nutationCorr = psEOC_NutationCorr(time); 99 100 Add the above components: 101 102 earthPM->x += nutationCorr->x; 103 earthPM->y += nutationCorr->y; 104 earthPM->s += nutationCorr->s; 105 106 Apply these to the position: 107 81 108 psSphereRot *polarMotionInv = psSphereRot_ITRStoTEO(earthPM); // This is ITRS->TEO 82 109 psSphereRot *polarMotion = psSphereRotInvert(polarMotionInv); // This is TEO->ITRS … … 89 116 z=0.7496169753347885 90 117 91 1 0. The psLib SDRS does not define functions to go beyond this point118 11. The psLib SDRS does not define functions to go beyond this point 92 119 (specifically, atmospheric refraction correction, and conversion to 93 120 the observer's horizon coordinates), so we stop here.
Note:
See TracChangeset
for help on using the changeset viewer.
