mirror of https://github.com/ecmwf/eccodes.git
Definitions: Cleanup
This commit is contained in:
parent
c98f55cc1f
commit
bb5211e9e3
|
@ -1,7 +1,7 @@
|
|||
# DestinE MARS layout
|
||||
|
||||
# Base keywords for all datasets
|
||||
include "grib2/local.destine.base.def";
|
||||
include "grib2/local.destine.base.def"
|
||||
|
||||
# Keywords based on dataset
|
||||
template_nofail datasetTemplate "grib2/local.destine.[dataset:s].def";
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
# TEMPLATE 1.0, Calendar Definition
|
||||
|
||||
include "grib2/template.1.calendar.def";
|
||||
include "grib2/template.1.calendar.def"
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
# TEMPLATE 1.1, Paleontological Offset
|
||||
|
||||
include "grib2/template.1.offset.def";
|
||||
include "grib2/template.1.offset.def"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
# TEMPLATE 1.2, Calendar Definition and Paleontological Offset
|
||||
|
||||
include "grib2/template.1.calendar.def";
|
||||
include "grib2/template.1.offset.def";
|
||||
include "grib2/template.1.calendar.def"
|
||||
include "grib2/template.1.offset.def"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
# TEMPLATE 3.0, Latitude/longitude (or equidistant cylindrical, or Plate Carree)
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.latlon.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.latlon.def"
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
# TEMPLATE 3.1, Rotated Latitude/longitude (or equidistant cylindrical, or Plate Carree)
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.latlon.def";
|
||||
include "grib2/template.3.rotation.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.latlon.def"
|
||||
include "grib2/template.3.rotation.def"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.10, Mercator
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -27,7 +27,7 @@ signed[4] longitudeOfFirstGridPoint : edition_specific,no_copy;
|
|||
alias Lo1 = longitudeOfFirstGridPoint;
|
||||
meta geography.longitudeOfFirstGridPointInDegrees scale(longitudeOfFirstGridPoint,oneConstant,grib2divider,truncateDegrees) : dump;
|
||||
|
||||
include "grib2/template.3.resolution_flags.def";
|
||||
include "grib2/template.3.resolution_flags.def"
|
||||
|
||||
# LaD - Latitude(s) at which the Mercator projection intersects the Earth
|
||||
# (Latitude(s) where Di and Dj are specified)
|
||||
|
@ -44,7 +44,7 @@ signed[4] longitudeOfLastGridPoint: edition_specific,no_copy ;
|
|||
alias Lo2 = longitudeOfLastGridPoint;
|
||||
meta geography.longitudeOfLastGridPointInDegrees scale(longitudeOfLastGridPoint,oneConstant,grib2divider,truncateDegrees) : dump;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# Orientation of the grid, angle between i direction on the map and the equator
|
||||
# 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,
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
# TEMPLATE 3.100, Triangular grid based on an icosahedron (see Attachment I.2-GRIB-Att.)
|
||||
constant isGridded = true;
|
||||
|
||||
# n2 - exponent of 2 for the number of intervals on main triangle sides
|
||||
# Exponent of 2 for the number of intervals on main triangle sides
|
||||
unsigned[1] n2 : dump ;
|
||||
|
||||
# n3 - exponent of 3 for the number of intervals on main triangle sides
|
||||
# Exponent of 3 for the number of intervals on main triangle sides
|
||||
unsigned[1] n3 : dump ;
|
||||
|
||||
# Ni - number of intervals on main triangle sides of the icosahedron
|
||||
# Number of intervals on main triangle sides of the icosahedron
|
||||
unsigned[2] Ni : dump ;
|
||||
|
||||
# nd - Number of diamonds
|
||||
# Number of diamonds
|
||||
unsigned[1] nd : dump ;
|
||||
alias numberOfDiamonds=nd;
|
||||
|
||||
|
@ -28,17 +28,12 @@ meta geography.longitudeOfThePolePointInDegrees g2lon(longitudeOfThePolePoint);
|
|||
unsigned[4] longitudeOfFirstDiamondCentreLine : dump ;
|
||||
meta geography.longitudeOfFirstDiamondCentreLineInDegrees g2lon(longitudeOfFirstDiamondCentreLine);
|
||||
|
||||
# Grid point position
|
||||
codetable[1] gridPointPosition ('3.8.table',masterDir,localDir);
|
||||
|
||||
# Numbering order of diamonds
|
||||
flags[1] numberingOrderOfDiamonds 'grib2/tables/[tablesVersion]/3.9.table';
|
||||
|
||||
# Scanning mode for one diamond
|
||||
flags[1] scanningModeForOneDiamond 'grib2/tables/[tablesVersion]/3.10.table';
|
||||
|
||||
# nt - total number of grid points
|
||||
unsigned[4] totalNumberOfGridPoints : dump ;
|
||||
|
||||
alias nt = totalNumberOfGridPoints;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.1000, Cross-section grid, with points equally spaced on the horizontal
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -12,27 +12,26 @@ unsigned[4] numberOfHorizontalPoints : dump ;
|
|||
unsigned[4] basicAngleOfTheInitialProductionDomain = 0;
|
||||
|
||||
# Subdivisions of basic angle used to define extreme longitudes and latitudes
|
||||
unsigned[4] subdivisionsOfBasicAngle = missing() : can_be_missing;;
|
||||
unsigned[4] subdivisionsOfBasicAngle = missing() : can_be_missing;
|
||||
|
||||
# La1 - latitude of first grid point
|
||||
# Latitude of first grid point
|
||||
signed[4] latitudeOfFirstGridPoint : edition_specific ;
|
||||
|
||||
alias La1 = latitudeOfFirstGridPoint;
|
||||
# Lo1 - longitude of first grid point
|
||||
unsigned[4] longitudeOfFirstGridPoint : edition_specific;
|
||||
|
||||
# Longitude of first grid point
|
||||
unsigned[4] longitudeOfFirstGridPoint : edition_specific;
|
||||
alias Lo1 = longitudeOfFirstGridPoint;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# La2 - latitude of last grid point
|
||||
# Latitude of last grid point
|
||||
signed[4] latitudeOfLastGridPoint : edition_specific;
|
||||
|
||||
alias La2 = latitudeOfLastGridPoint;
|
||||
# Lo2 - longitude of last grid point
|
||||
unsigned[4] longitudeOfLastGridPoint: edition_specific ;
|
||||
|
||||
# Longitude of last grid point
|
||||
unsigned[4] longitudeOfLastGridPoint: edition_specific ;
|
||||
alias Lo2 = longitudeOfLastGridPoint;
|
||||
|
||||
# Type of horizontal line
|
||||
codetable[1] typeOfHorizontalLine ('3.20.table',masterDir,localDir) : dump ;
|
||||
|
||||
|
@ -45,10 +44,8 @@ codetable[1] meaningOfVerticalCoordinate ('3.15.table',masterDir,localDir) : dum
|
|||
# Vertical dimension coordinate values definition
|
||||
codetable[1] verticalCoordinate ('3.21.table',masterDir,localDir) : dump ;
|
||||
|
||||
# NC - Number of coefficients or values used to specify vertical coordinates
|
||||
# Number of coefficients or values used to specify vertical coordinates
|
||||
unsigned[2] NC : dump ;
|
||||
|
||||
# Octets 67-(66+NC*4): Coefficients to define vertical dimension coordinate values in functional form, or the explicit coordinate values
|
||||
# (IEEE 32-bit floating-point values)
|
||||
# ???? coefficients_to_define_vertical_dimension_coordinate_values_in_functional_form_or_the_explicit_coordinate_values
|
||||
|
||||
|
|
|
@ -1,41 +1,40 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.110, Equatorial azimuthal equidistant projection
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
# Nx - number of points along X-axis
|
||||
# Number of points along X-axis
|
||||
unsigned[4] numberOfPointsAlongXAxis : dump;
|
||||
alias Nx = numberOfPointsAlongXAxis;
|
||||
alias numberOfPointsAlongAParallel = Nx;
|
||||
alias Ni = Nx;
|
||||
|
||||
# Ny - number of points along Y-axis
|
||||
# Number of points along Y-axis
|
||||
unsigned[4] numberOfPointsAlongYAxis : dump;
|
||||
alias Ny = numberOfPointsAlongYAxis;
|
||||
alias numberOfPointsAlongAMeridian = Ny;
|
||||
alias Nj = Ny;
|
||||
|
||||
# La1 - latitude of tangency point (centre of grid)
|
||||
# Latitude of tangency point (centre of grid)
|
||||
signed[4] latitudeOfTangencyPoint : dump;
|
||||
|
||||
alias La1 = latitudeOfTangencyPoint;
|
||||
# Lo1 - longitude of tangency point
|
||||
unsigned[4] longitudeOfTangencyPoint : dump;
|
||||
|
||||
# Longitude of tangency point
|
||||
unsigned[4] longitudeOfTangencyPoint : dump;
|
||||
alias Lo1 = longitudeOfTangencyPoint;
|
||||
|
||||
# Resolution and component flag
|
||||
flags[1] resolutionAndComponentFlags 'grib2/tables/[tablesVersion]/3.3.table' : dump;
|
||||
|
||||
# Dx - X-direction grid length in units of 10 -3 m as measured at the point of the axis
|
||||
# X-direction grid length in units of 10 -3 m as measured at the point of the axis
|
||||
unsigned[4] Dx : dump;
|
||||
|
||||
# Dy - Y-direction grid length in units of 10 -3 m as measured at the point of the axis
|
||||
# Y-direction grid length in units of 10 -3 m as measured at the point of the axis
|
||||
unsigned[4] Dy : dump;
|
||||
|
||||
# Projection centre flag
|
||||
unsigned[1] projectionCentreFlag : dump;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.1100, Hovmoller diagram grid with points equally spaced on the horizontal
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -23,7 +23,7 @@ unsigned[4] longitudeOfFirstGridPoint : edition_specific,dump;
|
|||
|
||||
alias Lo1 =longitudeOfFirstGridPoint;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# La2 - latitude of last grid point
|
||||
signed[4] latitudeOfLastGridPoint : edition_specific,dump;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.12, Transverse Mercator
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -27,7 +27,7 @@ signed[4] longitudeOfReferencePoint : edition_specific,no_copy;
|
|||
alias LoR = longitudeOfReferencePoint;
|
||||
meta geography.longitudeOfReferencePointInDegrees scale(longitudeOfReferencePoint,oneConstant,grib2divider,truncateDegrees) : dump;
|
||||
|
||||
include "grib2/template.3.resolution_flags.def";
|
||||
include "grib2/template.3.resolution_flags.def"
|
||||
|
||||
# m - scale factor at reference point ratio of distance on map to distance on spheroid
|
||||
# (IEEE 32-bit floating-point values)
|
||||
|
@ -45,7 +45,7 @@ signed[4] YR : edition_specific,no_copy ;
|
|||
alias falseNorthing = YR;
|
||||
meta geography.YRInMetres scale(YR,one,hundred) : dump;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# Di - i-direction increment length in units of 10-2 m
|
||||
unsigned[4] Di : edition_specific,no_copy;
|
||||
|
|
|
@ -34,7 +34,7 @@ alias Dx = spacingOfBinsAlongRadials;
|
|||
unsigned[4] offsetFromOriginToInnerBound;
|
||||
alias Dstart = offsetFromOriginToInnerBound;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# Octets 40-(39+4Nr) : For each of Nr radials:
|
||||
radials list(numberOfRadials){
|
||||
|
|
|
@ -6,7 +6,7 @@ constant isGridded = true;
|
|||
|
||||
# Note: This template is deprecated.
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
points list(numberOfDataPoints) {
|
||||
signed[4] latitude;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.140, Lambert azimuthal equal area projection
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -52,7 +52,7 @@ alias Dy = yDirectionGridLengthInMillimetres ;
|
|||
meta geography.yDirectionGridLengthInMetres scale(yDirectionGridLengthInMillimetres,one,thousand,truncateDegrees): dump;
|
||||
alias DyInMetres = yDirectionGridLengthInMetres;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
iterator lambert_azimuthal_equal_area(
|
||||
numberOfPoints,missingValue,values,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# TEMPLATE 3.150 - The HEALPix grid
|
||||
# See https://healpix.jpl.nasa.gov/pdf/intro.pdf
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.resolution_flags.def";
|
||||
include "grib2/template.3.healpix.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.resolution_flags.def"
|
||||
include "grib2/template.3.healpix.def"
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
# TEMPLATE 3.2, Stretched Latitude/longitude (or equidistant cylindrical, or Plate Carree)
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.latlon.def";
|
||||
include "grib2/template.3.stretching.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.latlon.def"
|
||||
include "grib2/template.3.stretching.def"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.20, Polar stereographic projection
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -63,7 +63,7 @@ flags[1] projectionCentreFlag 'grib2/tables/[tablesVersion]/3.5.table' : dump;
|
|||
# If bit 1 is 1, then the South Pole is on the projection plane
|
||||
flagbit southPoleOnProjectionPlane(projectionCentreFlag,7) : dump; # WMO bit 1
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
iterator polar_stereographic(numberOfPoints,missingValue,values,
|
||||
radius,Nx,Ny,
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# TEMPLATE 3.3, Stretched and Rotated Latitude/longitude (or equidistant cylindrical, or Plate Carree)
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.latlon.def";
|
||||
include "grib2/template.3.rotation.def";
|
||||
include "grib2/template.3.stretching.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.latlon.def"
|
||||
include "grib2/template.3.rotation.def"
|
||||
include "grib2/template.3.stretching.def"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.30, Lambert conformal
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -32,7 +32,7 @@ meta geography.longitudeOfFirstGridPointInDegrees
|
|||
alias Lo1InDegrees = longitudeOfFirstGridPointInDegrees;
|
||||
#meta longitudeOfFirstGridPointInMicrodegrees times(longitudeOfFirstGridPoint,oneConstant) : no_copy;
|
||||
|
||||
include "grib2/template.3.resolution_flags.def";
|
||||
include "grib2/template.3.resolution_flags.def"
|
||||
|
||||
# LaD - Latitude where Dx and Dy are specified
|
||||
signed[4] LaD : edition_specific;
|
||||
|
@ -58,7 +58,7 @@ meta geography.DyInMetres scale(Dy,one,thousand) : dump;
|
|||
# Projection centre flag
|
||||
flags[1] projectionCentreFlag 'grib2/tables/[tablesVersion]/3.5.table' : dump;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# Latin 1 - first latitude from the pole at which the secant cone cuts the sphere
|
||||
signed[4] Latin1 : edition_specific;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.31, Albers equal area
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -23,7 +23,7 @@ alias La1 = latitudeOfFirstGridPoint;
|
|||
unsigned[4] longitudeOfFirstGridPoint : edition_specific,dump;
|
||||
alias Lo1 = longitudeOfFirstGridPoint;
|
||||
|
||||
include "grib2/template.3.resolution_flags.def";
|
||||
include "grib2/template.3.resolution_flags.def"
|
||||
|
||||
# LaD - Latitude where Dx and Dy are specified
|
||||
signed[4] LaD : dump;
|
||||
|
@ -42,7 +42,7 @@ alias Dy = yDirectionGridLength;
|
|||
|
||||
# Projection centre flag
|
||||
flags[1] projectionCentreFlag 'grib2/tables/[tablesVersion]/3.5.table' : dump;
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# Latin 1 - first latitude from the pole at which the secant cone cuts the sphere
|
||||
signed[4] Latin1 :edition_specific;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.4, Variable resolution latitude/longitude
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.latlon_vares.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.latlon_vares.def"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
# TEMPLATE 3.40, Gaussian latitude/longitude
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.gaussian.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.gaussian.def"
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
# TEMPLATE 3.41, Rotated Gaussian latitude/longitude
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.gaussian.def";
|
||||
include "grib2/template.3.rotation.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.gaussian.def"
|
||||
include "grib2/template.3.rotation.def"
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
# TEMPLATE 3.42, Stretched Gaussian latitude/longitude
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.gaussian.def";
|
||||
include "grib2/template.3.stretching.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.gaussian.def"
|
||||
include "grib2/template.3.stretching.def"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# TEMPLATE 3.43, Stretched and rotated Gaussian latitude/longitude
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.gaussian.def";
|
||||
include "grib2/template.3.rotation.def";
|
||||
include "grib2/template.3.stretching.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.gaussian.def"
|
||||
include "grib2/template.3.rotation.def"
|
||||
include "grib2/template.3.stretching.def"
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
# TEMPLATE 3.5, Variable resolution rotated latitude/longitude
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.latlon_vares.def";
|
||||
include "grib2/template.3.rotation.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
include "grib2/template.3.latlon_vares.def"
|
||||
include "grib2/template.3.rotation.def"
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
# TEMPLATE 3.50, Spherical harmonic coefficients
|
||||
|
||||
include "grib2/template.3.spherical_harmonics.def";
|
||||
include "grib2/template.3.spherical_harmonics.def"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
# TEMPLATE 3.51, Rotated spherical harmonic coefficients
|
||||
|
||||
include "grib2/template.3.spherical_harmonics.def";
|
||||
include "grib2/template.3.rotation.def";
|
||||
include "grib2/template.3.spherical_harmonics.def"
|
||||
include "grib2/template.3.rotation.def"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
# TEMPLATE 3.52, Stretched spherical harmonic coefficients
|
||||
|
||||
include "grib2/template.3.spherical_harmonics.def";
|
||||
include "grib2/template.3.stretching.def";
|
||||
include "grib2/template.3.spherical_harmonics.def"
|
||||
include "grib2/template.3.stretching.def"
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
# TEMPLATE 3.53, Stretched and rotated spherical harmonic coefficients
|
||||
|
||||
include "grib2/template.3.spherical_harmonics.def";
|
||||
include "grib2/template.3.rotation.def";
|
||||
include "grib2/template.3.stretching.def";
|
||||
include "grib2/template.3.spherical_harmonics.def"
|
||||
include "grib2/template.3.rotation.def"
|
||||
include "grib2/template.3.stretching.def"
|
||||
|
|
|
@ -7,7 +7,7 @@ transient biFourierMakeTemplate = 0;
|
|||
|
||||
include "grib2/template.3.bf.def"
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
# La1 - latitude of first grid point
|
||||
signed[4] latitudeOfFirstGridPoint: edition_specific,no_copy ;
|
||||
|
|
|
@ -7,7 +7,7 @@ transient biFourierMakeTemplate = 0;
|
|||
|
||||
include "grib2/template.3.bf.def"
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
# La1 - latitude of first grid point
|
||||
signed[4] latitudeOfFirstGridPoint : edition_specific ;
|
||||
|
|
|
@ -6,7 +6,7 @@ transient biFourierMakeTemplate = 0;
|
|||
|
||||
include "grib2/template.3.bf.def"
|
||||
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
# La1 - latitude of first grid point
|
||||
signed[4] latitudeOfFirstGridPoint : edition_specific;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 3.90, Space view perspective or orthographic
|
||||
include "grib2/template.3.shape_of_the_earth.def";
|
||||
include "grib2/template.3.shape_of_the_earth.def"
|
||||
|
||||
constant isGridded = true;
|
||||
|
||||
|
@ -25,7 +25,7 @@ signed[4] longitudeOfSubSatellitePoint;
|
|||
meta geography.latitudeOfSubSatellitePointInDegrees scale(latitudeOfSubSatellitePoint,one,grib2divider,truncateDegrees) : dump;
|
||||
meta geography.longitudeOfSubSatellitePointInDegrees scale(longitudeOfSubSatellitePoint,one,grib2divider,truncateDegrees) : dump;
|
||||
|
||||
include "grib2/template.3.resolution_flags.def";
|
||||
include "grib2/template.3.resolution_flags.def"
|
||||
|
||||
# dx - apparent diameter of Earth in grid lengths, in X-direction
|
||||
unsigned[4] dx : dump;
|
||||
|
@ -47,7 +47,7 @@ unsigned[4] Yp : no_copy;
|
|||
meta geography.YpInGridLengths scale(Yp,one,thousand) : dump;
|
||||
alias yCoordinateOfSubSatellitePoint=YpInGridLengths;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
# Orientation of the grid; i.e. the angle between the increasing Y-axis and the meridian
|
||||
# of the sub-satellite point in the direction of increasing latitude
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
include "grib2/template.3.grid.def";
|
||||
include "grib2/template.3.grid.def"
|
||||
|
||||
# Di - i direction increment
|
||||
unsigned[4] iDirectionIncrement : can_be_missing;
|
||||
|
@ -11,7 +11,7 @@ unsigned[4] N : dump;
|
|||
alias numberOfParallelsBetweenAPoleAndTheEquator=N ;
|
||||
alias geography.N=N;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
modify Ni : can_be_missing,dump;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
include "grib2/template.3.grid.def";
|
||||
include "grib2/template.3.grid.def"
|
||||
|
||||
# Di - i direction increment
|
||||
unsigned[4] iDirectionIncrement : can_be_missing,edition_specific;
|
||||
|
@ -12,7 +12,7 @@ unsigned[4] jDirectionIncrement : can_be_missing,edition_specific;
|
|||
alias Dj = jDirectionIncrement;
|
||||
alias Dy = jDirectionIncrement;
|
||||
|
||||
include "grib2/template.3.scanning_mode.def";
|
||||
include "grib2/template.3.scanning_mode.def"
|
||||
|
||||
meta g2grid g2grid(
|
||||
latitudeOfFirstGridPoint,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# Variable resolution latitude/longitude
|
||||
unsigned[4] Ni : dump;
|
||||
alias numberOfPointsAlongAParallel=Ni;
|
||||
|
@ -7,7 +8,6 @@ alias Nx = Ni;
|
|||
unsigned[4] Nj : dump;
|
||||
alias numberOfPointsAlongAMeridian=Nj;
|
||||
alias Ny = Nj;
|
||||
|
||||
alias geography.Ni=Ni;
|
||||
alias geography.Nj=Nj;
|
||||
|
||||
|
|
|
@ -3,17 +3,17 @@
|
|||
constant sphericalHarmonics=1;
|
||||
# constant dataRepresentationType = 50;
|
||||
|
||||
# J - pentagonal resolution parameter
|
||||
# Pentagonal resolution parameter
|
||||
unsigned[4] J : dump;
|
||||
alias pentagonalResolutionParameterJ=J;
|
||||
alias geography.J=J;
|
||||
|
||||
# K - pentagonal resolution parameter
|
||||
# Pentagonal resolution parameter
|
||||
unsigned[4] K : dump;
|
||||
alias pentagonalResolutionParameterK=K;
|
||||
alias geography.K=K;
|
||||
|
||||
# M - pentagonal resolution parameter
|
||||
# Pentagonal resolution parameter
|
||||
unsigned[4] M : dump;
|
||||
alias pentagonalResolutionParameterM = M;
|
||||
alias geography.M=M;
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
# TEMPLATE 5.0, Grid point data - simple packing
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.original_values.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
include "grib2/template.5.original_values.def"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Preliminary note:
|
||||
# This template was not validated at the time of publication and should be used with caution
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
|
||||
unsigned[1] matrixBitmapsPresent;
|
||||
# same as in edition 1
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# TEMPLATE 5.2, Grid point data - complex packing
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.original_values.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
include "grib2/template.5.original_values.def"
|
||||
|
||||
# Group splitting method used
|
||||
codetable[1] groupSplittingMethodUsed ('5.4.table',masterDir,localDir);
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# TEMPLATE 5.3, Grid point data - complex packing and spatial differencing
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.original_values.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
include "grib2/template.5.original_values.def"
|
||||
|
||||
# Group splitting method used
|
||||
codetable[1] groupSplittingMethodUsed ('5.4.table',masterDir,localDir);
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# TEMPLATE 5.40, Grid point data - JPEG 2000 Code Stream Format
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.original_values.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
include "grib2/template.5.original_values.def"
|
||||
|
||||
codetable[1] typeOfCompressionUsed ('5.40.table',masterDir,localDir) ;
|
||||
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
# TEMPLATE 5.41, Grid point data - PNG Code Stream Format
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.original_values.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
include "grib2/template.5.original_values.def"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# TEMPLATE 5.42, Grid point data - CCSDS recommended lossless compression
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.original_values.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
include "grib2/template.5.original_values.def"
|
||||
|
||||
unsigned[1] ccsdsFlags : dump;
|
||||
alias ccsdsCompressionOptionsMask=ccsdsFlags;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# (C) Copyright 2005- ECMWF.
|
||||
|
||||
# TEMPLATE 5.50, Spectral data - simple packing
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
|
||||
# Real part of (0,0)
|
||||
ieeefloat realPartOf00;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# TEMPLATE 5.50000, Spherical harmonics data - complex packing (IEEE)
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
|
||||
if (gribex_mode_on()) {
|
||||
transient computeLaplacianOperator=0 : hidden;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# TEMPLATE 5.51, Spherical harmonics data - complex packing
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
|
||||
if (gribex_mode_on()) {
|
||||
transient computeLaplacianOperator=0 : hidden;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# TEMPLATE 5.53, BiFourier coefficients data - complex packing
|
||||
# Spectral data for limited area models - complex packing
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
|
||||
transient computeLaplacianOperator=1 : hidden;
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
# This template is experimental, was not validated at the time of publication and should be used only for bilateral previously agreed tests
|
||||
constant typeOfPreProcessing = 1;
|
||||
|
||||
include "grib2/template.5.packing.def";
|
||||
include "grib2/template.5.packing.def"
|
||||
|
||||
ieeefloat preProcessingParameter : read_only;
|
||||
|
|
Loading…
Reference in New Issue