GriddedData2SphericalDistance

Compute the spherical distance on the unit sphere in radians between all point pairs of two grids. The spherical distance is computed by \[ \psi_{12} = \arccos(\M n_1 \cdot \M n_2), \]where $\M n_i$ is the (normalized) position. This implies that all points are projected onto the unit sphere.

NameTypeAnnotation
outputfileMatrix
filenamematrix containing the spherical distance between all point pairs [rad]
grid1
grid
grid2
grid