mirror of https://github.com/ecmwf/eccodes.git
32 lines
1.1 KiB
Modula-2
32 lines
1.1 KiB
Modula-2
# 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.
|
|
#
|
|
|
|
# GRID DEFINITION ocean ECMWF convention
|
|
|
|
unsigned[2] Ni : dump;
|
|
alias numberOfPointsAlongFirstAxis = Ni;
|
|
alias Nx = Ni;
|
|
|
|
unsigned[2] Nj : dump;
|
|
alias numberOfPointsAlongSecondAxis = Nj;
|
|
alias Nx = Nj;
|
|
|
|
# La1 - latitude of first grid point
|
|
signed[3] latitudeOfFirstGridPoint : no_copy;
|
|
meta geography.latitudeOfFirstGridPointInDegrees scale(latitudeOfFirstGridPoint,oneConstant,grib1divider,truncateDegrees) : dump,no_copy;
|
|
alias La1 = latitudeOfFirstGridPoint : no_copy;
|
|
|
|
include "grib1/scanning_mode.def";
|
|
|
|
meta numberOfDataPoints number_of_points(Ni,Nj,PLPresent,pl) : dump;
|
|
alias numberOfPoints=numberOfDataPoints;
|
|
meta numberOfValues number_of_values(values,bitsPerValue,numberOfDataPoints,bitmapPresent,bitmap,numberOfCodedValues) : dump;
|
|
#alias ls.valuesCount=numberOfValues;
|
|
|