From 73c79afd024061b0f2342a00435a80c7e4585ae8 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 29 Jan 2024 17:30:19 +0000 Subject: [PATCH] Examples: sections copy --- examples/C/grib_sections_copy.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/C/grib_sections_copy.sh b/examples/C/grib_sections_copy.sh index 13cdf6a69..eb69f7d23 100755 --- a/examples/C/grib_sections_copy.sh +++ b/examples/C/grib_sections_copy.sh @@ -13,6 +13,13 @@ REGUL_GRID_FILE=${proj_dir}/samples/regular_ll_sfc_grib2.tmpl GAUSS_GRID_FILE=${proj_dir}/samples/reduced_gg_pl_640_grib2.tmpl OUTPUT=temp.sections.grib + +sample_pv=$ECCODES_SAMPLES_PATH/reduced_gg_ml_grib1.tmpl +sample_g1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl +${examples_dir}/c_grib_sections_copy $sample_pv $sample_g1 l $OUTPUT +${examples_dir}/c_grib_sections_copy $sample_pv $sample_pv g $OUTPUT + + ################## # Copy the GRID section from REGUL_GRID_FILE ${examples_dir}/c_grib_sections_copy $REGUL_GRID_FILE $GAUSS_GRID_FILE g $OUTPUT >/dev/null