ECC-1691: Edited destineOrigin concept

Small tweak to destineOrigin concept and test as aresult.
This commit is contained in:
Matthew Griffith 2023-10-20 15:00:37 +00:00
parent 820aba02d8
commit 32d3ce7b90
2 changed files with 10 additions and 9 deletions

View File

@ -1,6 +1,7 @@
# Concept destineOrigin
"DWD" = { centre=98; subCentre=78; }
"MeteoFrance" = { centre=98; subCentre=84; }
"Meteo-France" = { centre=98; subCentre=84; }
"Meteo-France" = { centre=98; subCentre=85; }
"MPI-M" = { centre=98; subCentre=252; }
"AWI" = { centre=98; subCentre=253; }
"BSC" = { centre=98; subCentre=1000; }

View File

@ -55,9 +55,9 @@ grib_check_key_exists $destine_sample destineOrigin,gridSpecification
grib_check_key_equals $destine_sample "destineOrigin,gridSpecification" "unknown unknown"
# Below mapping is for MeteoFrance
${tools_dir}/grib_set -s centre=98,subCentre=84 $destine_sample $temp_grib_a
${tools_dir}/grib_set -s centre=98,subCentre=85 $destine_sample $temp_grib_a
grib_check_key_equals $temp_grib_a "destineOrigin" "MeteoFrance"
grib_check_key_equals $temp_grib_a "destineOrigin" "Meteo-France"
# Below mapping is for H1024
${tools_dir}/grib_set -s numberOfDataPoints=12582912,gridDefinitionTemplateNumber=150,Nside=1024 $destine_sample $temp_grib_a