# Copyright 2005-2019 ECMWF.

# TEMPLATE 7.41, Grid point data - png
meta codedValues data_png_packing(
              section7Length,
              offsetBeforeData,
              offsetSection7,
              numberOfValues,
              referenceValue,
              binaryScaleFactor,
              decimalScaleFactor,
              bitsPerValue,

               # For encoding
              Nx,
              Ny,

              interpretationOfNumberOfPoints,
              numberOfDataPoints,
              scanningMode
            ): read_only;

meta values data_apply_bitmap(codedValues,
                                bitmap,
                                missingValue,
                                binaryScaleFactor,
                                numberOfDataPoints,
                                numberOfValues) : dump;

alias data.packedValues = codedValues;

template statistics "common/statistics_grid.def";
