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,9 +1,10 @@
# Concept destineOrigin # Concept destineOrigin
"DWD" = { centre=98; subCentre=78; } "DWD" = { centre=98; subCentre=78; }
"MeteoFrance" = { centre=98; subCentre=84; } "Meteo-France" = { centre=98; subCentre=84; }
"MPI-M" = { centre=98; subCentre=252; } "Meteo-France" = { centre=98; subCentre=85; }
"AWI" = { centre=98; subCentre=253; } "MPI-M" = { centre=98; subCentre=252; }
"BSC" = { centre=98; subCentre=1000; } "AWI" = { centre=98; subCentre=253; }
"CSC" = { centre=98; subCentre=1001; } "BSC" = { centre=98; subCentre=1000; }
"DKRZ" = { centre=98; subCentre=1002; } "CSC" = { centre=98; subCentre=1001; }
"DKRZ" = { centre=98; subCentre=1002; }
"Climate DT consortium (CSC,AWI,BSC,MPI-M)" = { centre=98; subCentre=1003; } "Climate DT consortium (CSC,AWI,BSC,MPI-M)" = { centre=98; subCentre=1003; }

View File

@ -55,9 +55,9 @@ grib_check_key_exists $destine_sample destineOrigin,gridSpecification
grib_check_key_equals $destine_sample "destineOrigin,gridSpecification" "unknown unknown" grib_check_key_equals $destine_sample "destineOrigin,gridSpecification" "unknown unknown"
# Below mapping is for MeteoFrance # 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 # Below mapping is for H1024
${tools_dir}/grib_set -s numberOfDataPoints=12582912,gridDefinitionTemplateNumber=150,Nside=1024 $destine_sample $temp_grib_a ${tools_dir}/grib_set -s numberOfDataPoints=12582912,gridDefinitionTemplateNumber=150,Nside=1024 $destine_sample $temp_grib_a