GRIB-796: 'include' statement in definitions does not search GRIB_DEFINITION_PATH

This commit is contained in:
Shahram Najm 2015-07-28 10:50:26 +01:00
parent 8842c30d88
commit 579aa8ba51
133 changed files with 603 additions and 609 deletions

View File

@ -21,7 +21,7 @@ alias numberOfPointsAlongAMeridian=Nj;
alias Nx=Nj;
alias geography.Nj=Nj;
include "grid_first_last_resandcomp.def";
include "grib1/grid_first_last_resandcomp.def";
signed[3] Latin : edition_specific,no_copy;
meta geography.LaDInDegrees scale(Latin,oneConstant,grib1divider,truncateDegrees) : dump;
@ -34,7 +34,7 @@ alias yLast=latitudeOfLastGridPointInDegrees;
alias xFirst=longitudeOfFirstGridPointInDegrees;
alias xLast=longitudeOfLastGridPointInDegrees;
include "scanning_mode.def";
include "grib1/scanning_mode.def";
signed[3] DiInMetres : dump;
alias longitudinalDirectionGridLength=DiInMetres;

View File

@ -16,4 +16,4 @@ template commonBlock "grib1/grid_definition_latlon.def";
ascii[4] zero : read_only;
# Rotation parameters
include "grid_rotation.def"
include "grib1/grid_rotation.def"

View File

@ -14,4 +14,5 @@ constant gridDefinitionTemplateNumber = 41;
template commonBlock "grib1/grid_definition_gaussian.def";
# Rotation parameters
include "grid_rotation.def"
include "grib1/grid_rotation.def"

View File

@ -22,7 +22,7 @@ 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";
include "grib1/scanning_mode.def";
meta numberOfDataPoints number_of_points(Ni,Nj,PLPresent,pl) : dump;
alias numberOfPoints=numberOfDataPoints;

View File

@ -18,7 +18,7 @@ alias Nj = numberOfPointsAlongAMeridian;
# Latitudes and Longitudes of the first and the last points
# Resolution and component flags
include "grid_first_last_resandcomp.def";
include "grib1/grid_first_last_resandcomp.def";
unsigned[2] iDirectionIncrement : can_be_missing;
unsigned[2] jDirectionIncrement : can_be_missing;
@ -31,7 +31,7 @@ alias yLast=latitudeOfLastGridPointInDegrees;
alias xFirst=longitudeOfFirstGridPointInDegrees;
alias xLast=longitudeOfLastGridPointInDegrees;
include "scanning_mode.def";
include "grib1/scanning_mode.def";
# Lar1 - latitude of first grid point of reference domain
signed[3] Lar1 : edition_specific;

View File

@ -16,5 +16,5 @@ template commonBlock "grib1/grid_definition_latlon.def";
ascii[4] zero : read_only;
# Stretching parameters
include "grid_stretching.def"
include "grib1/grid_stretching.def"

View File

@ -14,4 +14,4 @@ constant gridDefinitionTemplateNumber = 42;
template commonBlock "grib1/grid_definition_gaussian.def";
# Stretching parameters
include "grid_stretching.def"
include "grib1/grid_stretching.def"

View File

@ -16,7 +16,7 @@ template commonBlock "grib1/grid_definition_latlon.def";
ascii[4] zero : read_only;
# Rotation parameters
include "grid_rotation.def"
include "grib1/grid_rotation.def"
# Stretching parameters
include "grid_stretching.def"
include "grib1/grid_stretching.def"

View File

@ -14,7 +14,7 @@ constant gridDefinitionTemplateNumber = 43;
template commonBlock "grib1/grid_definition_gaussian.def";
# Rotation parameters
include "grid_rotation.def"
include "grib1/grid_rotation.def"
# Stretching parameters
include "grid_stretching.def"
include "grib1/grid_stretching.def"

View File

@ -29,7 +29,7 @@ signed[3] longitudeOfFirstGridPoint : edition_specific;
meta geography.longitudeOfFirstGridPointInDegrees scale(longitudeOfFirstGridPoint,oneConstant,grib1divider,truncateDegrees) : dump;
alias Lo1 = longitudeOfFirstGridPoint;
include "resolution_flags.def";
include "grib1/resolution_flags.def";
# LoV - orientation of the grid; i.e. the longitude value of the meridian which is parallel to the Y-axis
signed[3] orientationOfTheGrid ;
@ -67,7 +67,7 @@ flagbit southPoleOnProjectionPlane(projectionCentreFlag,7) : dump; # WMO bit 1
alias yFirst=latitudeOfFirstGridPointInDegrees;
alias xFirst=longitudeOfFirstGridPointInDegrees;
include "scanning_mode.def";
include "grib1/scanning_mode.def";
pad padding_grid5_1(4);

