# Copyright 2005-2016 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 "Spherical harmonics";
constant sphericalHarmonics=1;

# constant dataRepresentationType  = 50;

#  J - pentagonal resolution parameter
unsigned[4] J  : dump;
alias pentagonalResolutionParameterJ=J ;
alias geography.J=J;

#  K - pentagonal resolution parameter
unsigned[4] K   : dump;
alias pentagonalResolutionParameterK=K;
alias geography.K=K;

#  M - pentagonal resolution parameter
unsigned[4] M   : dump;
alias pentagonalResolutionParameterM = M ;
alias geography.M=M;

#  Representation type indicating the method used to define the norm
codetable[1]  spectralType ('3.6.table',masterDir,localDir) = 1 : no_copy;
alias spectralDataRepresentationType=spectralType;

#  Representation mode indicating the order of the coefficients
codetable[1] spectralMode ('3.7.table',masterDir,localDir) = 1 : no_copy;
alias spectralDataRepresentationMode=spectralMode;

