diff --git a/ifs_samples/CMakeLists.txt b/ifs_samples/CMakeLists.txt index 1e25c2fd4..b8adeac06 100644 --- a/ifs_samples/CMakeLists.txt +++ b/ifs_samples/CMakeLists.txt @@ -20,10 +20,7 @@ function( install_samples samples destination_install destination_build ) endfunction() add_subdirectory( grib1 ) - add_subdirectory( grib1_mlgrib2 ) - # add_subdirectory( grib1_mlgrib2_ieee32 ) - add_subdirectory( grib1_mlgrib2_ieee64 ) - +add_subdirectory( grib1_mlgrib2_ccsds ) diff --git a/ifs_samples/grib1_mlgrib2_ccsds/CMakeLists.txt b/ifs_samples/grib1_mlgrib2_ccsds/CMakeLists.txt new file mode 100644 index 000000000..c82ba12dd --- /dev/null +++ b/ifs_samples/grib1_mlgrib2_ccsds/CMakeLists.txt @@ -0,0 +1,12 @@ +set( _basedir grib1_mlgrib2_ccsds ) +set( _destination_install ${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) +set( _destination_build ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} ) + +list( APPEND ifs_samples_${_basedir} + ${CMAKE_CURRENT_SOURCE_DIR}/gg_ml.tmpl + ${CMAKE_CURRENT_SOURCE_DIR}/gg_sfc_grib2.tmpl + ${CMAKE_CURRENT_SOURCE_DIR}/gg_sfc.tmpl + ${CMAKE_CURRENT_SOURCE_DIR}/sh_ml.tmpl + ${CMAKE_CURRENT_SOURCE_DIR}/sh_sfc.tmpl ) + +install_samples( ifs_samples_${_basedir} ${_destination_install} ${_destination_build} ) diff --git a/ifs_samples/grib1_mlgrib2_ccsds/gg_ml.tmpl b/ifs_samples/grib1_mlgrib2_ccsds/gg_ml.tmpl new file mode 100644 index 000000000..805ed81f5 Binary files /dev/null and b/ifs_samples/grib1_mlgrib2_ccsds/gg_ml.tmpl differ diff --git a/ifs_samples/grib1_mlgrib2_ccsds/gg_sfc.tmpl b/ifs_samples/grib1_mlgrib2_ccsds/gg_sfc.tmpl new file mode 100644 index 000000000..4f8371064 Binary files /dev/null and b/ifs_samples/grib1_mlgrib2_ccsds/gg_sfc.tmpl differ diff --git a/ifs_samples/grib1_mlgrib2_ccsds/gg_sfc_grib2.tmpl b/ifs_samples/grib1_mlgrib2_ccsds/gg_sfc_grib2.tmpl new file mode 100644 index 000000000..94ddf628d Binary files /dev/null and b/ifs_samples/grib1_mlgrib2_ccsds/gg_sfc_grib2.tmpl differ diff --git a/ifs_samples/grib1_mlgrib2_ccsds/sh_ml.tmpl b/ifs_samples/grib1_mlgrib2_ccsds/sh_ml.tmpl new file mode 100644 index 000000000..52858b87f Binary files /dev/null and b/ifs_samples/grib1_mlgrib2_ccsds/sh_ml.tmpl differ diff --git a/ifs_samples/grib1_mlgrib2_ccsds/sh_sfc.tmpl b/ifs_samples/grib1_mlgrib2_ccsds/sh_sfc.tmpl new file mode 100644 index 000000000..957d49f91 Binary files /dev/null and b/ifs_samples/grib1_mlgrib2_ccsds/sh_sfc.tmpl differ