mirror of https://github.com/ecmwf/eccodes.git
34 lines
1.2 KiB
Modula-2
34 lines
1.2 KiB
Modula-2
# Copyright 2005-2017 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.
|
|
#
|
|
|
|
# Section 4 - Horizontal Domain Section
|
|
|
|
position offsetSection4;
|
|
section_length[4] section4Length ;
|
|
meta section4Pointer section_pointer(offsetSection4,section4Length,4);
|
|
unsigned[1] numberOfSection = 4:read_only;
|
|
|
|
unsigned[2] section4UniqueIdentifier; # SUI
|
|
|
|
unsigned[4] numberOfPointsInDomain : dump;
|
|
alias numberOfPoints=numberOfPointsInDomain;
|
|
alias numberOfDataPoints=numberOfPointsInDomain;
|
|
|
|
codetable[2] horizontalDomainTemplateNumber ('4.0.table',masterDir,localDir) =0 : dump,edition_specific;
|
|
template horizontalDomainTemplate "grib3/template.4.[horizontalDomainTemplateNumber:i].def";
|
|
|
|
|
|
###########################
|
|
#if (defined(marsStream) && defined(marsType)) {
|
|
# template_nofail marsKeywords1 "mars/grib.[marsStream:s].[marsType:s].def";
|
|
#}
|
|
#template parameters "grib3/parameters.def";
|
|
|
|
meta md5Section4 md5(offsetSection4,section4Length);
|