pub fn gaussian_latitude(n: u32, row: u32) -> f64Expand description
The latitude in degrees of row row of the regular Gaussian grid with n
latitudes per hemisphere, counted from the north: the row-th root of the
Legendre polynomial of order 2n.
Newton’s method from cos(π(row + 0.75) / (2n + 0.5)) on the three-term
recurrence, stopping once a step is below 1e-15 or after 100 steps. The
operation order is normative (docs/zarr-profile.md, “Coordinates”): a
library root finder differs from this by up to 1.8e-12° near the poles,
which would move the bytes of a store’s latitude coordinate.