Position of the celestial poles

The subroutine gwcs_projec stores the projected distances of the North and South celestial poles in the components npole and spole of the projection description. For the stereographic projection they are computed directly as the signed distances along the $y$ axis, before rotation by the projection angle:

$\displaystyle \texttt{npole}$ $\displaystyle =$ $\displaystyle +2\tan\frac{\pi/2-\delta_0}{2}$ (67)
$\displaystyle \texttt{spole}$ $\displaystyle =$ $\displaystyle -2\tan\frac{\pi/2+\delta_0}{2}$ (68)

They are used by GREG to draw the coordinate grids, which applies the projection angle itself.