EarthEnvironment:

Path: SC/Environs

% Compute the environment parameters for the Earth.
 This data is required by the disturbance model. In order to calculate
 drag, the velocity must be computed relative to the atmosphere, which
 requires converting each point to the planet fixed frame; to skip this
 computation pass in an empty matrix for vECI.

 This routine calculates eclipses. A simple dipole model is used for the
 magnetic field.
--------------------------------------------------------------------------
   Forms:
   e = EarthEnvironment( rECI, vECI, jD, e )
--------------------------------------------------------------------------
   -----
   Input
   -----
   rECI   (3,:)    Position vectors in ECI frame
   vECI   (3,:)    Velocity vectors
   jD     (1,:)    Time scalar or array in Julian date
   e       (.)     Initial structure

   ------
   Output
   ------
   e       (.)     Environment data with updated data, see Disturbances

--------------------------------------------------------------------------
   See also: AtmDens2, SunV2, Eclipse, BDipole, VAtm
--------------------------------------------------------------------------

Children:

AeroUtils: AtmosphericCalculations/AtmDens2
Common: Database/Constant
Math: Linear/Mag
Orbit: OrbitMechanics/VAtm
SC: Environs/BDipole
SC: Ephem/Eclipse
SC: Ephem/SunV2

Back to the SC Module page