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

constant GRIBEXSection1Problem = 334 - section1Length ;

template mars_labeling "grib1/mars_labeling.def";

unsigned[1] tubeNumber  : dump;

unsigned[1] totalNumberOfTubes  : dump;
unsigned[1] centralClusterDefinition  : dump;

unsigned[1] parameterIndicator  : dump;
#alias indicatorOfParameter = parameterIndicator;

unsigned[1] levelIndicator  : dump;

signed[3] northLatitudeOfDomainOfTubing  : dump;

signed[3] westLongitudeOfDomainOfTubing  : dump;

signed[3] southLatitudeOfDomainOfTubing  : dump;

signed[3] eastLongitudeOfDomainOfTubing  : dump;

unsigned[1] numberOfOperationalForecastTube  : dump;

unsigned[1] numberOfControlForecastTube  : dump;

unsigned[2] heightOrPressureOfLevel  : dump;

unsigned[2] referenceStep  : dump;

unsigned[2] radiusOfCentralCluster  : dump;

unsigned[2] ensembleStandardDeviation  : dump;

unsigned[2] distanceFromTubeToEnsembleMean  : dump;

unsigned[1] numberOfForecastsInTube  : dump;

unsigned[1] ensembleForecastNumbers[numberOfForecastsInTube] : dump;

# spareToEnsureFixedLength
padto padding_loc10_1(offsetSection1 + 334);

concept tubeDomain(unknown,"tube_domain.def",conceptsMasterDir,conceptsLocalDirAll): no_copy;

alias number = tubeNumber;
alias totalNumber = totalNumberOfTubes;
alias reference = referenceStep;
alias domain = tubeDomain;
