NOAA AMSU-A/B Precipitation Estimation Software Package
(precip_swath.c)
F.W. Chen and D.H. Staelin


This file contains C code for estimating precipitation using the Advanced Microwave Sounding Unit (AMSU) aboard the NOAA-15, 16, and 17 satellites. This code also can process data from AMSU and the Humidity Sounder for Brazil (HSB) aboard the Aqua satellite after some minor changes related to differences in the scan patterns.  This code requires the following data:

This code produces the following outputs:

This code can be used by calling the function precip_swath:

precip_swath(int start_of_data, int start_of_gran, int end_of_gran, int end_of_data);

start_of_data is the number of the first AMSU-A scan of the data set.
start_of_gran is the number of the first AMSU-A scan of the granule.
end_of_gran is the number of the last AMSU-A scan of the granule.
end_of_data is the number of the last AMSU-A scan of the data set.

If there is no distinction between the data set and the granule being examined, then start_of_data and start_of_gran can have the same value, and end_of_gran and end_of_data can have the same value.

The user must provide definitions for the following macros:

CHANNEL: channel number
SCAN: scan number
SPOT: spot number (for AMSU-A, SPOT ranges from 0 to 29, and for AMSU-B, SPOT ranges from 0 to 89)

The data that the above macros refer to must be available in global variables.

Precipitation-induced brightness temperature perturbations are defined to be negative. The quality flags for estimates of precipitation-induced brightness temperature perturbations can have the following values:

The user may also choose to redefine MAX_SCANS_A and MAX_SCANS_B, the maximum number of AMSU-A and AMSU-B scans, respectively, to be examined, depending on the number of scans in each data set to be processed. MAX_SCANS_B must be equal to three times MAX_SCANS_A.

All of the above macro definitions must occur in segments of code that are run when MIT_TEST_HARNESS is not defined.


#ifdef MIT_TEST_HARNESS
<Macros defined for the MIT testing environment>
#else
<User puts his definitions in this section of code>
#endif



(NOTE: In the comments and macro definitions in precip_swath.c, AMSU and HSB correspond to AMSU-A and AMSU-B, respectively.)