Skip to content

Commit

Permalink
Examples: Use consistent labelling
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Jan 18, 2024
1 parent 92d3ec5 commit 12c31bb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions examples/C/grib_index.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/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_index_c"
tempIndex=temp.$label.idx

input=$data_dir/tigge_cf_ecmwf.grib2
${examples_dir}/c_grib_index $input $tempIndex

rm -f $tempIndex
2 changes: 1 addition & 1 deletion examples/C/grib_nearest_multiple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

. ./include.ctest.sh

label="grib_nearest_multiple"
label="grib_nearest_multiple_c"
temp1=$label.temp1.$$
temp2=$label.temp2.$$
tempRef=$label.ref.$$
Expand Down

0 comments on commit 12c31bb

Please sign in to comment.