UNIVERSAL FORMAT FOR EDOP DATA  (Level 1)                    3 Jan 96
=====================================================================

/*
 * UF Mandatory header block
 */
Word    Description                                  Default
    1   "UF" (ASCII)                                 "UF"
    2   Record length [number of 16 bit words]       ---
    3   Position of nonmandatory header              ---
    4   Position of local header                     ---
    5   Position of data header                      ---
    6   Physical record number relative to file      ---
    7   Volume number relative to tape               1
    8   Ray number relative to volume                [6]
    9   Physical record number within ray            1
   10   Sweep number within current volume           1
11-14   Radar name + processor ID (ASCII)            "EDOP/P1 "
15-18   Site name (ASCII)                            (Airfield)
19-21   Latitude: deg, min, sec*64                   (Hybrid)
22-24   Longitude: deg, min, sec*64                  (Hybrid)
   25   Antenna height ASL [m]                       (Hybrid)
26-28   Date: year (2 digits), month, day            (INS)
29-31   Time: hour, min, sec                         (INS)
   32   Time zone (ASCII)                            "UT"
   33   Azimuth to midpoint of sample [deg*64]       0
   34   Elevation to midpoint of sample [deg*64]     0
   35   Sweep mode: CAL 0   PPI 1   COP 2            5
                    RHI 3   VER 4   TAR 5
                    MAN 6   IDL 7   SUR 8
   36   Fixed angle of scan [deg*64]                 0
   37   Sweep rate [64*deg/sec]                      0
38-40   Generation date of UF file: year, mon, day   ---
41-44   Tape generator facility name (ASCII)         "NASA-912"
   45   Missing data flag   (MD)                     0x8000

=====================================================================

/*
 * UF Optional header block
 */
46-49   Project name (ASCII)                         ---
   50   Baseline azimuth [deg*64]                    (MD)
   51   Baseline elevation [deg*64]                  (MD)
52-54   Leg (Volume) start time: hour, min, sec      ---
55-58   Field tape name (ASCII)                      (MD)
   59   Beam configuration flag                      2
          0 Gates constant for a volume
          1 Gates constant within a sweep
          2 Gates constant only within a ray

=====================================================================

/*
 * UF Local Use header (NASA EDOP)   [60]
 */
    0   Offset of INS words                          ---
    1   Offset of GPS words                          ---
    2   Offset of hybrid words                       ---
    3   Offset of instrument words                   ---
  4-7   Flight ID / Sortie (ASCII)                   ---
 8-10   Airfield latitude: deg, min, sec*64          ---
11-13   Airfield longitude: deg, min, sec*64         ---
14-17   Flight leg name (ASCII)                      ---
   18   Flight leg code                              ---
   19   EDOP dwell number (mod 32768)                ---
   20   EDOP dwell number (div 32768)                ---
21-28   Real-time file name (ASCII)                  ---
29-31   Last UF access date: year, month, day        ---
   32   Nadir tilt [deg * 100]                       ---
   33   Nadir azimuth [deg * 100]                    0
   34   Nadir surface gate                           ---
   35   Forward tilt [deg * 100]                     ---
   36   Forward azimuth [deg * 100]                  0
   37   Forward surface gate                         ---
   38   Gate at range zero                           ---

        INS words    [40]
    0   Altitude [m]                                 ---
    1   Ground speed  [m/s * 100]                    ---
    2   N/S velocity  [m/s * 100]                    ---
    3   E/W velocity  [m/s * 100]                    ---
    4   Vertical velocity [m/s * 100]                ---
    5   Track [deg * 100]                            ---
  6-8   Latitude: deg, min, sec*64                   ---
 9-11   Longitude: deg, min, sec*64                  ---
   12   Pitch  [deg * 100]                           ---
   13   Roll  [deg * 100]                            ---
   14   Drift  [deg * 100]                           ---
   15   Heading [deg * 100]                          ---
16-18   Time: hour, min, sec                         ---
19-21   Date: year, month, day                       ---
   22   Vertical acceleration  [m/s/s * 100]         ---
   23   Wind direction [deg * 100]                   ---
   24   Wind speed  [m/s * 100]                      ---

        GPS words    [65]
    0   Altitude  [m]                                ---
    1   Ground speed   [m/s * 100]                   ---
    2   N/S velocity  [m/s * 100]                    ---
    3   E/W velocity  [m/s * 100]                    ---
    4   Vertical velocity  [m/s * 100]               ---
    5   Track  [deg * 100]                           ---
  6-8   Latitude: deg, min, sec*64                   ---
 9-11   Longitude: deg, min, sec*64                  ---