View File

@ -14,4 +14,5 @@ constant gridDefinitionTemplateNumber = 51;
template commonBlock "grib1/grid_definition_spherical_harmonics.def";
# Rotation parameters
include "grid_rotation.def"
include "grib1/grid_rotation.def"

View File

@ -13,7 +13,7 @@ constant gridDefinitionTemplateNumber = 52;
template commonBlock "grib1/grid_definition_spherical_harmonics.def";
# Rotation parameters
include "grid_rotation.def"
include "grib1/grid_rotation.def"
# Stretching parameters
include "grid_stretching.def"
include "grib1/grid_stretching.def"

View File

@ -11,4 +11,5 @@
# grib 1 -> 2
constant gridDefinitionTemplateNumber = 31;
template commonBlock "grib1/grid_definition_lambert.def";
template commonBlock "grib1/grid_definition_lambert.def";

View File

@ -13,7 +13,7 @@ constant gridDefinitionTemplateNumber = 53;
template commonBlock "grib1/grid_definition_spherical_harmonics.def";
# Rotation parameters
include "grid_rotation.def"
include "grib1/grid_rotation.def"
# Stretching parameters
include "grid_stretching.def"
include "grib1/grid_stretching.def"

View File

@ -29,7 +29,7 @@ signed[3] longitudeOfSubSatellitePoint ;
meta geography.longitudeOfSubSatellitePointInDegrees scale(longitudeOfSubSatellitePoint,oneConstant,grib1divider,truncateDegrees) : dump;
alias Lap=longitudeOfSubSatellitePoint;
include "resolution_flags.def";
include "grib1/resolution_flags.def";
unsigned[3] dx : dump;
alias geography.dx=dx;
@ -44,7 +44,7 @@ alias geography.XpInGridLengths=XpInGridLengths;
unsigned[2] YpInGridLengths : dump;
alias geography.YpInGridLengths=YpInGridLengths;
include "scanning_mode.def";
include "grib1/scanning_mode.def";
unsigned[3] orientationOfTheGrid : edition_specific ;
meta geography.orientationOfTheGridInDegrees scale(orientationOfTheGrid,oneConstant,grib1divider,truncateDegrees) : dump;

View File

@ -17,7 +17,7 @@ alias Ny=Nj;
# Latitudes and Longitudes of the first and the last points
# Resolution and component flags
include "grid_first_last_resandcomp.def";
include "grib1/grid_first_last_resandcomp.def";
# Di - i direction increment
unsigned[2] iDirectionIncrement : can_be_missing,dump,edition_specific;
@ -35,7 +35,7 @@ alias yLast=latitudeOfLastGridPointInDegrees;
alias xFirst=longitudeOfFirstGridPointInDegrees;
alias xLast=longitudeOfLastGridPointInDegrees;
include "scanning_mode.def";
include "grib1/scanning_mode.def";
pad padding_grid4_1(4);

View File

@ -35,7 +35,7 @@ alias Lo1InDegrees = longitudeOfFirstGridPointInDegrees;
#meta longitudeOfFirstGridPointInMicrodegrees times(longitudeOfFirstGridPoint,thousand);
# Resolution and component flags
include "resolution_flags.def";
include "grib1/resolution_flags.def";
# LoV - orientation of the grid; i.e. the east longitude value of the meridian which is parallel to the Y-axis
signed[3] LoV : edition_specific ;
@ -68,7 +68,7 @@ alias projectionCenterFlag=projectionCentreFlag;
alias yFirst=latitudeOfFirstGridPointInDegrees;
alias xFirst=longitudeOfFirstGridPointInDegrees;
include "scanning_mode.def";
include "grib1/scanning_mode.def";
# Latin 1 - first latitude from the pole at which the secant cone cuts the sphere
signed[3] Latin1 : edition_specific;

View File

