mirror of https://github.com/ecmwf/eccodes.git
37 lines
1.2 KiB
Modula-2
37 lines
1.2 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();
|
|
|
|
transient subsetNumber=0;
|
|
|
|
template dataKeys "bufr/dataKeys.def";
|
|
|
|
meta numericValues bufr_data_array(offsetSection4,offsetBeforeData,offsetEndSection4,section4Length, numberOfSubsets,subsetNumber,expandedCodes,expandedFlags, elementsDescriptorsIndex,compressedData,dataKeys);
|
|
meta stringValues bufr_string_values(numericValues);
|
|
|
|
meta unpack unpack_bufr_values(numericValues) ;
|
|
meta pack pack_bufr_values(numericValues) ;
|
|
|
|
#when (changed(unexpandedDescriptors)) {
|
|
# resize data section and unpack
|
|
# set unpack=3;
|
|
#}
|
|
|
|
section_padding section4Padding;
|
|
position offsetEndSection4;
|
|
meta md5Data md5(offsetSection4,section4Length);
|
|
alias dataAccessors=numericValues;
|
|
|