Interpolates spacecraft position in MHD spatial coordinates and at MHD time.
SCPosition = OrbitSync(Trajectory, MHDTime, CloudRadius);
|Trajectory||field||none||spacecraft trajectory (from ReadTrajectory)|
|MHDTime||vector||none||UT time (from yrdayhr)|
|CloudRadius||scalar||1.0||cloud around spacecraft in Re|
|SCPosition||field||position of spacecraft|
Receives the spacecraft trajectory field (from ReadTrajectory) and the MHDTime
(from yrdayhr). The module interpolates the position of the spacecraft trajectory
at the UT of the MHD model, then outputs that interpolated position of the
Optional: The module also calculates the positions of 6 points separated from the position of the spacecraft by a distance CloudRadius. These points are effectively the centers of faces of a cube centered on the spacecraft position. The input CloudRadius is an optional parameter that specifies the distance (in X, Y, and Z) from the spacecraft that those cloud points are put.
The second output tab of OrbitSync is the
takes the s/c trajectory from ReadTrajectory
takes the UT time from yrdayhr
Example Visual Programs