Examples: sections copy

This commit is contained in:
Shahram Najm 2024-01-29 17:30:19 +00:00
parent a97fef24f7
commit 73c79afd02
1 changed files with 7 additions and 0 deletions

View File

@ -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