2024-05-01 14:50:18 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# (C) Copyright 2005- ECMWF.
|
|
|
|
#
|
|
|
|
# This software is licensed under the terms of the Apache Licence Version 2.0
|
|
|
|
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
|
|
|
|
#
|
|
|
|
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
|
|
|
|
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
|
|
|
#
|
|
|
|
|
|
|
|
. ./include.ctest.sh
|
|
|
|
|
|
|
|
label="grib_list_keys_test"
|
|
|
|
tempOut=temp.$label.txt
|
|
|
|
|
|
|
|
if [ -d "$ECCODES_DEFINITION_PATH" ]; then
|
2024-05-01 15:02:43 +00:00
|
|
|
if [ -x "${tools_dir}/grib_list_keys" ]; then
|
2024-05-02 07:23:00 +00:00
|
|
|
${tools_dir}/grib_list_keys $ECCODES_DEFINITION_PATH/boot.def > $tempOut
|
2024-08-08 08:59:28 +00:00
|
|
|
${tools_dir}/grib_list_keys $ECCODES_DEFINITION_PATH/grib2/templates/template.4.2000.def > $tempOut
|
|
|
|
${tools_dir}/grib_list_keys $ECCODES_DEFINITION_PATH/grib2/templates/template.3.0.def > $tempOut
|
|
|
|
${tools_dir}/grib_list_keys $ECCODES_DEFINITION_PATH/grib2/templates/template.3.120.def > $tempOut
|
2024-05-01 15:02:43 +00:00
|
|
|
fi
|
2024-05-01 14:50:18 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
# Clean up
|
|
|
|
rm -f $tempOut
|