;
; Data header
;
Result = ufcenteradj(ufbuf, field)		Adjustment to center of first gate [m]
ufdata, ufbuf, field, result, ngates, ERROR=err	Extract and scale data for a field
Result = ufdatabits(ufbuf, field)		Number of bits in field estimate
Result = ufdatascale(ufbuf, field)		Scale factor
Result = ufdataseg(ufbuf, field)		Buffer index for a data segment
Result = ufeditcode(ufbuf, field)		Edit code 2 character ASCII
Result = uffhdr_size(ufbuf, field)		Size of field header in UF words
Result = ufgatelength(ufbuf, field)		Length of a gate [m]
Result = ufgates(ufbuf, field)			Number of gates
Result = ufgatespace(ufbuf, field)		Gate spacing [m]
Result = ufhbeamwidth(ufbuf, field)		Horizontal beam width [deg]
ufnameddata, ufbuf, name, result, ngates, ERROR=err	Extract and scale data
Result = ufprt(ufbuf, field)			Pulse repitition time [usec]
Result = ufrangezero(ufbuf, field)		Range to center of first gate [km]
Result = ufrcvrbandwidth(ufbuf, field)		Receiver bandwidth [MHz]
Result = ufrzero(ufbuf, field)			Range to first gate [integer km]
Result = ufsamples(ufbuf, field)		Number of samples in field estimate
Result = ufspword_size(ufbuf, field)		Number of field specific words
Result = ufspwords(ufbuf, field)		Buffer index for field specific words
Result = ufthreshold(ufbuf, field)		Threshold value
Result = ufthresholdname(ufbuf, field)		Threshold data field name
Result = uftscale(ufbuf, field)			Threshold scale factor
Result = uftxpol(ufbuf, field)			Transmit polarization
Result = ufvbeamwidth(ufbuf, field)		Vertical beam width [deg]
Result = ufwavelength(ufbuf, field)		Wavelength [cm]
;
; Local Use header for NASA EDOP
;
uf						Contact
Result = ufedop_dwell(ufbuf)			EDOP dwell number
Result = ufedop_forwardazimuth(ufbuf)		Forward antenna azimuth [deg]
****Result = ufedop_forwardsgate(ufbuf)		Forward antenna surface gate
Result = ufedop_forwardtilt(ufbuf)		Forward antenna tilt [deg]
Result = ufedop_gatezero(ufbuf)			Gate at range zero
Result = ufedop_gps(ufbuf)			Buffer index for GPS words
Result = ufedop_hybrid(ufbuf)			Buffer index for hybrid words
Result = ufedop_ins(ufbuf)			Buffer index for INS words
Result = ufedop_instrument(ufbuf)		Buffer index for instrument words
Result = ufedop_latitude(ufbuf)			Airfield latitude [deg]
Result = ufedop_leg(ufbuf)			Flight leg numeric code
Result = ufedop_legname(ufbuf)			Flight leg name 8 character ASCII
Result = ufedop_longitude(ufbuf)		Airfield longitude [deg]
Result = ufedop_nadirazimuth(ufbuf)		Nadir antenna azimuth [deg]
Result = ufedop_nadirsgate(ufbuf)		Nadir antenna surface gate
Result = ufedop_nadirtilt(ufbuf)		Nadir antenna tilt [deg]
Result = ufedop_rtfile(ufbuf)			EDOP real-time file name, 16 characters
Result = ufedop_sortie(ufbuf)			Flight/sortie ID, 8 characters
Result = ufedop_strmodate(ufbuf)		Date of last modification: dd/mm/yy
;
; Local Use header for NASA EDOP: GPS segment
;
Result = ufedop_gps_altitude(ufbuf)		GPS altitude [m]
Result = ufedop_gps_ewvel(ufbuf)		GPS east/west velocity [m/s]
Result = ufedop_gps_gspeed(ufbuf)		GPS ground speed [m/s]
Result = ufedop_gps_latitude(ufbuf)		GPS latitude [deg]
Result = ufedop_gps_longitude(ufbuf)		GPS longitude [deg]
Result = ufedop_gps_nsvel(ufbuf)		GPS north/south velocity [m/s]
Result = ufedop_gps_strtime(ufbuf)		GPS time, ASCII, hh:mm:ss
Result = ufedop_gps_time(ufbuf)			GPS decimal time [hours]
Result = ufedop_gps_timecode(ufbuf)		GPS time vector [hh, mm, ss]
Result = ufedop_gps_track(ufbuf)		GPS track angle [deg]
Result = ufedop_gps_vertvel(ufbuf)		GPS vertical velocity [m/s]
;
; Local Use header for NASA EDOP: Hybrid segment
;
Result = ufedop_hybrid_altitude(ufbuf)		Hybrid altitude [m]
Result = ufedop_hybrid_ewvel(ufbuf)		Hybrid east/west velocity [m/s]
Result = ufedop_hybrid_gspeed(ufbuf)		Hybrid ground speed [m/s]
Result = ufedop_hybrid_heading(ufbuf)		Hybrid heading [deg]
Result = ufedop_hybrid_latitude(ufbuf)		Hybrid latitude [deg]
Result = ufedop_hybrid_longitude(ufbuf)		Hybrid longitude [deg]
Result = ufedop_hybrid_nsvel(ufbuf)		Hybrid north/south velocity
Result = ufedop_hybrid_track(ufbuf)		Hybrid track angle [deg]
Result = ufedop_hybrid_vertvel(ufbuf)		Hybrid vertical velocity [m/s]
;
; Local Use header for NASA EDOP: INS segment
;
Result = ufedop_ins_altitude(ufbuf)		INS altitude [m]
Result = ufedop_ins_drift(ufbuf)		INS drift angle [deg]
Result = ufedop_ins_ewvel(ufbuf)		INS east/west velocity [m/s]
Result = ufedop_ins_gspeed(ufbuf)		INS ground speed [m/s]
Result = ufedop_ins_heading(ufbuf)		INS heading [deg]
Result = ufedop_ins_latitude(ufbuf)		INS latitude [deg]
Result = ufedop_ins_longitude(ufbuf)		INS longitude [deg]
Result = ufedop_ins_nsvel(ufbuf)		INS north/south velocity [m/s]
Result = ufedop_ins_pitch(ufbuf)		INS pitch [deg]
Result = ufedop_ins_roll(ufbuf)			INS roll [deg]
Result = ufedop_ins_strdate(ufbuf)		INS current date: dd/mm/yy
Result = ufedop_ins_strtime(ufbuf)		INS current time: hh:mm:ss GMT
Result = ufedop_ins_time(ufbuf)		        INS decimal time [hours]
Result = ufedop_ins_timecode(ufbuf)		INS time vector [hh, mm, ss]
Result = ufedop_ins_track(ufbuf)		INS track angle [deg]
Result = ufedop_ins_vertacc(ufbuf)		INS vertical acceleration [m/s/s]
Result = ufedop_ins_vertvel(ufbuf)		INS vertical velocity [m/s]
Result = ufedop_ins_wind(ufbuf)			INS wind speed [m/s]
Result = ufedop_ins_wspeed(ufbuf)		INS wind direction [deg]
;
; Local Use header for NASA EDOP: instrument segment
;
Result = ufedop_instr_bstatus(ufbuf)		EDOP board status
Result = ufedop_instr_dopint(ufbuf)		Doppler integration time [sec](ufbuf)
Result = ufedop_instr_dwell(ufbuf)		DSP dwell number
Result = ufedop_instr_forwardbeamw(ufbuf)	Forward antenna beam width [deg]
Result = ufedop_instr_forwardtpow(ufbuf)	Forward transmit power [dBm]
Result = ufedop_instr_freq(ufbuf)		Frequency [GHz]
Result = ufedop_instr_ifbandwidth(ufbuf)	IF filter bandwidth [MHz]
Result = ufedop_instr_nadirbeamw(ufbuf)		Nadir beam width [deg]
Result = ufedop_instr_nadirtpow(ufbuf)		Nadir transmit power [dBm]
Result = ufedop_instr_prf(ufbuf)		PRF (Hz)
Result = ufedop_instr_pulsew(ufbuf)		Pulse width [usec]
Result = ufedop_instr_refint(ufbuf)		Reflectivity integration time [sec]
Result = ufedop_instr_rstatus(ufbuf)		EDOP radar status
Result = ufedop_instr_strtime(ufbuf)		EDOP time: hh:mm:ss GMT
Result = ufedop_instr_temps(ufbuf)		Temperature array
Result = ufedop_instr_time(ufbuf)		EDOP decimal time [hours]
;
; Field header
;
Result = uffieldhdr(ufbuf, field)		Buffer index for the field header
Result = uffieldname(ufbuf, field)		Name of the field, 2 character ASCII
uffieldname_list, ufbuf, list, nfields		Return an array of strings with names
Result = uffieldnumber(ufbuf, name)		"Position" number of named field
Result = uffields(ufbuf)			Number of data fields
Result = ufrecfields(ufbuf)			Number of fields in this physical record
Result = ufrecords(ufbuf)			Number of physical records in this dwell
;
; Mandatory header
;
Result = ufazimuth(ufbuf)			Azimuth [deg]
Result = ufbaddata(ufbuf)			Flag for bad or missing data
Result = ufdatahdr(ufbuf)			Buffer index for data header
Result = ufday(ufbuf)				Day of the month
Result = ufdwell(ufbuf)				Dwell number relative to file
Result = ufelevation(ufbuf)			Elevation [deg]
Result = uffacility(ufbuf)			Generating facility name, 8 ASCII
Result = uffixedangle(ufbuf)			Fixed angle [deg]
Result = ufheight(ufbuf)			Antenna height [m]
Result = ufhours(ufbuf)				Current time [hours]
Result = uflatitude(ufbuf)			Latitude [deg]
Result = uflocalhdr(ufbuf)			Buffer index for Local Use header
Result = uflongitude(ufbuf)			Longitude [deg]
Result = ufminutes(ufbuf)			Current time [minutes]
Result = ufmonth(ufbuf)				Current month
Result = ufoptionalhdr(ufbuf)			Buffer index for Optional header
Result = ufradar(ufbuf)				Radar/processor name, 8 ASCII
Result = ufrecord(ufbuf)			Record number in current dwell
Result = ufseconds(ufbuf)			Current time [seconds]
Result = ufsite(ufbuf)				Site name, 8 ASCII
Result = ufstrdate(ufbuf)			Current date: dd/mm/yy
Result = ufstrgendate(ufbuf)			File generation date: dd/mm/yy
Result = ufstrtime(ufbuf)			Current time: hh/mm/ss ZZZ
Result = ufsweep(ufbuf)				Current sweep number
Result = ufsweepmode(ufbuf)			Sweep mode
Result = ufsweeprate(ufbuf)			Antenna sweep rate [deg/s]
Result = uftime(ufbuf)				Current decimal time [hours]
Result = uftimezone(ufbuf)			Time zone, 2 ASCII characters
Result = ufvdwell(ufbuf)			Dwell number relative to volume
Result = ufvolume(ufbuf)			Volume number
Result = ufwords(ufbuf)				Number of UF words in the buffer
Result = ufyear(ufbuf)				Current year (two digits)
;
; Optional header
;
Result = ufblazimuth(ufbuf)			Baseline azimuth [deg]
Result = ufblelevation(ufbuf)			Baseline elevation [deg]
Result = uffieldtape(ufbuf)			Field tape name, 8 ASCII characters
Result = ufgateflag(ufbuf)			Gate configuration flag
Result = ufproject(ufbuf)			Project name, 8 ASCII characters
Result = ufstarttime(ufbuf)			Volume decimal start time [hours]
Result = ufstrstarttime(ufbuf)			Volume start time: hh/mm/ss GMT
;
; UF utilities
;
***Result = uf_calibration_dwell(ufbuf)            TRUE if EDOP is in calibration mode
***Result = calmode(rstatus)                       TRUE if EDOP is in calibration mode
***Result = uf_surfref(ufbuf, name)		Surface reflectivity reference
***Result = uf_pia(ufbuf, name)		        2-way PIA from SRT
Result = uf_acdoppler(ufbuf, name)		Velocity for ER-2 motion correction
***Result = uf_forward_sgate(ufbuf, field)		Forward surface gate
Result = uf_nadir_sgate(ufbuf, field)		Nadir surface gate
Result = uf_rangevec(ufbuf, field)		Range vector [km]
uf_read_dwell, unit, ufbuf, /RDSS		Read a UF dwell from a disk file
Result = uf_tostr(UFarray, nwords)		Convert UF data to string
;
; DONE
;