https:///weradocs/wera16_spec_rad.shtml Last update:

WERA HF Radar Software - Spectra to Radial Currents

wera16_spec_rad

This program is obsolete and will not be updated. Please use wera16_spec_cwrad instead.

Note that for the Linux version /home/wera/etc/params.cfg is the new location where params.cfg should live. Also check carefully which entries in params.cfg should now go to /home/wera/etc/ .

Reads all information needed on the measurement from the header and from
Values in PARAM_UV.CFG / params.cfg:

        VARX            =  1.5  !Variance of radial comp must be less [m/s]
	MAX_RAD_CUR     =  2.5  !Maximum radial current allowed [m/s]
	STEER_001       = 60    !+/- max steering angle [degrees]
MAX_RAD_CUR is used by wera16_spec_rad to limit the radial component of the current. (Grid points with higher current velocities are marked as 'gap'.)

Program writes binary (unformatted) data which are incompatible between Linux <--> VMS platforms. To transfer the data, first convert them to ASCII (Radial2ASCII), then use FTP in ASCII mode, and convert back to binary (ASCII2Radial).

Program expects  'FMSPEC'  header code
and writes       'FMRADG'  header code.

Look here for a complete list of header codes.

The following box shows a typical output generated by wera16_spec_rad :

wera@ifmwera2:~/Fortran> wera16_spec_rad ~/data/examples/20031541930_kna.SPEC ~/data/examples/20031541930_kna.RAD
 WERA16_Spec_Rad V1.0.3 Linux:
 *** MAX_RAD_CUR is set to  2.50 m/s.
 *** The time is  25-JUN-2004  14:50:48
 *** Now processing : /home/wera/data/examples/20031541930_kna.SPEC
 F_BRAGG    =  0.4087299 Hz
 Last RC    = 128
 RANGEresol =  1.5000 km
 RAN_OFF    =  0.50 RC
 TRUE_NORTH =  299 degrees
 WSpcRad: 1024 SAMPLES  03-JUN-03 19:30 UTC  Kaena       FMRADG FREQUENZ  16.050
 *** Set up table of grid points.
 *** Calculate Signal and Noise.
 *** Search for Peaks with sufficient S/N.
 *** Calculate statistics for Doppler peaks
 *** Result file: /home/wera/data/examples/20031541930_kna.RAD
 *** The time is  25-JUN-2004  14:50:54

Linux:

Source is in wera16_spec_rad.F
Compilation and linking with '. do_wera16_spec_rad.sh'

Call with
> wera16_spec_rad <path_to_.spec_file> <path_to_.rad_file>
e.g.
> wera16_spec_rad /directory/20003341355_TOR.SPEC /directory/20003341355_TOR.RAD_Beam

You should use the same time code in the .SPEC and .RAD filenames and indicate
that the result has been processed by Beam Forming by including '_Beam' in the
file name.

Here are the data formats of the input (.SPEC) and output (.RAD) files.

Compilation from source:
VMS:

Source is in wera16_spec_rad.F
Compilation and linking with @wera16_spec_rad

Program needs to be defined as an external command to take parameters
from the command line, e.g.
$ wera16_spec_rad :== $$USER1:[WERA.Fortran]wera16_spec_rad.EXE

Call with
$ wera16_spec_rad <path_to_.spec_file> <path_to_.rad_file> e.g.
e.g.
$ wera16_spec_rad -
         $USER1:[WERA.Fortran]20003341355_TOR.SPEC -
         $USER1:[WERA.Fortran]20003341355_TOR.RAD_Beam

You should use the same time code in the .SPEC and .RAD filenames and indicate
that the result has been processed by Beam Forming by including '_Beam' in the
file name.


Comments to: gurgel@ifm.uni-hamburg.de (Klaus-Werner Gurgel)