Calculating Divergence

Resource Overview

Input: psi grazing angle (can be vector or scalar) in degrees; r1 ground distance between radar and specular point (km); r2 ground distance between specular point and target (km); ht target height (m); hr radar height (m). Output: D divergence factor.

Detailed Documentation

This article requires the following input parameters:

- psi grazing angle (accepts either vector or scalar inputs) in degrees

- r1: ground distance between radar and specular point in kilometers

- r2: ground distance between specular point and target in kilometers

- ht: target height in meters

- hr: radar height in meters

The computation outputs parameter D, which represents the divergence factor. The calculation involves several key computational steps, including but not limited to:

- Computing the horizontal distance between radar and target (requires unit conversion from km to meters for consistency)

- Calculating the horizontal distance between specular point and target

- Determining the straight-line distance between specular point and radar (typically using Pythagorean theorem implementation)

- Calculating the tangent of the grazing angle (requires degree-to-radian conversion for trigonometric functions)

- Finally, substituting these computed values into the divergence formula to derive parameter D

The article will provide detailed explanations of these computational procedures, including algorithm implementations and critical mathematical operations, to help readers understand how to compute the output value D accurately. Code implementations would typically involve vectorization techniques to handle both scalar and vector inputs efficiently, with proper unit conversions and trigonometric function handling.