# 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.
#

position   offsetSection0;
constant section0Length=16;
ascii[4]     identifier       = "GRIB"              : read_only;
unsigned[2]  reserved          = missing()          : can_be_missing,hidden,read_only,edition_specific;
codetable[1] discipline       ('0.0.table',masterDir,localDir) : dump;
unsigned[1]  editionNumber = 2 : edition_specific,dump;

alias ls.edition = editionNumber;
section_length[8]    totalLength;
position startOfHeaders;


meta section0Pointer section_pointer(offsetSection0,section0Length,0);
