ExGrib.Grib2.Section5.Templates.SphericalHarmonicsDataComplexPacking (ex_grib v0.0.1) View Source
Template 5.51
Spherical harmonics data complex packingng
Notes:
(1) The unpacked subset is a set of values defined in the same way as the full set of values (on a spectrum limited to Js, Ksnd Ms), but on which scaling and packing are not applied. Associated values are stored in octets 6 onwards of section 7.
(2) The remaining coefficients are multiplied by (n x (n+1))p, scaled and packed. The operator associated with this multiplication is derived from the Laplacian operator on the sphere.
(3) The retrieval formula for a coefficient of wave number n is then:
Y = (R+X x 2e ) x 10-d
x (n x(n+1))-p where X is the packed scaled value
associated with the coefficient.
https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp5-51.shtml