December 3, 2026

GAP Attitude Determination Data Product


CASSIOPE SPACECRAFT (Swarm-E)
PROCESSED DATA HANDBOOK

GAP Attitude Determination Data Product


The GAP attitude data are packaged into the NetCDF data format, with filenames in the following format:

GAP_YYYYMMDD_000000_235959_leoAtt_X.Y.Z.nc

where

YYYY = Year
MM = Month
DD = Day
X = Major revision number
Y = Minor revision number
Z = Reprocessing revision number There is one file per day, and each file covers 00:00:00 – 23:59:59 UTC at 1 second (86,400 samples), with NaN values set where no reliable solution exists..

The methodology for computing the attitude solutions is as follows:

  1. Observations
    Between-receiver single differences of L1 C/A (coarse/acquisition) and L2 P(Y) (encrypted precision) carrier phase, with receiver 2 as reference. Time tags are corrected for the receiver clock offsets, and only satellites tracked by both receivers of a baseline are used. A per-epoch “nuisance term” (clock difference plus line bias) is estimated for each baseline and frequency. Satellites with C/N0 (carrier to noise density) below 35 dB-Hz (L1) or 30 dB-Hz (L2) are excluded. Cycle slips are detected from gaps, loss-of-lock indicator (LLI), geometry-free phase (5 cm) and Melbourne-Wubbena jumps (4 wide-lane cycles). The single-difference covariance is 2σ² on the diagonal and σ² between baselines that share the reference receiver.

  2. Ambiguity initialization (no a priori attitude)
    A float (non-integer) solution over a window of 30 epochs gives the baseline vectors in LVLH, with a baseline-rate model; a 10-epoch static model is the fallback. Double-difference ambiguities (between receivers and between satellites) are resolved with LAMBDA (least-squares ambiguity decorrelation adjustment). A ratio test above 3 is required, i.e., the best integer set must fit at least 3 times better than the second best. A fix is accepted only if every baseline length agrees with the survey within 3 cm. The rigid-body (Kabsch) fit of the baselines to the body-frame survey must also leave residuals < 2 cm.

  3. Epoch-wise attitude
    With fixed ambiguities, the body-to-LVLH rotation is estimated at each epoch by Gauss-Newton iteration. Weights are 1/sin(elevation in the antenna frame) with a floor of 0.1, and the antenna-frame elevation mask is 0°. Residuals > 3 cm are rejected, and epochs with RMS (root mean square) > 2 cm are dropped. Ambiguities of newly risen satellites are obtained by rounding with the current attitude. After a loss of track of up to 120 s, ambiguities are re-derived from the last attitude (flag 1); otherwise a new LAMBDA initialization is made.

  4. Product
  5. The rotation is converted to Earth-fixed coordinates with the cas_eph orbit and written on the 1 s UTC grid of the day. Epochs with formal sigma > 2° are removed.

Angle conventions: LVLH z axis points to nadir and y axis along the negative orbit normal (computed from the inertial velocity); x axis completes the triad (approximately the flight direction). The angles are a 3-2-1 sequence (yaw about z, then pitch about y, then roll about x), v_body = Rx(roll) Ry(pitch) Rz(yaw) v_LVLH, identical to the cas_eph YAW/PITCH/ROLL. The quaternion follows the convention of CAS_AttQuat, the e- POP star-sensor attitude product: Earth-fixedßbody, scalar last.

NetCDF file variables:

VariableDescription
UTHours of UTC of the file date
Q1, Q2, Q3, Q4Quaternion Earth-fixedßbody (Q4 scalar), CAS_AttQuat convention
YAW, PITCH, ROLL3-2-1 rotation from LVLH (+z nadir) to body, cas_eph convention
SIGMA_ROLL, SIGMA_PITCH, SIGMA_YAWFormal 1-sigma of rotations about body x, y, z
NSATNumber of GPS satellites used
NOBSNumber of single-difference phases used (all baselines, L1 and L2)
NRCVR, RCVR_MASKReceivers used; bit n set for RCVR_n
RMS_PHASERMS of the single-difference phase residuals
Data_flags0: LAMBDA fix (tracked since); 1: ambiguities re-derived after a short loss of track; -1: no solution (NaN)

NetCDF file global variables:

Month
Day
Year
RES
Start_Time (UT h)
End_Time (UT h)
Product
Version
Time_System (with the GPS-UTC offset)
Quaternion,
Euler_Angles
Body_Frame
Method
GPS_Receivers
Antenna_Positions
Orbit
Validation
Fill_Value
Data_Flags
Software
Creation_Date