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
(for NexRad/wsr88d files: tapenex2uf radar_location_name)
to pull off all the files and convert them to uf.
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.
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
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
The netcdf file, file.nc, 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:
Also check out Procedure for gridding NEXRAD level II files.
For a quick look at the gridded data ncview displays a image of the
data on the computer screen.
For a "finished" graph use idl. Some sample idl programs are found here.