mirror of https://github.com/ecmwf/eccodes.git
ECC-1731: GRIB2: Add additional paramIds to be used with CAMS chemIds
This commit is contained in:
parent
e3792dccfc
commit
f3d412c54a
|
@ -7707,6 +7707,8 @@
|
|||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
}
|
||||
#Mass mixing ratio
|
||||
'mass_mixrat' = {
|
||||
|
@ -8036,6 +8038,32 @@
|
|||
parameterCategory = 20 ;
|
||||
parameterNumber = 59 ;
|
||||
}
|
||||
#Mass mixing ratio from volcanoes
|
||||
'mass_mixrat_vol' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 2 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Total column vertically-integrated mass density from volcanoes
|
||||
'tc_mdens_vol' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Dry deposition velocity from volcanoes
|
||||
'drydep_vel_vol' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 15 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Virtual potential temperature
|
||||
'vptmp' = {
|
||||
discipline = 0 ;
|
||||
|
|
|
@ -7707,6 +7707,8 @@
|
|||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
}
|
||||
#Mass mixing ratio
|
||||
'Mass mixing ratio' = {
|
||||
|
@ -8036,6 +8038,32 @@
|
|||
parameterCategory = 20 ;
|
||||
parameterNumber = 59 ;
|
||||
}
|
||||
#Mass mixing ratio from volcanoes
|
||||
'Mass mixing ratio from volcanoes' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 2 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Total column vertically-integrated mass density from volcanoes
|
||||
'Total column vertically-integrated mass density from volcanoes' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Dry deposition velocity from volcanoes
|
||||
'Dry deposition velocity from volcanoes' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 15 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Virtual potential temperature
|
||||
'Virtual potential temperature' = {
|
||||
discipline = 0 ;
|
||||
|
|
|
@ -7707,6 +7707,8 @@
|
|||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
}
|
||||
#Mass mixing ratio
|
||||
'402000' = {
|
||||
|
@ -8036,6 +8038,32 @@
|
|||
parameterCategory = 20 ;
|
||||
parameterNumber = 59 ;
|
||||
}
|
||||
#Mass mixing ratio from volcanoes
|
||||
'454000' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 2 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Total column vertically-integrated mass density from volcanoes
|
||||
'455000' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Dry deposition velocity from volcanoes
|
||||
'456000' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 15 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Virtual potential temperature
|
||||
'3012' = {
|
||||
discipline = 0 ;
|
||||
|
|
|
@ -7707,6 +7707,8 @@
|
|||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
}
|
||||
#Mass mixing ratio
|
||||
'mass_mixrat' = {
|
||||
|
@ -8036,6 +8038,32 @@
|
|||
parameterCategory = 20 ;
|
||||
parameterNumber = 59 ;
|
||||
}
|
||||
#Mass mixing ratio from volcanoes
|
||||
'mass_mixrat_vol' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 2 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Total column vertically-integrated mass density from volcanoes
|
||||
'tc_mdens_vol' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Dry deposition velocity from volcanoes
|
||||
'drydep_vel_vol' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 15 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Virtual potential temperature
|
||||
'vptmp' = {
|
||||
discipline = 0 ;
|
||||
|
|
|
@ -7707,6 +7707,8 @@
|
|||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
}
|
||||
#Mass mixing ratio
|
||||
'kg kg**-1' = {
|
||||
|
@ -8036,6 +8038,32 @@
|
|||
parameterCategory = 20 ;
|
||||
parameterNumber = 59 ;
|
||||
}
|
||||
#Mass mixing ratio from volcanoes
|
||||
'kg kg**-1' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 2 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Total column vertically-integrated mass density from volcanoes
|
||||
'kg m**-2' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 1 ;
|
||||
typeOfFirstFixedSurface = 1 ;
|
||||
typeOfSecondFixedSurface = 8 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Dry deposition velocity from volcanoes
|
||||
'm s**-1' = {
|
||||
discipline = 0 ;
|
||||
parameterCategory = 20 ;
|
||||
parameterNumber = 15 ;
|
||||
is_chemical_srcsink = 1 ;
|
||||
sourceSinkChemicalPhysicalProcess = 7 ;
|
||||
}
|
||||
#Virtual potential temperature
|
||||
'K' = {
|
||||
discipline = 0 ;
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
/*
|
||||
* (C) Copyright 2005- ECMWF.
|
||||
*
|
||||
* This software is licensed under the terms of the Apache Licence Version 2.0
|
||||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
|
||||
*
|
||||
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
|
||||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
grib_context* c = grib_context_get_default();
|
||||
|
||||
grib_trie* t = grib_trie_new(c);
|
||||
|
||||
grib_trie_insert(t, "hello", "w");
|
||||
grib_trie_insert(t, "hola", "e");
|
||||
|
||||
printf("%s\n", (char*)grib_trie_get(t, "hello"));
|
||||
printf("%s\n", (char*)grib_trie_get(t, "hela"));
|
||||
printf("%s\n", (char*)grib_trie_get(t, "hola"));
|
||||
|
||||
grib_trie_remove(t, "hela");
|
||||
grib_trie_remove(t, "hola");
|
||||
|
||||
printf("%s\n", (char*)grib_trie_get(t, "hello"));
|
||||
printf("%s\n", (char*)grib_trie_get(t, "hola"));
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue