Software for Slice Xshape
SeaWinds/QuikSCAT slice spatial response functions are parameterized by the 6 dB contour line parameterized
by 8 key points along the contour. The point locations are interpolated as a function or orbit
position and antenna rotation angles. Here sample C code is provided to illustrate how to use the
slice tables. The main program is slice.c. It must be linked to HDF libraries.
A sample make file for HP-UX is in makefile_slice. A sample output in slice.DAT.gz.
The matlab script slice_shape.m (which calls myarrow.m) was used to produce the sample .jpg files.
These illustrate the 3 and 6 dB contours of egg measurements as a function of antenna rotation for each beam
and ascending/descending orbit passes of the equator
AHsliceslices.jpg (sample result, ascending, H-pol)
DHsliceslices.jpg (sample result, decending, H-pol)
AVsliceslices.jpg (sample result, ascending, V-pol)
DVsliceslices.jpg (sample result, decending, V-pol)
makefile_slice (make file for HPUX)
slice.DAT.gz (text output from example program egg.f)
slice.c (sample program, link to HDF libraries)
slice_shape.m (Matlab script to plot slice example)
myarrow.m (Matlab routine used in slice_shape.m)
This code and tables are made available as a public service. While
the code has been tested on a SUN, HPUX, and linux platforms, no
claim is made for the correctness or suitability of the code or
tables for any purpose. Any use of this code is made at the user's
own risk. Source code may be freely copied and modified as long
as (1) original authorship is acknowledged, and (2) code is not
distributed for profit without prior authorization from David G.
Long at Brigham Young University, Please sent a copy of any papers
resulting from using this code or data tables to Prof. David Long,
459 Clyde Building, BYU, Provo, UT 84602. Source code is copyright
2003 Brigham Young University, Provo, UT.