@ -18,7 +18,7 @@ alias Ny = Nj;
# Latitudes and Longitudes of the first and the last points
# Resolution and component flags
include "grid_first_last_resandcomp.def";
include "grib1/grid_first_last_resandcomp.def";
unsigned[2] iDirectionIncrement : can_be_missing, edition_specific;
unsigned[2] jDirectionIncrement : can_be_missing, edition_specific;
@ -27,7 +27,7 @@ alias Dy = jDirectionIncrement;
alias Di = iDirectionIncrement;
alias Dx = iDirectionIncrement;
include "scanning_mode.def";
include "grib1/scanning_mode.def";
meta geography.jDirectionIncrementInDegrees latlon_increment(ijDirectionIncrementGiven,jDirectionIncrement,
jScansPositively,

View File

@ -17,7 +17,7 @@ signed[3] longitudeOfFirstGridPoint : edition_specific;
meta geography.longitudeOfFirstGridPointInDegrees scale(longitudeOfFirstGridPoint,oneConstant,grib1divider,truncateDegrees) : dump;
alias Lo1 = longitudeOfFirstGridPoint;
include "resolution_flags.def";
include "grib1/resolution_flags.def";
# La2 - latitude of last grid point
signed[3] latitudeOfLastGridPoint : edition_specific;

View File

@ -9,5 +9,5 @@
label "CPTEC local definition";
# Same as NCEP
include "local.7.def";
include "grib1/local.7.def";
section_padding local_padding;

View File

@ -11,7 +11,7 @@
constant GRIBEXSection1Problem = 53 - section1Length;
# base local definition
include "local.82.0.def";
include "grib1/local.82.0.def";
unsigned[1] marsExperimentOffset = 0 : dump, long_type;

View File

@ -34,7 +34,7 @@
constant GRIBEXSection1Problem = 80 - section1Length;
# base file: contains keywords always present
include "local.82.0.def";
include "grib1/local.82.0.def";
# extra keywords specific to local definition 83 (MATCH)
codetable[1] matchSort "grib1/localConcepts/eswi/sort.table" : dump,long_type;

View File

@ -25,7 +25,7 @@ transient missingValue = 9999;
constant ieeeFloats = 1 : edition_specific;
constant isHindcast = 0;
include "section.0.def";
include "grib2/section.0.def";
template core "grib2/sections.def";

View File

@ -9,7 +9,7 @@
#################################
# base local definition
include "local.82.0.def";
include "grib2/local.82.0.def";
unsigned[1] marsExperimentOffset = 0 : dump, long_type;

View File

@ -10,7 +10,7 @@
# base file: contains keywords always present
include "local.82.0.def";
include "grib2/local.82.0.def";
# extra keywords specific to local definition 83 (MATCH)
codetable[1] matchSort "grib1/localConcepts/eswi/sort.table" : dump,long_type;

View File

@ -41,7 +41,7 @@ codetable[2] instrument "grib2/tables/local/ecmf/obstat.5.0.table";
codetable[2] dataStream "grib2/tables/local/ecmf/obstat.6.0.table";
#include "template.4.horizontal.def";
# include "grib2/template.4.horizontal.def"
codetable[2] observationDiagnostic "grib2/tables/local/ecmf/obstat.9.0.table";

View File

@ -9,4 +9,4 @@
# TEMPLATE 1.0, Calendar Definition
include "template.1.calendar.def";
include "grib2/template.1.calendar.def";

View File

@ -9,4 +9,4 @@
# TEMPLATE 1.1, Paleontological Offset
include "template.1.offset.def";
include "grib2/template.1.offset.def";

View File

@ -9,5 +9,5 @@
# TEMPLATE 1.2, Calendar Definition and Paleontological Offset
include "template.1.calendar.def";
include "template.1.offset.def";
include "grib2/template.1.calendar.def";
include "grib2/template.1.offset.def";

View File

@ -9,5 +9,5 @@
# TEMPLATE 3.0, Latitude/longitude (or equidistant cylindrical, or Plate Carree)
include "template.3.shape_of_the_earth.def";
include "template.3.latlon.def";
include "grib2/template.3.shape_of_the_earth.def";
include "grib2/template.3.latlon.def";

View File

@ -9,6 +9,6 @@
# TEMPLATE 3.1, Rotated Latitude/longitude (or equidistant cylindrical, or Plate Carree)
include "template.3.shape_of_the_earth.def";
include "template.3.latlon.def";
include "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";

View File

@ -9,7 +9,7 @@
# TEMPLATE 3.10, Mercator
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
unsigned[4] Ni : dump;
alias numberOfPointsAlongAParallel=Ni;
@ -31,7 +31,7 @@ signed[4] longitudeOfFirstGridPoint : edition_specific,no_copy;
alias Lo1 = longitudeOfFirstGridPoint;
meta geography.longitudeOfFirstGridPointInDegrees scale(longitudeOfFirstGridPoint,oneConstant,grib2divider,truncateDegrees) : dump;
include "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)
@ -48,7 +48,7 @@ signed[4] longitudeOfLastGridPoint: edition_specific,no_copy ;
alias Lo2 = longitudeOfLastGridPoint;
meta geography.longitudeOfLastGridPointInDegrees scale(longitudeOfLastGridPoint,oneConstant,grib2divider,truncateDegrees) : dump;
include "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,

View File

@ -10,7 +10,7 @@
# TEMPLATE 3.1000, Cross-section grid, with points equally spaced on the horizontal
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
# Number of horizontal points
@ -35,7 +35,7 @@ unsigned[4] longitudeOfFirstGridPoint : edition_specific;
alias Lo1 = longitudeOfFirstGridPoint;
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
# La2 - latitude of last grid point
# NOTE 1 NOT FOUND

View File

@ -9,7 +9,7 @@
# TEMPLATE 3.110, Equatorial azimuthal equidistant projection
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
# Nx - number of points along X-axis
unsigned[4] numberOfPointsAlongXAxis : dump ;
@ -40,5 +40,5 @@ unsigned[4] Dy : dump ;
# Projection centre flag
unsigned[1] projectionCenterFlag : dump ;
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";

View File

@ -9,7 +9,7 @@
# TEMPLATE 3.1100, Hovmoller diagram grid with points equally spaced on the horizontal
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
# Number of horizontal points
unsigned[5] numberOfHorizontalPoints : dump ;
@ -33,7 +33,7 @@ unsigned[4] longitudeOfFirstGridPoint : edition_specific,dump;
alias Lo1 =longitudeOfFirstGridPoint;
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
# La2 - latitude of last grid point
# NOTE 1 NOT FOUND

View File

@ -9,7 +9,7 @@
# TEMPLATE 3.12, Transverse Mercator
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
unsigned[4] Ni : dump;
alias numberOfPointsAlongAParallel=Ni;
@ -31,7 +31,7 @@ signed[4] longitudeOfReferencePoint : edition_specific,no_copy;
alias LoR = longitudeOfReferencePoint;
meta geography.longitudeOfReferencePointInDegrees scale(longitudeOfReferencePoint,oneConstant,grib2divider,truncateDegrees) : dump;
include "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)
@ -49,7 +49,7 @@ signed[4] YR : edition_specific,no_copy ;
alias falseNorthing = YR;
meta geography.YRInMetres scale(YR,one,hundred) : dump;
include "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;

View File

@ -38,7 +38,7 @@ alias Dx = spacingOfBinsAlongRadials;
unsigned[4] offsetFromOriginToInnerBound ;
alias Dstart = offsetFromOriginToInnerBound;
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
# Octets 40-(39+4Nr) : For each of Nr radials:
radials list(numberOfRadials){

View File

@ -9,7 +9,7 @@
# TEMPLATE 3.130, Irregular Latitude/longitude grid
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
points list(numberOfDataPoints) {
signed[4] latitude;

View File

@ -10,7 +10,7 @@
# START 2/template.3.140 ----------------------------------------------------------------------
# TEMPLATE 3.140, Lambert azimuthal equal area projection
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
# Nx - number of points along X-axis
unsigned[4] numberOfPointsAlongXAxis : dump ;
@ -51,7 +51,7 @@ alias Dx = xDirectionGridLengthInMillimetres ;
unsigned[4] yDirectionGridLengthInMillimetres : dump ;
alias Dy = yDirectionGridLengthInMillimetres ;
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
iterator lambert_azimuthal_equal_area(numberOfPoints,missingValue,values,
radius,Nx,Ny,

View File

@ -9,6 +9,6 @@
# TEMPLATE 3.2, Stretched Latitude/longitude (or equidistant cylindrical, or Plate Carree)
include "template.3.shape_of_the_earth.def";
include "template.3.latlon.def";
include "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";

View File

@ -10,7 +10,7 @@
# START 2/template.3.20 ----------------------------------------------------------------------
# TEMPLATE 3.20, Polar stereographic projection
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
transient oneThousand=1000;
# Nx - number of points along X-axis
@ -70,7 +70,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 "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
iterator polar_stereographic(numberOfPoints,missingValue,values,

View File

@ -9,8 +9,8 @@
# TEMPLATE 3.3, Stretched and Rotated Latitude/longitude (or equidistant cylindrical, or Plate Carree)
include "template.3.shape_of_the_earth.def";
include "template.3.latlon.def";
include "template.3.rotation.def";
include "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";

View File

@ -8,7 +8,7 @@
#
# TEMPLATE 3.30, Lambert conformal
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
unsigned[4] Nx : dump;
alias Ni = Nx;
@ -36,7 +36,7 @@ meta geography.longitudeOfFirstGridPointInDegrees
alias Lo1InDegrees = longitudeOfFirstGridPointInDegrees;
#meta longitudeOfFirstGridPointInMicrodegrees times(longitudeOfFirstGridPoint,oneConstant) : no_copy;
include "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 ;
@ -64,7 +64,7 @@ meta geography.DyInMetres scale(Dy,one,thousand) : dump;
# Projection centre flag
flags[1] projectionCentreFlag 'grib2/tables/[tablesVersion]/3.5.table' : dump;
include "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;

View File

@ -8,7 +8,7 @@
#
# TEMPLATE 3.31, Albers equal area
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
# Nx - number of points along the X-axis
unsigned[4] Nx : dump;
@ -28,7 +28,7 @@ alias La1 = latitudeOfFirstGridPoint;
unsigned[4] longitudeOfFirstGridPoint : edition_specific,dump;
alias Lo1 = longitudeOfFirstGridPoint;
include "template.3.resolution_flags.def";
include "grib2/template.3.resolution_flags.def";
# LaD - Latitude where Dx and Dy are specified
signed[4] LaD : dump;
@ -49,7 +49,7 @@ alias Dy = yDirectionGridLength;
# Projection centre flag
flags[1] projectionCentreFlag 'grib2/tables/[tablesVersion]/3.5.table' : dump;
include "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;

View File

@ -9,5 +9,5 @@
# TEMPLATE 3.4, variable resolution latitude/longitude
include "template.3.shape_of_the_earth.def";
include "template.3.latlon_vares.def";
include "grib2/template.3.shape_of_the_earth.def";
include "grib2/template.3.latlon_vares.def";

View File

@ -9,5 +9,5 @@
# TEMPLATE 3.40, Gaussian latitude/longitude
include "template.3.shape_of_the_earth.def";
include "template.3.gaussian.def";
include "grib2/template.3.shape_of_the_earth.def";
include "grib2/template.3.gaussian.def";

View File

@ -9,6 +9,6 @@
# TEMPLATE 3.41, Rotated Gaussian latitude/longitude
include "template.3.shape_of_the_earth.def";
include "template.3.gaussian.def";
include "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";

View File

@ -9,6 +9,6 @@
# TEMPLATE 3.42, Stretched Gaussian latitude/longitude
include "template.3.shape_of_the_earth.def";
include "template.3.gaussian.def";
include "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";

View File

@ -9,7 +9,7 @@
# TEMPLATE 3.43, Stretched and rotated Gaussian latitude/longitude
include "template.3.shape_of_the_earth.def";
include "template.3.gaussian.def";
include "template.3.rotation.def";
include "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";

View File

@ -9,6 +9,6 @@
# TEMPLATE 3.5, variable resolution rotated latitude/longitude
include "template.3.shape_of_the_earth.def";
include "template.3.latlon_vares.def";
include "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";

View File

@ -9,4 +9,4 @@
# TEMPLATE 3.50, Spherical harmonic coefficients
include "template.3.spherical_harmonics.def";
include "grib2/template.3.spherical_harmonics.def";

View File

@ -9,5 +9,5 @@
# TEMPLATE 3.51, Rotated spherical harmonic coefficients
include "template.3.spherical_harmonics.def";
include "template.3.rotation.def";
include "grib2/template.3.spherical_harmonics.def";
include "grib2/template.3.rotation.def";

View File

@ -9,5 +9,5 @@
# TEMPLATE 3.52, Stretched spherical harmonic coefficients
include "template.3.spherical_harmonics.def";
include "template.3.stretching.def";
include "grib2/template.3.spherical_harmonics.def";
include "grib2/template.3.stretching.def";

View File

@ -9,6 +9,6 @@
# TEMPLATE 3.53, Stretched and rotated spherical harmonic coefficients
include "template.3.spherical_harmonics.def";
include "template.3.rotation.def";
include "template.3.stretching.def";
include "grib2/template.3.spherical_harmonics.def";
include "grib2/template.3.rotation.def";
include "grib2/template.3.stretching.def";

View File

@ -10,7 +10,7 @@
# START 2/template.3.90 ----------------------------------------------------------------------
# TEMPLATE 3.90, Space view perspective or orthographic
include "template.3.shape_of_the_earth.def";
include "grib2/template.3.shape_of_the_earth.def";
unsigned[4] Nx : dump;
alias Ni = Nx;
@ -31,7 +31,7 @@ signed[4] longitudeOfSubSatellitePoint ;
meta geography.latitudeOfSubSatellitePointInDegrees scale(latitudeOfSubSatellitePoint,one,grib2divider,truncateDegrees) : dump;
meta geography.longitudeOfSubSatellitePointInDegrees scale(longitudeOfSubSatellitePoint,one,grib2divider,truncateDegrees) : dump;
include "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;
@ -53,7 +53,7 @@ unsigned[4] Yp : no_copy;
meta geography.YpInGridLengths scale(Yp,one,thousand) : dump;
alias yCoordinateOfSubSatellitePoint=YpInGridLengths;
include "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
signed[4] orientationOfTheGrid : edition_specific;

View File

@ -7,7 +7,7 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
include "template.3.grid.def";
include "grib2/template.3.grid.def";
# Di - i direction increment
unsigned[4] iDirectionIncrement : can_be_missing;
@ -18,7 +18,7 @@ unsigned[4] N : dump;
alias numberOfParallelsBetweenAPoleAndTheEquator=N ;
alias geography.N=N;
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
modify Ni : can_be_missing,dump;

View File

@ -54,7 +54,7 @@ signed[4] longitudeOfFirstGridPoint ;
alias Lo1 = longitudeOfFirstGridPoint;
#meta longitudeOfFirstGridPointInMicrodegrees times(longitudeOfFirstGridPoint,mAngleMultiplier,angleDivisor) : no_copy;
include "template.3.resolution_flags.def"
include "grib2/template.3.resolution_flags.def"
# La2 - latitude of last grid point
signed[4] latitudeOfLastGridPoint : edition_specific;

View File

@ -7,7 +7,7 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
include "template.3.grid.def";
include "grib2/template.3.grid.def";
# Di - i direction increment
@ -21,7 +21,7 @@ unsigned[4] jDirectionIncrement : can_be_missing,edition_specific;
alias Dj = jDirectionIncrement;
alias Dy = jDirectionIncrement;
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
meta g2grid g2grid(
latitudeOfFirstGridPoint,

View File

@ -41,9 +41,9 @@ when (missing(subdivisionsOfBasicAngle) || subdivisionsOfBasicAngle == 0) {
set angleDivisor = subdivisionsOfBasicAngle;
}
include "template.3.resolution_flags.def"
include "grib2/template.3.resolution_flags.def"
include "template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def";
longitudesList list(Ni) {
unsigned[4] longitudes;

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.0, Analysis or forecast at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def";
include "template.4.point_in_time.def";
include "template.4.horizontal.def";
include "grib2/template.4.parameter.def";
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.1, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.eps.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.10, Percentile forecasts at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.percentile.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.percentile.def"
include "grib2/template.4.statistical.def"

View File

@ -9,5 +9,5 @@
# TEMPLATE 4.1000, Cross section of analysis and forecast at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";

View File

@ -9,5 +9,5 @@
# TEMPLATE 4.1001, Cross section of averaged or otherwise statistically processed analysis or forecast over a range of time
include "template.4.parameter.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.statistical.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.1002, Cross-section of analysis and forecast, averaged or otherwise statistically processed over latitude or longitude
include "template.4.parameter.def"
include "grib2/template.4.parameter.def"
# Horizontal dimension processed

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.11, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.eps.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"
include "grib2/template.4.statistical.def"

View File

@ -9,5 +9,5 @@
# TEMPLATE 4.1100, Hovmöller-type grid with no averaging or other statistical processing
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"

View File

@ -9,6 +9,6 @@
# TEMPLATE 4.1101, Hovmöller-type grid with averaging or other statistical processing
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.statistical.def"

View File

@ -9,7 +9,8 @@
# TEMPLATE 4.12, Derived forecasts based on all ensemble members at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.derived.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.derived.def"
include "grib2/template.4.statistical.def"

View File

@ -9,11 +9,11 @@
# TEMPLATE 4.13, Derived forecasts based on a cluster of ensemble members over a rectangular area at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.derived.def"
include "template.4.rectangular_cluster.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.derived.def"
include "grib2/template.4.rectangular_cluster.def"
include "grib2/template.4.statistical.def"
ensembleForecastNumbersList list(numberOfForecastsInTheCluster) {
unsigned[1] ensembleForecastNumbers : dump;

View File

@ -9,11 +9,11 @@
# TEMPLATE 4.14, Derived forecasts based on a cluster of ensemble members over a circular area at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.derived.def"
include "template.4.circular_cluster.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.derived.def"
include "grib2/template.4.circular_cluster.def"
include "grib2/template.4.statistical.def"
ensembleForecastNumbersList list(numberOfForecastsInTheCluster) {
unsigned[1] ensembleForecastNumbers : dump;

View File

@ -9,9 +9,9 @@
# TEMPLATE 4.15, Average, accumulation, extreme values, or other statistically-processed values over a spatial area at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def";
include "template.4.point_in_time.def";
include "template.4.horizontal.def";
include "grib2/template.4.parameter.def";
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";
codetable[1] statisticalProcess 'grib2/tables/[tablesVersion]/4.10.table';
codetable[1] spatialProcessing 'grib2/tables/[tablesVersion]/4.15.table';
unsigned[1] numberOfPointsUsed;

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.2, Derived forecast based on all ensemble members at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def";
include "template.4.point_in_time.def";
include "template.4.horizontal.def";
include "template.4.derived.def";
include "grib2/template.4.parameter.def";
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";
include "grib2/template.4.derived.def";

View File

@ -9,11 +9,11 @@
# TEMPLATE 4.3, Derived forecasts based on a cluster of ensemble members over a rectangular area at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.derived.def"
include "template.4.rectangular_cluster.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.derived.def"
include "grib2/template.4.rectangular_cluster.def"
ensembleForecastNumbersList list(numberOfForecastsInTheCluster) {
unsigned[1] ensembleForecastNumbers : dump;

View File

@ -14,8 +14,8 @@ constant dataRepresentationType = 90;
# START template.4.32 ----------------------------------------------------------------------
# TEMPLATE 4.32, analysis or forecast at a horizontal level or in a horizontal layer at a point in time for simulated (synthetic) satellite data
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
# Required for interpolation and MARS. The level type is used to decide whether to apply the Land Sea Mask
constant typeOfLevel="surface";

View File

@ -9,8 +9,8 @@
# TEMPLATE 4.33, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time for simulated (synthetic) satellite data
include "template.4.32.def"
include "template.4.eps.def"
include "grib2/template.4.32.def"
include "grib2/template.4.eps.def"
alias instrument = instrumentType;
alias ident = satelliteNumber;

View File

@ -9,9 +9,9 @@
# TEMPLATE 4.34, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer, in a continuous or non-continuous interval for simulated (synthetic) satellite data
include "template.4.32.def"
include "template.4.eps.def"
include "template.4.statistical.def"
include "grib2/template.4.32.def"
include "grib2/template.4.eps.def"
include "grib2/template.4.statistical.def"
alias instrument = instrumentType;
alias ident = satelliteNumber;

View File

@ -9,11 +9,11 @@
# TEMPLATE 4.4, Derived forecasts based on a cluster of ensemble members over a circular area at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.derived.def"
include "template.4.circular_cluster.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.derived.def"
include "grib2/template.4.circular_cluster.def"
ensembleForecastNumbersList list(numberOfForecastsInTheCluster) {
unsigned[1] ensembleForecastNumbers : dump;

View File

@ -9,6 +9,6 @@
# TEMPLATE 4.40, Analysis or forecast at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter_chemical.def";
include "template.4.point_in_time.def";
include "template.4.horizontal.def";
include "grib2/template.4.parameter_chemical.def";
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";

View File

@ -10,4 +10,4 @@
#
# This is deprecated and only included for backward compatibility, use template 4.33
#
include "template.4.33.def"
include "grib2/template.4.33.def"

View File

@ -10,4 +10,4 @@
#
# This is deprecated and only included for backward compatibility, use template 4.34
#
include "template.4.34.def"
include "grib2/template.4.34.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.41, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter_chemical.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.eps.def"
include "grib2/template.4.parameter_chemical.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"

View File

@ -9,6 +9,6 @@
# TEMPLATE 4.42, Average, accumulation, and/or extreme values or other statistically processed values at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter_chemical.def"
include "template.4.horizontal.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter_chemical.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.statistical.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.43, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter_chemical.def"
include "template.4.horizontal.def"
include "template.4.eps.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter_chemical.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"
include "grib2/template.4.statistical.def"

View File

@ -10,7 +10,7 @@
# TEMPLATE 4.44, Analysis or forecast at a horizontal level or in a horizontal layer at a point in time
# GRIB-530: Special case for aerosol thanks to WMO error
include "template.4.parameter_aerosol_44.def";
include "grib2/template.4.parameter_aerosol_44.def";
include "template.4.point_in_time.def";
include "template.4.horizontal.def";
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.45, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time for aerosol
include "template.4.parameter_aerosol.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.eps.def"
include "grib2/template.4.parameter_aerosol.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"

View File

@ -9,6 +9,6 @@
# TEMPLATE 4.46, Average, accumulation, and/or extreme values or other statistically processed values at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval for aerosol
include "template.4.parameter_aerosol.def"
include "template.4.horizontal.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter_aerosol.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.statistical.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.47, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter_aerosol.def"
include "template.4.horizontal.def"
include "template.4.eps.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter_aerosol.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"
include "grib2/template.4.statistical.def"

View File

@ -9,6 +9,6 @@
# TEMPLATE 4.48, Analysis or forecast at a horizontal level or in a horizontal layer at a point in time for optical properties of aerosol
include "template.4.parameter_aerosol_optical.def";
include "template.4.point_in_time.def";
include "template.4.horizontal.def";
include "grib2/template.4.parameter_aerosol_optical.def";
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.5, Probability forecasts at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.probability.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.probability.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.51, Categorical forecasts at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.categorical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.categorical.def"

View File

@ -8,9 +8,9 @@
#
# TEMPLATE 4.53, Partitioned parameters at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter_partition.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def";
include "grib2/template.4.parameter_partition.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";
constant cat="cat";
alias mars.levtype=cat;
alias mars.levelist=partitionNumber;

View File

@ -8,8 +8,8 @@
#
# TEMPLATE 4.54, Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time for partitioned parameters
include "template.4.53.def"
include "template.4.eps.def"
include "grib2/template.4.53.def"
include "grib2/template.4.eps.def"
constant cat="cat";
alias mars.levtype=cat;

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.6, Percentile forecasts at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.percentile.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.percentile.def"

View File

@ -9,8 +9,8 @@
# TEMPLATE 4.60, Individual ensemble re-forecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time
include "template.4.parameter.def"
include "template.4.point_in_time.def";
include "template.4.horizontal.def"
include "template.4.eps.def"
include "template.4.reforecast.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"
include "grib2/template.4.reforecast.def"

View File

@ -9,8 +9,8 @@
# TEMPLATE 4.61, Individual ensemble re-forecast, control and perturbed, at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.eps.def"
include "template.4.reforecast.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"
include "grib2/template.4.reforecast.def"
include "grib2/template.4.statistical.def"

View File

@ -10,4 +10,5 @@
# TEMPLATE 4.7, Analysis or forecast error at a horizontal level or in a horizontal layer at a point in time
# Same as 4.0 Should not be used
include "template.4.0.def"
include "grib2/template.4.0.def"

View File

@ -9,6 +9,6 @@
# TEMPLATE 4.8, Average, accumulation, and/or extreme values or other statistically processed values at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.statistical.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.9, Probability forecasts at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.probability.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.probability.def"
include "grib2/template.4.statistical.def"

View File

@ -9,7 +9,7 @@
# TEMPLATE 4.91, Categorical forecasts at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval
include "template.4.parameter.def"
include "template.4.horizontal.def"
include "template.4.categorical.def"
include "template.4.statistical.def"
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.categorical.def"
include "grib2/template.4.statistical.def"

Some files were not shown because too many files have changed in this diff Show More