SARINCD

Create array segment of incident angles


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Algorithm :: References :: Related

Back to top

Description


Creates an array segment of incident angles to use with a RADARSAT gain scaling table. This function cannot be used for ASAR images.
Back to top

Parameters


Name Type Length Value range
InputOrbit: Input satellite orbital ephemeris segment* ORB port 1 - 1  
InputSAROffset: Input SAR Offset segment* Array port 1 - 1  
OutputIncAngle: Output SAR incident angle segment Array port 0 - 1  

* Required parameter
Back to top

Parameter descriptions

InputOrbit: Input satellite orbital ephemeris segment

Specifies the input segment that contains the satellite orbital ephemeris data.

The orbital segment is created when the satellite image is read from CD using CDSAR.

InputSAROffset: Input SAR Offset segment

Specifies the input array segment that contains the SAR Offset data.

The segment is created when the satellite image is read from CD using CDSAR; it is typically labeled "SAR Offset" or "A0Scale".

OutputIncAngle: Output SAR incident angle segment

Upons successful completion of SARINCD, this parameter receives the number of the new array segment of incident angles.

Back to top

Details

SARINCD produces a table of incident angles that correspond to the table of SAR gain scaling values produced when an image is read from a CD using CDSAR. The input image file (FILE) contains the orbit segment (ORBIT) and the SAR Offset array segment (A0SEG) required as input.

SARINCD is not required for ENVISAT ASAR images. For ASAR images, the incident angle information is extracted from the ESA-format image and stored in the Incident Angle segment by the CDASAR function.

Back to top

Algorithm

SARINCD calculates the incident angle for each column required to convert pixel values to the radar backscatter in the SARSIGM function. The incident angles are calculated as follows:
  1. Calculate the earth radius (r) at the image center (start of image for swath products) and the orbit altitude (h).

     tan_plat_lat = ( tan(plat_lat * PI/180) )**2
    
                     sqrt(1 + tan_plat_lat)
     r = ellip_min * ---------------------------------------------- * 1000
                     sqrt(ellip_min**2/ellip_maj**2 + tan_plat_lat)
    
     h = eph_orb(1) * 1000 - r
    
    where:
    • tan_plat_lat: an intermediate term in the calculation
    • plat_lat: the platform geodetic latitude, in degrees, read from the CEOS "Data Set Summary" record and stored as element 2 in the SAR Offset segment
    • PI/180: converts degrees to radians
    • ()**2: the square of a value
    • r: the radius of the earth at the image center, in meters
    • ellip_min: the semi-minor (or polar) axis for the Earth ellipsoid, in kilometers, read from the CEOS "Data Set Summary" record and stored in the ORBIT segment
    • sqrt(): the square root of a value
    • ellip_maj: the semi-major (or equatorial) axis for the Earth ellipsoid, in kilometers, read from the CEOS "Data Set Summary" record and stored in the ORBIT segment
    • h: the orbit altitude, in meters
    • eph_orb(1): the first of the equinoctial orbit elements (the semi-major axis of the orbit, in kilometers) read from the CEOS "Detailed Processing Parameters" record and stored as element 3 in the SAR Offset segment
  2. For each image column, calculate the slant range (RSi).

    For detected products stored in ground range (not SLC):

    			 RSi = SRGR(1) + (i * dRg)    * SRGR(2) + (i * dRg)**2 * SRGR(3) 
    						   + (i * dRg)**3 * SRGR(4) + (i * dRg)**4 * SRGR(5) 
    						   + (i * dRg)**5 * SRGR(6) 
    			
    where:
    • RSi: the Slant Range at a given image column, in meters
    • SRGR(): the Slant Range/Ground Range coefficients read from the CEOS "Detailed Processing Parameters" record stored as elements 4 to 9 in the SAR Gain segment
    • i: the column offset, where (i = 0 to Number of Columns in the image minus one)
    • dRg: the pixel width, in meters, read from the CEOS "Data Set Summary" record and stored in the ORBIT segment
    • ()**2: the square of a value
    • ()**3: the third power of a value
    • ()**4: the forth power of a value
    • ()**5: the fifth power of a value

    For SLC products (stored in slant range):

    RSi = SRfirst + (i * dRg)
    
    where:
    • RSi: the Slant Range at a given image column, in meters
    • SRfirst: the slant range of the first image pixel of the first scanline, read from the first "Processed Data" record and stored in the ORBIT segment
    • i: the column offset, where (i = 0 to Number of Columns in the image minus one)
    • dRg: the pixel width, in meters, read from the CEOS "Data Set Summary" record and stored in the ORBIT segment
  3. For each image column, calculate the incident angle (Ii):

    Ii = acos( (h*h - RSi*RSi + 2*r*h)/(2*RSi*r) ) * 180/PI
    
    where:
    • Ii: the incident angle at a given column
    • acos(): the arccosine function
    • h: the orbit altitude, in meters, from Step 1
    • RSi: the Slant Range at a given image column, in meters, from Step 2
    • r: the radius of the Earth at the image center, in meters, from Step 1
    • 180/PI: converts radians to degrees
Back to top

References

The calculations in the Algorithm come from:

"4.4 Conversion to Sigma Nought" and "Appendix A, Supporting calculations" of Technical Note No. 4.2 CDPF Output Data Calibration", N.W.Shepherd and Associates, February 26, 1996.

© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.