eccodes/definitions/grib2/template.3.10.def

50 lines
1.6 KiB
Modula-2

# 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.
#
# TEMPLATE 3.10, Mercator
include "grib2/template.3.shape_of_the_earth.def";
unsigned[4] Ni : dump;
alias numberOfPointsAlongAParallel=Ni;
alias Nx = Ni;
alias geography.Ni=Ni;
unsigned[4] Nj : dump;
alias numberOfPointsAlongAMeridian=Nj;
alias Ny = Nj ;
alias geography.Nj=Nj;
include "grib2/template.3.10.part1.def"
include "grib2/template.3.resolution_flags.def";
include "grib2/template.3.10.part2.def"
include "grib2/template.3.scanning_mode.def";
include "grib2/template.3.10.part3.def"
# Di - longitudinal direction grid length
# NOTE 2: Grid lengths are in units of 10**-3 m, at the latitude specified by LaD
unsigned[4] Di : edition_specific,no_copy ;
alias longitudinalDirectionGridLength = Di ;
meta geography.DiInMetres
scale(Di,oneConstant,thousand,truncateDegrees) : dump;
# Dj - latitudinal direction grid length
# NOTE 2: Grid lengths are in units of 10**-3 m, at the latitude specified by LaD
unsigned[4] Dj : edition_specific,no_copy ;
alias latitudinalDirectionGridLength = Dj;
meta geography.DjInMetres
scale(Dj,oneConstant,thousand,truncateDegrees) : dump;
# END 2/template.3.10 ----------------------------------------------------------------------