mirror of https://github.com/ecmwf/eccodes.git
Testing: OrcaGrids
This commit is contained in:
parent
f04237c4e0
commit
de64bb89e1
|
@ -69,7 +69,7 @@ list(APPEND tests_no_data_reqd
|
|||
grib_efas
|
||||
grib_sh_imag
|
||||
pseudo_diag
|
||||
grib_unstructured_grid
|
||||
grib_grid_unstructured
|
||||
grib_grid_lambert_conformal
|
||||
grib_grid_polar_stereographic
|
||||
grib_grid_space_view
|
||||
|
|
|
@ -62,6 +62,7 @@ TESTS = definitions.sh \
|
|||
grib_grid_space_view.sh \
|
||||
grib_grid_polar_stereographic.sh \
|
||||
grib_grid_mercator.sh \
|
||||
grib_grid_unstructured.sh \
|
||||
grib_to_netcdf.sh \
|
||||
grib_dump_debug.sh \
|
||||
grib_jpeg.sh \
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
. ./include.sh
|
||||
|
||||
label="grib_unstructured_grid"
|
||||
label="grib_grid_unstructured"
|
||||
|
||||
# Only relevant for GRIB2
|
||||
sample=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
|
||||
|
@ -27,5 +27,21 @@ ${tools_dir}/grib_compare $temp1 $temp2
|
|||
grib_check_key_equals $temp2 'numberOfGridInReference' '4'
|
||||
grib_check_key_equals $temp2 'numberOfGridUsed' '2'
|
||||
|
||||
# Test some lat/lon parameters
|
||||
${tools_dir}/grib_set -s paramId=250003 $sample $temp1
|
||||
grib_check_key_equals $temp1 'unstructuredGridSubtype' 'T grid'
|
||||
|
||||
${tools_dir}/grib_set -s paramId=250005 $sample $temp1
|
||||
grib_check_key_equals $temp1 'unstructuredGridSubtype' 'U grid'
|
||||
|
||||
${tools_dir}/grib_set -s paramId=250007 $sample $temp1
|
||||
grib_check_key_equals $temp1 'unstructuredGridSubtype' 'V grid'
|
||||
|
||||
${tools_dir}/grib_set -s paramId=250009 $sample $temp1
|
||||
grib_check_key_equals $temp1 'unstructuredGridSubtype' 'W grid'
|
||||
|
||||
${tools_dir}/grib_set -s paramId=250011 $sample $temp1
|
||||
grib_check_key_equals $temp1 'unstructuredGridSubtype' 'F grid'
|
||||
|
||||
|
||||
rm -f $temp1 $temp2
|
Loading…
Reference in New Issue