mirror of https://github.com/ecmwf/eccodes.git
GRIB-410: Error in Mercator grid template definition
This commit is contained in:
parent
068db7301c
commit
b9e11f91fc
|
@ -18,7 +18,7 @@ alias geography.Ni=Ni;
|
||||||
|
|
||||||
unsigned[4] Nj : dump;
|
unsigned[4] Nj : dump;
|
||||||
alias numberOfPointsAlongAMeridian=Nj;
|
alias numberOfPointsAlongAMeridian=Nj;
|
||||||
alias Nx = Nj ;
|
alias Ny = Nj ;
|
||||||
alias geography.Nj=Nj;
|
alias geography.Nj=Nj;
|
||||||
|
|
||||||
# La1 - latitude of first grid point
|
# La1 - latitude of first grid point
|
||||||
|
@ -51,20 +51,21 @@ meta geography.longitudeOfLastGridPointInDegrees scale(longitudeOfLastGridPoint,
|
||||||
include "template.3.scanning_mode.def";
|
include "template.3.scanning_mode.def";
|
||||||
|
|
||||||
# Orientation of the grid, angle between i direction on the map and the equator
|
# Orientation of the grid, angle between i direction on the map and the equator
|
||||||
# NOTE 1 NOT FOUND
|
# NOTE 1: Limited to the range of 0 to 90 degrees; if the angle of orientation of the grid is neither 0 nor 90 degrees,
|
||||||
|
# Di and Dj must be equal to each other
|
||||||
unsigned[4] orientationOfTheGrid : dump ;
|
unsigned[4] orientationOfTheGrid : dump ;
|
||||||
meta geography.orientationOfTheGridInDegrees
|
meta geography.orientationOfTheGridInDegrees
|
||||||
scale(orientationOfTheGrid,oneConstant,grib2divider,truncateDegrees) : dump;
|
scale(orientationOfTheGrid,oneConstant,grib2divider,truncateDegrees) : dump;
|
||||||
|
|
||||||
# Di - longitudinal direction grid length
|
# Di - longitudinal direction grid length
|
||||||
# NOTE 2 NOT FOUND
|
# NOTE 2: Grid lengths are in units of 10**-3 m, at the latitude specified by LaD
|
||||||
unsigned[4] Di : edition_specific,no_copy ;
|
unsigned[4] Di : edition_specific,no_copy ;
|
||||||
alias longitudinalDirectionGridLength = Di ;
|
alias longitudinalDirectionGridLength = Di ;
|
||||||
meta geography.DiInMetres
|
meta geography.DiInMetres
|
||||||
scale(Di,oneConstant,thousand,truncateDegrees) : dump;
|
scale(Di,oneConstant,thousand,truncateDegrees) : dump;
|
||||||
|
|
||||||
# Dj - latitudinal direction grid length
|
# Dj - latitudinal direction grid length
|
||||||
# NOTE 2 NOT FOUND
|
# NOTE 2: Grid lengths are in units of 10**-3 m, at the latitude specified by LaD
|
||||||
unsigned[4] Dj : edition_specific,no_copy ;
|
unsigned[4] Dj : edition_specific,no_copy ;
|
||||||
alias latitudinalDirectionGridLength = Dj;
|
alias latitudinalDirectionGridLength = Dj;
|
||||||
meta geography.DjInMetres
|
meta geography.DjInMetres
|
||||||
|
|
Loading…
Reference in New Issue