12-14   Time: hour, min, sec                         ---

        Hybrid words    [80]
    0   Altitude  [m]                                ---
    1   Ground speed  [m/s * 100]                    ---
    2   N/S velocity  [m/s * 100]                    ---
    3   E/W velocity  [m/s * 100]                    ---
    4   Vertical velocity [m/s * 100]                ---
    5   Track  [deg * 100]                           ---
  6-8   Latitude: deg, min, sec*64                   ---
 9-11   Longitude: deg, min, sec*64                  ---
   12   Heading  [deg * 100]                         ---

        Instrument words    [93]
    0   Pulse width [us * 100]                       ---
    1   PRF [Hz]                                     ---
    2   Reflectivity integration time [sec * 100]    ---
    3   Doppler integration time [sec * 100]         ---
    4   IF filter width [MHz * 100]                  ---
    5   Frequency [GHz * 100]                        ---
    6   Nadir beam width [deg * 100]                 ---
    7   Forward beam width [deg * 100]               ---
    8   Nadir peak power [dBm * 100]                 ---
    9   Forward peak power [dBm * 100]               ---
   10   Board status register                        ---
   11   Radar status register                        ---
12-20   Temperature sensor data                      ---
   21   DSP dwell (mod 32768)                        ---
   22   DSP dwell (div 32768)                        ---
23-25   EDOP time: hour, min, sec                    ---

=====================================================================

/*
 * UF Data header block   [167]
 */
  0     Total number of fields in this ray           ---
  1     Total number of records in this ray          1
  2     Total number of fields in this record        ---
  3     Field 1 name                                 ---
  4     Field 1 position                             ---
  5+    File 2, etc

=====================================================================

/*
 * UF Field header block
 */
  0     Position of first data word                  ---
  1     Scale factor (phys units = tape/scale)       ---
  2     Range to first gate [km]                     ---
  3     Adjustment to center of first gate [m]       ---
  4     Sample volume spacing [m]                    ---
  5     Number of sample volumes                     ---
  6     Sample volume depth [m]                      ---
  7     Horizontal beam width [deg*64]               2.97
  8     Vertical beam width [deg*64]                 2.97
  9     Receiver bandwidth [MHz]                     ---
 10     Transmitted polarization                     1
           0 Horizontal    1 Vertical
           2 Circular      3 Elliptical
 11     Wavelength [cm*64]                           3.12
 12     Number of samples used in field estimate     ---
 13     Field used for threshold (ASCII)             ---
 14     Threshold value                              ---
 15     Scale                                        ---
 16     Edit code (ASCII)                            ---
          "  "  Velocity not corrected
          "PA"  Velocity pointing angle corrected
 17     Pulse repetition time [usec]                 ---
 18     Bits per sample                              ---
 19+    Field specific words

/*
 * For velocity fields
 */
 19     Nyquist velocity * Scale                     ---
 20     LSB Flag                                     ---
          "FL"  Bad data flagged by LSB
 21     Vertical velocity source                     ---
          0 Inertial integration
          1 GPS        2 INS
 22     Aircraft radial motion [m/s * Scale]         ---

/*
 * For reflectivity (dBZ) fields
 */
 19     Radar constant [dB * Scale]                  ---
 20     Noise power [dBm * Scale]                    ---
 21     Receiver gain [dB * Scale]                   ---
 22     Peak power [dBmW * Scale]                    ---
 23     Antenna gain [dB * Scale]                    ---
 24     Pulse duration [us * 64]                     ---
/*
 * ...and for SRT corrected reflectivity
 */
 25     Surface reference [dBZ * Scale]              ---
 26     PIA [dB * Scale]                              ---

=====================================================================

=====================================================================

  Field     Description                                       20 Mar 99
    PN  Nadir_VV power
    PS  Nadir_VV surface power
    PF  Forward_VV power
    PX  Forward_VH power

    DN  Nadir_VV raw Doppler velocity [m/s]
    DS  Nadir_VV raw surf Doppler velocity [m/s]
    DF  Forward_VV raw Doppler velocity [m/s]
    DX  Forward_VH raw doppler velocity [m/s]

    WN  Nadir_VV spectral width [m/s]
    WS  Nadir_VV surface spectral width [m/s]
    WF  Forward_VV spectral width [m/s]
    WX  Forward_VH spectral width [m/s]  


    MN  Nadir_VV power (dBM)
    MS  Nadir_VV surface power (dBM)
    MF  Forward_VV power (dBM)
    MX  Forward_VH power (dBM)

    ZN  Nadir_VV reflectivity (dBZ) 
    ZS  Nadir_VV reflectivity (dBZ)
    ZF  Forward_VV reflectivity (dBZ)
    ZX  Forward_VH reflectivity (dBZ)

    VN  Nadir_VV corrected doppler velociy
    VF  Forward VV corrected doppler velocity


