mirror of https://github.com/ecmwf/eccodes.git
ECC-1277: Test eccodes_t_grib_to_netcdf fails
This commit is contained in:
parent
eac369e7e6
commit
f08c23a0ee
|
@ -62,10 +62,11 @@ if [ $ECCODES_ON_WINDOWS -eq 0 ]; then
|
|||
${tools_dir}/grib_to_netcdf -k3 -o $tempNetcdf $input 2>/dev/null
|
||||
stat=$?
|
||||
set -e
|
||||
${tools_dir}/grib_dump -TA -O $tempNetcdf
|
||||
if [ $stat -eq 0 ]; then
|
||||
have_netcdf4=1
|
||||
res=`${tools_dir}/grib_get -TA -p identifier,versionNumberOfSuperblock $tempNetcdf`
|
||||
[ "$res" = "HDF5 0" ]
|
||||
res=`${tools_dir}/grib_get -TA -p identifier $tempNetcdf`
|
||||
[ "$res" = "HDF5" ]
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue