mirror of https://github.com/ecmwf/eccodes.git
ECC-1245: GRIB: Add typeOfPostProcessing for 'geff' to efas_post_proc
This commit is contained in:
parent
f15cbcbb73
commit
2750e7d921
|
@ -40,22 +40,23 @@ transient lsdate_bug = 1: hidden; # See ECC-707
|
|||
|
||||
# Note: the key typeOfPostProcessing is in the PDTNs 70, 71, 72 and 73
|
||||
concept efas_post_proc {
|
||||
"unknown" = { typeOfPostProcessing=0 ; }
|
||||
"lisflood" = { typeOfPostProcessing=1 ; }
|
||||
"lisflood_eric" = { typeOfPostProcessing=2 ; }
|
||||
"lisflood_season" = { typeOfPostProcessing=3 ; }
|
||||
"lisflood_merged" = { typeOfPostProcessing=4 ; }
|
||||
"lisflood_global" = { typeOfPostProcessing=5 ; }
|
||||
"ericha" = { typeOfPostProcessing=51 ; }
|
||||
"htessel_lisflood" = { typeOfPostProcessing=101; }
|
||||
"htessel_eric" = { typeOfPostProcessing=102; }
|
||||
"htessel_camaflood" = { typeOfPostProcessing=103; }
|
||||
"epic" = { typeOfPostProcessing=152; }
|
||||
"jules_mrm" = { typeOfPostProcessing=201; }
|
||||
"htessel_mrm" = { typeOfPostProcessing=202; }
|
||||
"mhm_mrm" = { typeOfPostProcessing=203; }
|
||||
"pcrg_mrm" = { typeOfPostProcessing=204; }
|
||||
"meteogrid" = { typeOfPostProcessing=205; }
|
||||
"unknown" = { typeOfPostProcessing = 0; }
|
||||
"lisflood" = { typeOfPostProcessing = 1; }
|
||||
"lisflood_eric" = { typeOfPostProcessing = 2; }
|
||||
"lisflood_season" = { typeOfPostProcessing = 3; }
|
||||
"lisflood_merged" = { typeOfPostProcessing = 4; }
|
||||
"lisflood_global" = { typeOfPostProcessing = 5; }
|
||||
"geff" = { typeOfPostProcessing = 10; }
|
||||
"ericha" = { typeOfPostProcessing = 51; }
|
||||
"htessel_lisflood" = { typeOfPostProcessing = 101; }
|
||||
"htessel_eric" = { typeOfPostProcessing = 102; }
|
||||
"htessel_camaflood" = { typeOfPostProcessing = 103; }
|
||||
"epic" = { typeOfPostProcessing = 152; }
|
||||
"jules_mrm" = { typeOfPostProcessing = 201; }
|
||||
"htessel_mrm" = { typeOfPostProcessing = 202; }
|
||||
"mhm_mrm" = { typeOfPostProcessing = 203; }
|
||||
"pcrg_mrm" = { typeOfPostProcessing = 204; }
|
||||
"meteogrid" = { typeOfPostProcessing = 205; }
|
||||
"unknown" = { dummy = 1; }
|
||||
} : hidden;
|
||||
|
||||
|
|
|
@ -50,6 +50,11 @@ grib_check_key_equals $temp2 is_efas,productDefinitionTemplateNumber,typeOfStati
|
|||
grib_check_key_equals $temp2 mars.origin 'ecmf'
|
||||
grib_check_key_equals $temp2 mars.model 'lisflood'
|
||||
|
||||
${tools_dir}/grib_set -s \
|
||||
setLocalDefinition=1,localDefinitionNumber=41,type=fc,inputOriginatingCentre=ecmf,typeOfPostProcessing=10 \
|
||||
$temp1 $temp2
|
||||
grib_check_key_equals $temp2 mars.model 'geff'
|
||||
|
||||
# Parameter tests
|
||||
${tools_dir}/grib_set -s paramId=260267 $temp2 $temp3
|
||||
grib_check_key_equals $temp3 paramId,is_efas,lengthOfTimeRange '260267 1 6'
|
||||
|
|
Loading…
Reference in New Issue