From 5d925776d0a1ba87f71b639dd30d9d7a8980c0f6 Mon Sep 17 00:00:00 2001 From: Anna Milan Date: Fri, 2 Aug 2024 15:11:28 +0200 Subject: [PATCH] 250 code table 42 and 4238 new sourcesink entries in code table 4238 and a new parameter in code table 42 discipline 0 category 20 (#274) * #250 adding entries in code table 4.22.0.20 and 4.238 * xml,txt files * #250 updating entries to only keep sink and source (removing loss and gain) * xml,txt files * xml,txt files * xml,txt files --------- Co-authored-by: Sebastien Villaume Co-authored-by: Enrico Fucile --- GRIB2_CodeFlag_4_238_CodeTable_en.csv | 11 +++- GRIB2_CodeFlag_4_2_0_20_CodeTable_en.csv | 18 +++-- txt/CodeFlag.txt | 29 +++++--- xml/CodeFlag.xml | 84 +++++++++++++++++++++++- 4 files changed, 123 insertions(+), 19 deletions(-) diff --git a/GRIB2_CodeFlag_4_238_CodeTable_en.csv b/GRIB2_CodeFlag_4_238_CodeTable_en.csv index 84a371f..7fddfea 100644 --- a/GRIB2_CodeFlag_4_238_CodeTable_en.csv +++ b/GRIB2_CodeFlag_4_238_CodeTable_en.csv @@ -29,6 +29,15 @@ Source or sink,,26,,Road transportation,,,,Operational Source or sink,,27,,Off-road transportation,,,,Operational Source or sink,,28,,Nuclear power plant,,,,Operational Source or sink,,29,,Nuclear weapon,,,,Operational -Source or sink,,30-191,,Reserved,,,,Operational +Source or sink,,30,,Commercial buildings heating,,,,Operational +Source or sink,,31,,Residential heating,,,,Operational +Source or sink,,32,,Oil refineries and transformation industry,,,,Operational +Source or sink,,33,,Gas production,,,,Operational +Source or sink,,34,,Vegetation,,,,Operational +Source or sink,,35,,Biomass burning,,,,Operational +Source or sink,,36,,Settlements,,,,Operational +Source or sink,,37,,Soil,,,,Operational +Source or sink,,38,,Wild animals,,,,Operational +Source or sink,,39-191,,Reserved,,,,Operational Source or sink,,192-254,,Reserved for local use,,,,Operational Source or sink,,255,,Missing,,,,Operational diff --git a/GRIB2_CodeFlag_4_2_0_20_CodeTable_en.csv b/GRIB2_CodeFlag_4_2_0_20_CodeTable_en.csv index 85afb04..d6082c0 100644 --- a/GRIB2_CodeFlag_4_2_0_20_CodeTable_en.csv +++ b/GRIB2_CodeFlag_4_2_0_20_CodeTable_en.csv @@ -51,19 +51,23 @@ Parameter number by product discipline and parameter category,"Product disciplin Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",79,,Column integrated northward mass flux,,,kg m-1 s-1,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",80,,Column integrated divergence of mass flux,,,kg m-2 s-1,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",81,,Column integrated net source,(see Note 3),129,kg m-2 s-1,Operational -Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",82-99,,Reserved,,,,Operational -Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",100,,Surface area density (aerosol),,,/m,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",82,,Sink mass flux,,,kg m-2 s-1,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",83,,Source mass flux,,,kg m-2 s-1,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",84,,Volume-mean total column mixing ratio,,,mol mol-1,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",85-99,,Reserved,,,,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",100,,Surface area density (aerosol),,,m-1,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",101,,Vertical visual range,,,m,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",102,,Aerosol optical thickness,,,Numeric,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",103,,Single scattering albedo,,,Numeric,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",104,,Asymmetry factor,,,Numeric,Operational -Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",105,,Aerosol extinction coefficient,,,/m,Operational -Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",106,,Aerosol absorption coefficient,,,/m,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",105,,Aerosol extinction coefficient,,,m-1,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",106,,Aerosol absorption coefficient,,,m-1,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",107,,Aerosol lidar backscatter from satellite,,,m-1 sr-1,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",108,,Aerosol lidar backscatter from the ground,,,m-1 sr-1,Operational -Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",109,,Aerosol lidar extinction from satellite,,,/m,Operational -Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",110,,Aerosol lidar extinction from the ground,,,/m,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",109,,Aerosol lidar extinction from satellite,,,m-1,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",110,,Aerosol lidar extinction from the ground,,,m-1,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",111,,Angstrom exponent,,,Numeric,Operational -Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",112-191,,Reserved,,,,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",112,,Absorption aerosol optical thickness,,,Numeric,Operational +Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",113-191,,Reserved,,,,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",192-254,,Reserved for local use,,,,Operational Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",255,,Missing,,,,Operational diff --git a/txt/CodeFlag.txt b/txt/CodeFlag.txt index 6be76eb..eb94f1c 100644 --- a/txt/CodeFlag.txt +++ b/txt/CodeFlag.txt @@ -1134,20 +1134,24 @@ Code table 4.2 - Parameter number by product discipline and parameter category," Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",79,,Column integrated northward mass flux,,,kg m-1 s-1,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",80,,Column integrated divergence of mass flux,,,kg m-2 s-1,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",81,,Column integrated net source,(see Note 3),129,kg m-2 s-1,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",82-99,,Reserved,,,,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",100,,Surface area density (aerosol),,,/m,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",82,,Sink mass flux,,,kg m-2 s-1,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",83,,Source mass flux,,,kg m-2 s-1,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",84,,Volume-mean total column mixing ratio,,,mol mol-1,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",85-99,,Reserved,,,,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",100,,Surface area density (aerosol),,,m-1,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",101,,Vertical visual range,,,m,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",102,,Aerosol optical thickness,,,Numeric,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",103,,Single scattering albedo,,,Numeric,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",104,,Asymmetry factor,,,Numeric,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",105,,Aerosol extinction coefficient,,,/m,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",106,,Aerosol absorption coefficient,,,/m,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",105,,Aerosol extinction coefficient,,,m-1,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",106,,Aerosol absorption coefficient,,,m-1,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",107,,Aerosol lidar backscatter from satellite,,,m-1 sr-1,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",108,,Aerosol lidar backscatter from the ground,,,m-1 sr-1,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",109,,Aerosol lidar extinction from satellite,,,/m,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",110,,Aerosol lidar extinction from the ground,,,/m,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",109,,Aerosol lidar extinction from satellite,,,m-1,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",110,,Aerosol lidar extinction from the ground,,,m-1,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",111,,Angstrom exponent,,,Numeric,Operational -Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",112-191,,Reserved,,,,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",112,,Absorption aerosol optical thickness,,,Numeric,Operational +Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",113-191,,Reserved,,,,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",192-254,,Reserved for local use,,,,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 20: atmospheric chemical constituents",255,,Missing,,,,Operational Code table 4.2 - Parameter number by product discipline and parameter category,"Product discipline 0 - Meteorological products, parameter category 21: thermodynamic properties",0,,Column integrated potential + internal energy,,,J m-2,Operational @@ -2559,7 +2563,16 @@ Code table 4.238 - Source or sink,,26,,Road transportation,,,,Operational Code table 4.238 - Source or sink,,27,,Off-road transportation,,,,Operational Code table 4.238 - Source or sink,,28,,Nuclear power plant,,,,Operational Code table 4.238 - Source or sink,,29,,Nuclear weapon,,,,Operational -Code table 4.238 - Source or sink,,30-191,,Reserved,,,,Operational +Code table 4.238 - Source or sink,,30,,Commercial buildings heating,,,,Operational +Code table 4.238 - Source or sink,,31,,Residential heating,,,,Operational +Code table 4.238 - Source or sink,,32,,Oil refineries and transformation industry,,,,Operational +Code table 4.238 - Source or sink,,33,,Gas production,,,,Operational +Code table 4.238 - Source or sink,,34,,Vegetation,,,,Operational +Code table 4.238 - Source or sink,,35,,Biomass burning,,,,Operational +Code table 4.238 - Source or sink,,36,,Settlements,,,,Operational +Code table 4.238 - Source or sink,,37,,Soil,,,,Operational +Code table 4.238 - Source or sink,,38,,Wild animals,,,,Operational +Code table 4.238 - Source or sink,,39-191,,Reserved,,,,Operational Code table 4.238 - Source or sink,,192-254,,Reserved for local use,,,,Operational Code table 4.238 - Source or sink,,255,,Missing,,,,Operational Code table 4.239 - Wetland Type,,0,,Reserved,,,,Operational diff --git a/xml/CodeFlag.xml b/xml/CodeFlag.xml index e16ebf7..9e3bcbe 100644 --- a/xml/CodeFlag.xml +++ b/xml/CodeFlag.xml @@ -6812,7 +6812,25 @@ Code table 4.2 - Parameter number by product discipline and parameter category - 82-99 + 82 + Sink mass flux + Operational + + + Code table 4.2 - Parameter number by product discipline and parameter category + 83 + Source mass flux + Operational + + + Code table 4.2 - Parameter number by product discipline and parameter category + 84 + Volume-mean total column mixing ratio + Operational + + + Code table 4.2 - Parameter number by product discipline and parameter category + 85-99 Reserved Operational @@ -6890,7 +6908,13 @@ Code table 4.2 - Parameter number by product discipline and parameter category - 112-191 + 112 + Absorption aerosol optical thickness + Operational + + + Code table 4.2 - Parameter number by product discipline and parameter category + 113-191 Reserved Operational @@ -15362,7 +15386,61 @@ Code table 4.238 - Source or sink - 30-191 + 30 + Commercial buildings heating + Operational + + + Code table 4.238 - Source or sink + 31 + Residential heating + Operational + + + Code table 4.238 - Source or sink + 32 + Oil refineries and transformation industry + Operational + + + Code table 4.238 - Source or sink + 33 + Gas production + Operational + + + Code table 4.238 - Source or sink + 34 + Vegetation + Operational + + + Code table 4.238 - Source or sink + 35 + Biomass burning + Operational + + + Code table 4.238 - Source or sink + 36 + Settlements + Operational + + + Code table 4.238 - Source or sink + 37 + Soil + Operational + + + Code table 4.238 - Source or sink + 38 + Wild animals + Operational + + + Code table 4.238 - Source or sink + 39-191 Reserved Operational