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

#  Forecast probability number
unsigned[1] forecastProbabilityNumber  : dump;

#  Total number of forecast probabilities
unsigned[1] totalNumberOfForecastProbabilities  : dump;

#  Probability type
codetable[1] probabilityType ('4.9.table',masterDir,localDir) : dump;
meta probabilityTypeName codetable_title(probabilityType): read_only;


#  Scale factor of lower limit
signed[1] scaleFactorOfLowerLimit : can_be_missing,dump ;

#  Scaled value of lower limit
signed[4] scaledValueOfLowerLimit : can_be_missing,dump ;

meta lowerLimit from_scale_factor_scaled_value(
     scaleFactorOfLowerLimit, scaledValueOfLowerLimit);


#  Scale factor of upper limit
signed[1] scaleFactorOfUpperLimit : can_be_missing,dump;

#  Scaled value of upper limit
signed[4] scaledValueOfUpperLimit : can_be_missing,dump;

meta upperLimit from_scale_factor_scaled_value(
     scaleFactorOfUpperLimit, scaledValueOfUpperLimit);
