Skip to content

Commit

Permalink
Examples/C: Consistent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Feb 26, 2025
1 parent ea6ef35 commit d8fa39b
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 27 deletions.
2 changes: 1 addition & 1 deletion examples/C/bufr_attributes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


#Define a common label for all the tmp files
label="bufr_attributes_test_c"
label="examples_c_bufr_attributes"

#Define tmp file
fTmp=${label}.tmp.txt
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
. ./include.ctest.sh

# Define a common label for all the tmp files
label="bufr_clone_test_c"
label="examples_c_bufr_clone"

fBufrTmp1=${label}.cloned1.bufr
fBufrTmp2=${label}.cloned2.bufr
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_copy_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
. ./include.ctest.sh

#Define a common label for all the tmp files
label="bufr_copy_data_c"
label="examples_c_bufr_copy_data"

TEMP_BUFR=$label.out.bufr
TEMP_TEXT=$label.out.txt
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_expanded.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
. ./include.ctest.sh

#Define a common label for all the tmp files
label="bufr_expanded_test_c"
label="examples_c_bufr_expanded"

#Prepare tmp file
fTmp=${label}.tmp.txt
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_get_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


#Define a common label for all the tmp files
label="bufr_get_keys_test_c"
label="examples_c_bufr_get_keys"

#Define tmp file
fTmp=${label}.tmp.txt
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_get_string_array.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
. ./include.ctest.sh

# Define a common label for all the tmp files
label="bufr_get_string_array_test_c"
label="examples_c_bufr_get_string_array"

# Define tmp file
fTmp=${label}.tmp.txt
Expand Down
3 changes: 1 addition & 2 deletions examples/C/bufr_keys_iterator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#

set -x
. ./include.ctest.sh


# Define a common label for all the tmp files
label="bufr_keys_iterator_test_c"
label="examples_c_bufr_keys_iterator"

# Define tmp file
fTmp=${label}".tmp.txt"
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_missing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


#Define a common label for all the tmp files
label="bufr_missing_test_c"
label="examples_c_bufr_missing"

#Define tmp file
fTmp=${label}.tmp.txt
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_read_header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
. ./include.ctest.sh

#Define a common label for all the tmp files
label="bufr_read_header_test_c"
label="examples_c_bufr_read_header"

#Prepare tmp file
fTmp=${label}.tmp.txt
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_read_scatterometer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


# Define a common label for all the tmp files
label="bufr_read_scatterometer_c"
label="examples_c_bufr_read_scatterometer"

# Define tmp file
fTmp=${label}.tmp.txt
Expand Down
3 changes: 1 addition & 2 deletions examples/C/bufr_read_synop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

. ./include.ctest.sh


#Define a common label for all the tmp files
label="bufr_read_synop_test_c"
label="examples_c_bufr_read_synop_test"

#Define tmp file
fTmp=${label}".tmp.txt"
Expand Down
3 changes: 1 addition & 2 deletions examples/C/bufr_read_temp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

. ./include.ctest.sh


#Define a common label for all the tmp files
label="bufr_read_temp_c"
label="examples_c_bufr_read_temp"

#Define tmp file
fTmp=${label}.tmp.txt
Expand Down
3 changes: 1 addition & 2 deletions examples/C/bufr_read_tempf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

. ./include.ctest.sh


#Define a common label for all the tmp files
label="bufr_read_tempf_c"
label="examples_c_bufr_read_tempf"
tempOut=temp.${label}.txt
tempRef=temp.${label}.ref
rm -f $tempRef $tempOut
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_set_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
. ./include.ctest.sh

# Define a common label for all the tmp files
label="bufr_set_keys_test_c"
label="examples_c_bufr_set_keys"
REDIRECT=/dev/null
fBufrTmp=${label}.tmp.bufr
rm -f $fBufrTmp
Expand Down
2 changes: 1 addition & 1 deletion examples/C/bufr_subset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
. ./include.ctest.sh

#Define a common label for all the tmp files
label="bufr_subset_test_c"
label="examples_c_bufr_subset"

#Prepare tmp file
fTmp=${label}.tmp.txt
Expand Down
2 changes: 1 addition & 1 deletion examples/C/get_product_kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

. ./include.ctest.sh

label="get_product_kind_c"
label="examples_c_get_product_kind"
fTmp=${label}.tmp
fOut=${label}.tmp.out
fRef=${label}.tmp.ref
Expand Down
2 changes: 1 addition & 1 deletion examples/C/get_product_kind_samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

. ./include.ctest.sh

label="get_product_kind_samples_c"
label="examples_c_get_product_kind_samples"
fTmp=${label}.tmp

sample_grib1=${ECCODES_SAMPLES_PATH}/GRIB1.tmpl
Expand Down
2 changes: 1 addition & 1 deletion examples/C/grib_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

. ./include.ctest.sh

label="grib_index_c"
label="examples_c_grib_index"
tempIndex=temp.$label.idx
tempText=temp.$label.txt

Expand Down
2 changes: 1 addition & 1 deletion examples/C/grib_mars_param.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

. ./include.ctest.sh

label="grib_mars_param_c"
label="examples_c_grib_mars_param"
fTmp=${label}.tmp
fOut=${label}.tmp.out
fRef=${label}.tmp.ref
Expand Down
2 changes: 1 addition & 1 deletion examples/C/grib_multi_write.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

. ./include.ctest.sh

label="grib_multi_write_c"
label="examples_c_grib_multi_write"
tempGrib=temp.$label.grib
tempText=temp.$label.txt

Expand Down
2 changes: 1 addition & 1 deletion examples/C/grib_nearest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ $HAVE_GEOGRAPHY -eq 0 ]; then
exit 0
fi

label="grib_nearest_c"
label="examples_c_grib_nearest"
tempTxt=temp.$label.txt
tempRef=temp.$label.ref

Expand Down
2 changes: 1 addition & 1 deletion examples/C/grib_nearest_multiple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ $HAVE_GEOGRAPHY -eq 0 ]; then
exit 0
fi

label="grib_nearest_multiple_c"
label="examples_c_grib_nearest_multiple"
temp1=$label.temp1.$$
temp2=$label.temp2.$$
tempRef=$label.ref.$$
Expand Down
2 changes: 1 addition & 1 deletion examples/C/grib_values_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
. ./include.ctest.sh

# Define a common label for all the tmp files
label="grib_values_check_c"
label="examples_c_grib_values_check"
tempErr=${label}.tmp.err
tempRef=${label}.tmp.ref

Expand Down

0 comments on commit d8fa39b

Please sign in to comment.