Mostly out of date

Using Local Radar Tools

Getting Radar Files Off of Tape

To pull data off of tape, one needs to know how it was put on to the tape. If the tape is a tape archive, then on the machine with the tape drive use
    tar xvf /dev/tape
    (for one file: tar xvf /dev/tape filename)
For most radar data tapes the dd command needs to be used. Usually, from the machine with the tape drive, using
    dd if=/dev/tape ibs=65535 of=filename
works. Note that one must provide his own name for the radar data file.

If one is pulling all the files off tape, one can use
    tape2uf radar_name
    (for NexRad/wsr88d files: tapenex2uf radar_location_name)
to pull off all the files and convert them to uf.

Converting Raw Radar Data to UF Format

Our default radar format is UF. If the data is not in the UF format then one can use
    any_to_uf infile uffile
    (any_to_uf -f radar_location_name wsr88d_file uffile)
to convert to uf unless the file is DORADE format. Then use
    dor2uf directory uffile
(uffile's name here does not include the full path and uffile will be written to directory where the original file also resides.)

If the file pulled off of tape is from the CHILL radar, it is then in the UF format but needs to have the tape blocking added. This can be done with
    read_chilluf chill_uffile fixed_uffile

To give the UF file a meaningful name with a date and time run
    giveufname uffile radar_name
and it will change the UF file name.

Viewing and Editting Radar Data

To view and edit the radar file there are two programs one can use: solo which runs on all the workstations and editor which runs only on the Suns. solo has a click and point interface, whereas editor has a text based menu system. To use solo one must convert the radar data to dorade sweep files, which is done with
    uf2swp uffile dorade_directory
To convert back to UF (assuming one radar volume in dorade_directory)
    swp2uf dorade_directory radar_name uf_directory
Also before running solo one needs to set DORADE_DIR environmental variable. DORADE_DIR is the directory where the dorade sweep files reside.
    setenv DORADE_DIR dorade_directory
editor reads UF formatted radar data and DISK1 environmental variable needs to be set before running editor. DISK1 defines the directory where the editor "red" file resides. (The "red" file contains the editted radar data.)
    setenv DISK1 redfile_directory

Gridding Radar Data

Data is gridded to cartesian coordiate space with a program called qreou (pronounced "reorder"). qreou uses an input file and is usually run as
    qreou <reo.inp >reo.out
Some sample input files can be found here. Before running qreou one needs to set the environmental variable SCRATCH to the directory where the resulting gridded file will be placed and where the UF file is located (unless the entire path and file name is given).
    setenv SCRATCH output_directory
A complete description of "reorder" and more information on setting up input files can be found in our "reorder" documentation (postscript, pdf). The resulting file that is created is in a ced format and needs to be converted to our pltgks netcdf format. This is done by
    ced2nc file.ced
The netcdf file,, is created.

If you want to grid an entire directory of compressed uf files into compressed netcdf files, there is a script, ufgz2cdfgz, you can use.
    ufgz2cdfgz uf_directory reorder_input_file
Note the reorder input file (found in uf_directory) must contain the following lines:
    INPUT: "my.uf";
    OUTPUT: "my";

Also check out Procedure for gridding NEXRAD level II files.

Viewing Gridded Radar Data

For a quick look at the gridded data ncview displays a image of the data on the computer screen.
    ncview netcdf_file
For a "finished" graph use idl. Some sample idl programs are found here.

Gridding for Dual Doppler Analysis

Dual doppler analysis calculates convergence and the wind field. It is a complex process and has many parameters that can be adjusted. The program cedric is used for the dual doppler analysis. A perl script, called dualdop, simplifies the procedure and allows one to run cedric using only the most common parameters as input. The analysis is done by
    dualdop dualdop_input
where dualdop_input contains the parameters that need to be set. A sample input file is available.

See Also Examples of How To Process Radar Data