2020-01-28 14:32:34 +00:00
|
|
|
# (C) Copyright 2005- ECMWF.
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2023-06-29 15:17:34 +00:00
|
|
|
# TEMPLATE 7.40, Grid point data - JPEG2000
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2016-11-14 10:05:40 +00:00
|
|
|
meta codedValues data_jpeg2000_packing(
|
2023-12-02 13:34:19 +00:00
|
|
|
section7Length,
|
|
|
|
offsetBeforeData,
|
|
|
|
offsetSection7,
|
|
|
|
|
|
|
|
unitsFactor,
|
|
|
|
unitsBias,
|
|
|
|
changingPrecision,
|
|
|
|
numberOfCodedValues,
|
|
|
|
bitsPerValue,
|
|
|
|
referenceValue,
|
|
|
|
binaryScaleFactor,
|
|
|
|
decimalScaleFactor,
|
|
|
|
optimizeScaleFactor,
|
|
|
|
|
|
|
|
#numberOfValues,
|
|
|
|
#referenceValue,
|
|
|
|
#binaryScaleFactor,
|
|
|
|
#decimalScaleFactor,
|
|
|
|
#bitsPerValue,
|
|
|
|
|
|
|
|
# For encoding
|
|
|
|
typeOfCompressionUsed,
|
|
|
|
targetCompressionRatio,
|
|
|
|
Nx,
|
|
|
|
Ny,
|
|
|
|
interpretationOfNumberOfPoints,
|
|
|
|
numberOfDataPoints,
|
|
|
|
scanningMode
|
|
|
|
): read_only;
|
|
|
|
|
|
|
|
meta values data_apply_bitmap(
|
|
|
|
codedValues,
|
|
|
|
bitmap,
|
|
|
|
missingValue,
|
|
|
|
binaryScaleFactor,
|
|
|
|
numberOfDataPoints,
|
|
|
|
numberOfValues) : dump;
|
2013-03-25 12:04:10 +00:00
|
|
|
|
|
|
|
alias data.packedValues = codedValues;
|
|
|
|
|
|
|
|
template statistics "common/statistics_grid.def";
|
2022-12-01 20:06:08 +00:00
|
|
|
template missing_values "common/missing_values_grid.def";
|