# Copyright 2005-2007 ECMWF
#
# Licensed under the GNU Lesser General Public License which
# incorporates the terms and conditions of version 3 of the GNU
# General Public License.
# See LICENSE and gpl-3.0.txt for details.

# 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 "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;

