mirror of https://github.com/ecmwf/eccodes.git
Testing: chemId/paramId split
This commit is contained in:
parent
037ad970c1
commit
ae2f8c5820
|
@ -58,6 +58,7 @@ cat > $tempRef <<EOF
|
||||||
"class": "od",
|
"class": "od",
|
||||||
"type": "an",
|
"type": "an",
|
||||||
"stream": "oper",
|
"stream": "oper",
|
||||||
|
"paramtype": "base",
|
||||||
"levtype": "sfc",
|
"levtype": "sfc",
|
||||||
"date": 20200804,
|
"date": 20200804,
|
||||||
"time": "0000",
|
"time": "0000",
|
||||||
|
|
|
@ -217,8 +217,10 @@ ${tools_dir}/grib_compare $temp $temp.1
|
||||||
${tools_dir}/grib_set -s paramId=211123,setLocalDefinition=1,localDefinitionNumber=36 $sample_g2 $temp
|
${tools_dir}/grib_set -s paramId=211123,setLocalDefinition=1,localDefinitionNumber=36 $sample_g2 $temp
|
||||||
grib_check_key_equals $temp productDefinitionTemplateNumber 40
|
grib_check_key_equals $temp productDefinitionTemplateNumber 40
|
||||||
|
|
||||||
${tools_dir}/grib_set -s paramId=456000,setLocalDefinition=1,localDefinitionNumber=36 $sample_g2 $temp
|
# Automatic PDT selection is disabled for some parameters (the key is_chemical_srcsink removed from their definition)
|
||||||
grib_check_key_equals $temp productDefinitionTemplateNumber 76
|
# ${tools_dir}/grib_set -s paramId=456000,setLocalDefinition=1,localDefinitionNumber=36 $sample_g2 $temp
|
||||||
|
${tools_dir}/grib_set -s productDefinitionTemplateNumber=76,paramId=456000,setLocalDefinition=1,localDefinitionNumber=36 $sample_g2 $temp
|
||||||
|
grib_check_key_equals $temp chemShortName,chemId 'O3 236'
|
||||||
|
|
||||||
${tools_dir}/grib_set -s paramId=215225,setLocalDefinition=1,localDefinitionNumber=36 $sample_g2 $temp
|
${tools_dir}/grib_set -s paramId=215225,setLocalDefinition=1,localDefinitionNumber=36 $sample_g2 $temp
|
||||||
grib_check_key_equals $temp productDefinitionTemplateNumber 48
|
grib_check_key_equals $temp productDefinitionTemplateNumber 48
|
||||||
|
|
|
@ -49,6 +49,7 @@ cat > $tempRef << EOF
|
||||||
"class": "od",
|
"class": "od",
|
||||||
"type": "an",
|
"type": "an",
|
||||||
"stream": "oper",
|
"stream": "oper",
|
||||||
|
"paramtype": "base",
|
||||||
"step": 0,
|
"step": 0,
|
||||||
"levelist": 1000,
|
"levelist": 1000,
|
||||||
"levtype": "pl",
|
"levtype": "pl",
|
||||||
|
@ -73,6 +74,7 @@ cat > $tempRef << EOF
|
||||||
"class": "od",
|
"class": "od",
|
||||||
"type": "pf",
|
"type": "pf",
|
||||||
"stream": "enfo",
|
"stream": "enfo",
|
||||||
|
"paramtype": "base",
|
||||||
"step": 0,
|
"step": 0,
|
||||||
"levelist": 1000,
|
"levelist": 1000,
|
||||||
"levtype": "pl",
|
"levtype": "pl",
|
||||||
|
|
Loading…
Reference in New Issue