mirror of https://github.com/ecmwf/eccodes.git
Rename example
This commit is contained in:
parent
91249430dc
commit
b5c06c0257
|
@ -29,7 +29,7 @@ list( APPEND test_bins
|
|||
grib_set_pv
|
||||
grib_list
|
||||
grib_get_data
|
||||
sections_copy
|
||||
grib_sections_copy
|
||||
grib_iterator_bitmap
|
||||
large_grib1
|
||||
grib_clone
|
||||
|
@ -65,7 +65,7 @@ list( APPEND tests_basic
|
|||
grib_multi
|
||||
grib_set_data
|
||||
large_grib1
|
||||
sections_copy
|
||||
grib_sections_copy
|
||||
get_product_kind_samples
|
||||
)
|
||||
list( APPEND tests_extra
|
||||
|
|
|
@ -12,7 +12,7 @@ TESTS = grib_iterator.sh \
|
|||
grib_list.sh \
|
||||
large_grib1.sh \
|
||||
grib_get_data.sh \
|
||||
sections_copy.sh \
|
||||
grib_sections_copy.sh \
|
||||
set_missing.sh \
|
||||
grib_clone.sh \
|
||||
grib_set_pv.sh \
|
||||
|
@ -50,7 +50,7 @@ noinst_PROGRAMS = c_grib_nearest \
|
|||
c_grib_precision \
|
||||
c_grib_set_pv \
|
||||
c_grib_list \
|
||||
c_sections_copy \
|
||||
c_grib_sections_copy \
|
||||
c_large_grib1 \
|
||||
c_grib_get_data \
|
||||
c_grib_iterator_bitmap \
|
||||
|
@ -95,7 +95,7 @@ c_grib_iterator_bitmap_SOURCES = grib_iterator_bitmap.c
|
|||
c_grib_set_pv_SOURCES = grib_set_pv.c
|
||||
c_grib_nearest_multiple_SOURCES = grib_nearest_multiple.c
|
||||
c_grib_list_SOURCES = grib_list.c
|
||||
c_sections_copy_SOURCES = sections_copy.c
|
||||
c_grib_sections_copy_SOURCES = grib_sections_copy.c
|
||||
c_large_grib1_SOURCES = large_grib1.c
|
||||
c_grib_precision_SOURCES = grib_precision.c
|
||||
c_grib_get_data_SOURCES = grib_get_data.c
|
||||
|
|
|
@ -15,7 +15,7 @@ OUTPUT=temp.sections.grib
|
|||
|
||||
##################
|
||||
# Copy the GRID section from REGUL_GRID_FILE
|
||||
${examples_dir}/c_sections_copy $REGUL_GRID_FILE $GAUSS_GRID_FILE g $OUTPUT >/dev/null
|
||||
${examples_dir}/c_grib_sections_copy $REGUL_GRID_FILE $GAUSS_GRID_FILE g $OUTPUT >/dev/null
|
||||
|
||||
# Now the output should have a regular grid
|
||||
# but its date should be the same as the Gaussian grid sample
|
||||
|
@ -25,7 +25,7 @@ grid_tmpl=`${tools_dir}/grib_get -p gridType,date $OUTPUT`
|
|||
|
||||
##################
|
||||
# Copy the GRID section from GAUSS_GRID_FILE
|
||||
${examples_dir}/c_sections_copy $GAUSS_GRID_FILE $REGUL_GRID_FILE g $OUTPUT >/dev/null
|
||||
${examples_dir}/c_grib_sections_copy $GAUSS_GRID_FILE $REGUL_GRID_FILE g $OUTPUT >/dev/null
|
||||
|
||||
# Now the output should have a gaussian grid
|
||||
# but its date should be the same as the regular grid
|
||||
|
@ -35,7 +35,7 @@ grid_tmpl=`${tools_dir}/grib_get -p gridType,date $OUTPUT`
|
|||
|
||||
##################
|
||||
# Copy both the PRODUCT and GRID sections from REGUL_GRID_FILE
|
||||
${examples_dir}/c_sections_copy $REGUL_GRID_FILE $GAUSS_GRID_FILE gp $OUTPUT >/dev/null
|
||||
${examples_dir}/c_grib_sections_copy $REGUL_GRID_FILE $GAUSS_GRID_FILE gp $OUTPUT >/dev/null
|
||||
|
||||
# Now the output should have a regular grid
|
||||
# and its date should be the same as the regular latlon
|
||||
|
@ -45,7 +45,7 @@ grid_tmpl=`${tools_dir}/grib_get -p gridType,date $OUTPUT`
|
|||
|
||||
##################
|
||||
# Copy all sections from REGUL_GRID_FILE (use commas)
|
||||
${examples_dir}/c_sections_copy $REGUL_GRID_FILE $GAUSS_GRID_FILE p,l,g,d,b $OUTPUT >/dev/null
|
||||
${examples_dir}/c_grib_sections_copy $REGUL_GRID_FILE $GAUSS_GRID_FILE p,l,g,d,b $OUTPUT >/dev/null
|
||||
|
||||
# Now the output should be identical to the regular grib
|
||||
${tools_dir}/grib_compare $REGUL_GRID_FILE $OUTPUT
|
Loading…
Reference in New Issue