***************************** GRIB 2 common COSMO policy **************************** 1. Field short name: -------------------- COSMO software use alphanumeric names to refer to specific fields. Support for short names: In GRIB API: definition files in grib2/localConcepts/
, where
is the shortcut for the originating center (e.g. edzw for DWD) In fieldextra: dictionaries (external ASCII files) Proposed COSMO policy: 1.1 define a set of common definitions used by all COSMO members 1.2 the master tables are managed by DWD (grib2/localConcepts/edzw) 1.3 MeteoSwiss provides a script to synchronize fieldextra dictionaries and localConcepts definition files (in both directions) 2. Center specific table values: -------------------------------- The GRIB 2 standard reserves in all tables a range of values for local use (e.g. bytes 192-254 for one byte values). Support for center specific table values: In GRIB API: grib2/tables/local/
/, where
is the shortcut for the originating center (e.g. edzw for DWD) and is the version of the local table In fieldextra: hardcoded internal tables (in order to be independent from input and output format, fieldextra translates all meta-information in some internal codes) Proposed COSMO policy: 2.1 define a set of common values used by all COSMO members, avoid as much as possible local values not part of this set 2.2 the master tables are managed by DWD (grib2/tables/local/edzw/) 3. Model name: -------------- No provision exists in the GRIB 2 standard to code the model name. Support for model name: In GRIB API: not available In fieldextra: hardcoded internal tables Proposed COSMO policy: 3.1 the name of each model in operation in the COSMO centers is uniquely defined by the n-tuple (center, subcenter, product category, generating process identifier) 3.2 the associated information is always coded in each GRIB record 4. COSMO standard keys and local use section: --------------------------------------------- Besides the model name considered in point 3, there is a need to define additional meta-information shared in the COSMO consortia, but not part of the GRIB 2 standard. The local use section is the mechanism provided by the GRIB 2 standard to code such additional meta information. Support for local use section: In GRIB API: each local use section is defined by the file grib2/local.
..def, where
is the originating center identifier (e.g. 78 for DWD) and is the local use identifier In fieldextra: hardcoded internal tables Proposed COSMO policy: 4.1 COSMO standard keys are : 'localNumberOfExperiment' (unsigned integer coded on 2 bytes). 4.2 COSMO standard keys are coded in the local use section 4.3 a default local use section, with localSectionNumber = 250, and containing all COSMO standard keys, is defined for each center 5. GRIB API definition files: ----------------------------- The GRIB API definition files are used by multiple COSMO software (e.g. INT2LM, COSMO, fieldextra). A unified set of definition files should be provided to facilitate their maintenance. Furthermore, local modifications to these files should be organized in such a way that the definition files can be easily upgraded when a new release of the GRIB API is provided by ECMWF. Proposed COSMO policy: 5.1 A COSMO set of definition files is maintained, which is compatible with all COSMO software 5.2 Local modifications to the official ECMWF definition files should be put in the local part of the GRIB API definitions (e.g. localConcepts, tables/local), with the following exceptions: 5.2.1 Bug fixes (should be communicated to ECMWF) 5.2.2 Typing errors and units corrections (should be communicated to ECMWF) 5.2.3 New features not yet in the official definitions, but planned for the next GRIB API release 5.2.4 Modifications which are absolutely needed (e.g. new alias) - document and clearly mark these modifications in the definition files, try to convince ECMWF to put these in the next release 6. Information flow: -------------------- It is important to avoid incompatible developments coming from different places. Proposed COSMO policy: 6.1 The COSMO TAG is responsible to coordinate the use of GRIB 2 within the consortium 6.1.1 It is informed about any planned modification of GRIB 2 coding at DWD (e.g. new short name, new local value), and has the opportunity to give a recommendation to the DWD 6.1.2 It is informed about any local requirement by a COSMO member, and will propose a solution 6.1.3 The cosmo-tag mailing list is used for communication 6.2 The following information is maintained on the COSMO web 6.2.1 COSMO model names and associated n-tuples 6.2.2 COSMO standard keys and their definitions 6.2.3 Local table values common to all COSMO members (or the full GRIB 2 tables, with the COSMO local values inserted as in http://www.nco.ncep.noaa.gov/pmb/docs/grib2) 6.2.4 Master table for COSMO short names 6.2.5 For each center: 6.2.5.1 list and content of each local sections 6.2.5.2 definition of additional short names not integrated in common COSMO table