mirror of https://github.com/ecmwf/eccodes.git
34 lines
1.3 KiB
Modula-2
34 lines
1.3 KiB
Modula-2
# Copyright 2005-2015 ECMWF.
|
|
#
|
|
# This software is licensed under the terms of the Apache Licence Version 2.0
|
|
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
|
|
#
|
|
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
|
|
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
|
#
|
|
|
|
position offsetSection4;
|
|
section_length[3] section4Length ;
|
|
unsigned[1] reserved = 0;
|
|
position offsetBeforeData;
|
|
|
|
#meta subsetNumber bufr_subset_number();
|
|
meta selectGroupNumber bufr_group_number();
|
|
|
|
transient subsetNumber=0;
|
|
if (compressedData) {
|
|
meta numericValues bufr_data_array(offsetSection4,offsetBeforeData,offsetEndSection4,section4Length,
|
|
numberOfSubsets,subsetNumber,expandedCodes,expandedFlags,
|
|
stringValues,elementsDescriptorsIndex,compressedData) : dump;
|
|
} else {
|
|
meta numericValues bufr_data_array(offsetSection4,offsetBeforeData,offsetEndSection4,section4Length,
|
|
numberOfSubsets,subsetNumber,expandedCodes,expandedFlags,
|
|
stringValues,elementsDescriptorsIndex,compressedData) : dump;
|
|
}
|
|
|
|
meta unpack unpack_bufr_values(numericValues) ;
|
|
|
|
section_padding section4Padding;
|
|
position offsetEndSection4;
|
|
meta md5Data md5(offsetSection4,section4Length);
|