diff --git a/data/bufr/bufr_data_files.txt b/data/bufr/bufr_data_files.txt index 04a56d9d4..802536f26 100644 --- a/data/bufr/bufr_data_files.txt +++ b/data/bufr/bufr_data_files.txt @@ -146,3 +146,4 @@ delayed_repl_01.bufr israel_observations_2017041010.bufr goes16_nm.bufr aeolus_wmo_26.bufr +ecc738.msg2.bufr diff --git a/tests/bufr_json.sh b/tests/bufr_json.sh index fb43ff714..b345913dd 100755 --- a/tests/bufr_json.sh +++ b/tests/bufr_json.sh @@ -11,6 +11,17 @@ . ./include.sh REDIRECT=/dev/null +cd ${data_dir}/bufr + + +# ECC-738: MEMFS +# --------------------- +if [ $HAVE_MEMFS -eq 1 ]; then + unset ECCODES_DEFINITION_PATH + file=ecc738.msg2.bufr + ${tools_dir}/bufr_dump $file > $REDIRECT +fi + # Decide if we have the JSON verifier commandline utility JSON_VERIF="json_xs" @@ -19,8 +30,6 @@ if command -v $JSON_VERIF >/dev/null 2>&1; then JSON_CHECK=$JSON_VERIF fi -cd ${data_dir}/bufr - bufr_files=`cat bufr_data_files.txt` for file in ${bufr_files} do