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

label "Categorical Forecast";

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

#  categories
categories list(numberOfCategories) {
  codetable[1] categoryType ('4.91.table',masterDir,localDir): dump;
  unsigned[1] codeFigure : dump;
  #  Scale factor of lower limit
  unsigned[1] scaleFactorOfLowerLimit : can_be_missing,dump ;

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

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

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