Examples: rename copy_message.f90 to grib_copy_message.f90

This commit is contained in:
Shahram Najm 2016-08-25 16:28:20 +01:00
parent 5d9b87ec44
commit 42e265292f
11 changed files with 14 additions and 14 deletions

View File

@ -23,7 +23,7 @@ defined in a message and how to iterate through them.
\example grib_set_pv.f90 How to set the list of levels.
\example samples.f90 How to create a new message from a samples.
\example grib_clone.f90 How to clone a message.
\example copy_message.f90 How to copy a message in memory and create a new message.
\example grib_copy_message.f90 How to copy a message in memory and create a new message.
\example grib_keys_iterator.f90 How to get the names of all the keys
defined in a message and how to iterate through them.
\example grib_precision.f90 How to control precision when coding a grib field.

View File

@ -31,7 +31,7 @@ that can be taken as a starting point to write more complex programs.\n
- \ref grib_set_pv.f90 "grib_set_pv.f90" how to set the list of levels.
- \ref samples.f90 "samples.f90" how to create a new message from a template.
- \ref grib_clone.f90 "grib_clone.f90" how to clone a message.
- \ref copy_message.f90 "copy_message.f90" how to copy a message in memory and create a new message.
- \ref grib_copy_message.f90 "grib_copy_message.f90" how to copy a message in memory and create a new message.
- \ref grib_keys_iterator.f90 "grib_keys_iterator.f90" how to get the names of all the keys
defined in a message and how to iterate through them.
- \ref grib_precision.f90 "grib_precision.f90" how to control precision when coding a grib field.

View File

@ -33,11 +33,11 @@ bufr_get_keys
grib_index
grib_get_keys
grib_clone
grib_copy_message
count_messages
samples
set_missing
"
# Add later copy_message -> grib_copy_message
for fn in $fnames; do
perl -p -i -e "s|$fn\.f90|<a href=\"https://software.ecmwf.int/wiki/display/ECC/$fn\" target=\"_blank\">$fn.f90</a>|" $F90_file

View File

@ -9,7 +9,7 @@ execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_S
################################################
list( APPEND tests
grib_index
copy_message
grib_copy_message
bufr_copy_message
grib_get_keys
get_data

View File

@ -1,7 +1,7 @@
AM_CFLAGS = @WARN_PEDANTIC@ @WERROR@ @FORCE_32_CFLAGS@
TESTS = copy_message.sh grib_get_keys.sh get_data.sh get_pl.sh get_pv.sh grib_keys_iterator.sh \
TESTS = grib_copy_message.sh grib_get_keys.sh get_data.sh get_pl.sh get_pv.sh grib_keys_iterator.sh \
grib_nearest.sh grib_precision.sh grib_multi_write.sh grib_multi.sh \
grib_print_data.sh grib_set_keys.sh \
grib_set_bitmap.sh set_missing.sh grib_set_pv.sh samples.sh grib_count_messages.sh \
@ -15,7 +15,7 @@ TESTS = copy_message.sh grib_get_keys.sh get_data.sh get_pl.sh get_pv.sh grib_ke
bufr_read_tropical_cyclone.sh bufr_read_scatterometer.sh
noinst_PROGRAMS = eccodes_f_grib_index \
eccodes_f_copy_message \
eccodes_f_grib_copy_message \
eccodes_f_grib_get_keys \
eccodes_f_get_data \
eccodes_f_get_pl \
@ -57,7 +57,7 @@ noinst_PROGRAMS = eccodes_f_grib_index \
eccodes_f_bufr_read_scatterometer
eccodes_f_grib_index_SOURCES=grib_index.f90
eccodes_f_copy_message_SOURCES=copy_message.f90
eccodes_f_grib_copy_message_SOURCES=grib_copy_message.f90
eccodes_f_grib_get_keys_SOURCES=grib_get_keys.f90
eccodes_f_get_data_SOURCES=get_data.f90
eccodes_f_get_pl_SOURCES=get_pl.f90

View File

@ -12,7 +12,7 @@
INPUT="../../data/constant_field.grib1"
OUTPUT=out.copy.grib1
${examples_dir}eccodes_f_copy_message > /dev/null
${examples_dir}eccodes_f_grib_copy_message > /dev/null
${tools_dir}/grib_compare -b centre $INPUT $OUTPUT
rm -f $OUTPUT

View File

@ -35,7 +35,7 @@ module eccodes
!> gathered with @ref codes_get_error_string.
!>
!>
!> \b Examples: \ref copy_message.f90 "copy_message.f90"
!> \b Examples: \ref grib_copy_message.f90 "grib_copy_message.f90"
!>
!> @param id ID of the message loaded in memory
!> @param message array containing the coded message

View File

@ -1019,7 +1019,7 @@ end subroutine codes_bufr_new_from_file
!> exit with an error message.\n Otherwise the error message can be
!> gathered with @ref codes_get_error_string.
!>
!> \b Examples: \ref copy_message.f90 "copy_message.f90"
!> \b Examples: \ref grib_copy_message.f90 "grib_copy_message.f90"
!>
!> @param msgid id of the message loaded in memory
!> @param message character array containing the coded message
@ -1043,7 +1043,7 @@ end subroutine codes_new_from_message_char
!> gathered with @ref codes_get_error_string.
!>
!>
!> \b Examples: \ref copy_message.f90 "copy_message.f90"
!> \b Examples: \ref grib_copy_message.f90 "grib_copy_message.f90"
!>
!> @param msgid id of the message loaded in memory
!> @param message integer array containing the coded message

View File

@ -33,7 +33,7 @@ module grib_api
!> gathered with @ref grib_get_error_string.
!>
!>
!> \b Examples: \ref copy_message.f90 "copy_message.f90"
!> \b Examples: \ref grib_copy_message.f90 "grib_copy_message.f90"
!>
!> @param gribid id of the grib loaded in memory
!> @param message array containing the coded message

View File

@ -1349,7 +1349,7 @@
!> exit with an error message.\n Otherwise the error message can be
!> gathered with @ref grib_get_error_string.
!>
!> \b Examples: \ref copy_message.f90 "copy_message.f90"
!> \b Examples: \ref grib_copy_message.f90 "grib_copy_message.f90"
!>
!> @param gribid id of the grib loaded in memory
!> @param message character array containing the coded message
@ -1382,7 +1382,7 @@
!> gathered with @ref grib_get_error_string.
!>
!>
!> \b Examples: \ref copy_message.f90 "copy_message.f90"
!> \b Examples: \ref grib_copy_message.f90 "grib_copy_message.f90"
!>
!> @param gribid id of the grib loaded in memory
!> @param message integer array containing the coded message