Repository navigation
v0.0.6 — irreversible JPEG 2000 (9/7)
- GRIB2 5.40 now decodes both reversible 5/3 and irreversible 9/7: accepts
qmfbid=0 and QCD scalar-derived/explicit styles (1/2), applies the reference
decoder's half-LSB tier-1 reconstruction and 0.5*stepsize dequantization,
then a float32 inverse 9/7 transform - output matches OpenJPEG sample for sample: fixtures generated via Pillow
(8/16-bit, 0-3 decomposition levels, odd sizes) plus 82 local codestreams;
unknown transforms/quantization styles still fail loudly - lifting is architecture-deterministic: explicit float32 rounding and
math.Ldexp for the power-of-two step factor; the macOS arm64 CI job that
caught a one-LSB FMA difference is green again
Verification: go build/vet/test ./... and the wasm suite pass on go1.27.1 with
CGO_ENABLED=0; CI (ubuntu/windows/macos, wasm target, generated files) and
CodeQL are green on this commit. Release assets: gribdump for linux/amd64,
linux/arm64, linux/loong64, windows/amd64 and darwin/arm64.