Reads the LFM model data in form of HDF and text files, extracts MHD scalars. The net illustrates the basic method developed to insert a virtual satellite into the LFM model output and extract a simulation value at a certain point, at a certain time to compare with a spacecraft measurement. It builds upon the base network BasicLFM.net.
In the {Import} page of the network, the modules SMGSE and YrDayHr are demonstrated. The SMGSE module rotates the MHD domain into geomagnetic coordinates (of your choice) and the YrDayHr module converts the simulation time to Universal Time. That time, as well as an object of the rotated MHD variables are passed (through transmitters) to the {SatComp} page which handles the satellite comparison.
The {SatComp} page reads in a trajectory file of spacecraft data (see the web reference page for ReadTrajectory) and sends the spacecraft data through OrbitSync to calculate the virtual spacecraft position at the MHD time. The first output of OrbitSync is this position, which is used to create a single point grid onto which the MHD variables are mapped. When the network is looped over time, the text file that Appendfile writes to accumulates a time series of data values.