mirror of https://github.com/ecmwf/eccodes.git
Testing: Gaussian sub-area legacy
This commit is contained in:
parent
05f6952ab4
commit
8709a6d32d
|
@ -90,3 +90,5 @@ gfs.complex.mvmu.grib2
|
|||
mercator.grib2
|
||||
run_length_packing.grib2
|
||||
boustrophedonic.grib1
|
||||
reduced_gaussian_sub_area.legacy.grib1
|
||||
|
||||
|
|
|
@ -97,6 +97,16 @@ set -e
|
|||
cat $tempText
|
||||
grep -q "unreadable message" $tempText
|
||||
|
||||
# Legacy Gaussian sub-area (produced by old ProdGen)
|
||||
# See ECC-906:
|
||||
# grib_get_data not working correctly with old-style sub-areas of reduced grids
|
||||
# -------------------------------------------------
|
||||
input=$data_dir/reduced_gaussian_sub_area.legacy.grib1
|
||||
${tools_dir}/grib_get_data $input > $tempText
|
||||
grib_check_key_equals $input legacyGaussSubarea 1
|
||||
|
||||
ECCODES_DEBUG=-1 ${tools_dir}/grib_ls -p numberOfDataPoints $input > $tempText 2>&1
|
||||
grep -q "LEGACY MODE activated. Count.=253982. changed to num values.=254139" $tempText
|
||||
|
||||
|
||||
# Clean up
|
||||
|
|
Loading…
Reference in New Issue