Software for Egg Xshape
SeaWinds/QuikSCAT egg spatial response functions are parameterized by a two dimensional polynomial in
latitude and longitude. The polynomial coefficients are interpolated as a function of orbit position and
antenna rotation. Here sample code is provided to illustrate how to use the parameter tables.
The main program, available only in fortran, is egg.f. It must be linked to HDF libraries.
A sample make file for HP-UX is in make_egg. A sample output in egg.DAT.gz.
The matlab script egg_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
README.txt
AHeggs.jpg (contoured sample result, ascending, H-pol)
DHeggs.jpg (contoured sample result, decending, H-pol)
AVeggs.jpg (contoured sample result, ascending, V-pol)
DVeggs.jpg (contoured sample result, decending, V-pol)
make_egg (compile line example, HPUX)
egg.DAT.gz (text output from example program egg.f)
egg.f (sample program, link to HDF libraries)
egg_shape.m (Matlab script to plot contoured example)
myarrow.m (Matlab routine used in egg_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.
|