# Copyright 2005-2018 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 startOfHeaders;
ascii[4]      identifier;

alias ls.identifier=identifier;
transient     missingValue = 9999;
constant ieeeFloats = 0: edition_specific;
constant zero=0:hidden;

template      section1 "budg/section.1.def";
template      mars_labeling "budg/mars_labeling.def";
template      section4 "budg/section.4.def";
ascii[4]      endMark;
position      totalLength;


# This needs to be there for the MARS server, so the totalLength is processed correctly
position      endOfHeadersMarker;
meta lengthOfHeaders evaluate( endOfHeadersMarker-startOfHeaders);
meta md5Headers md5(startOfHeaders,lengthOfHeaders);
