2014-03-31 12:57:06 +00:00
|
|
|
# data/CMakeLists.txt
|
|
|
|
add_subdirectory(tigge)
|
2014-08-05 16:04:23 +00:00
|
|
|
add_subdirectory(bufr)
|
2015-04-10 12:39:03 +00:00
|
|
|
add_subdirectory(metar)
|
2015-03-17 17:18:18 +00:00
|
|
|
add_subdirectory(gts)
|
2014-03-31 12:57:06 +00:00
|
|
|
|
|
|
|
|
2015-03-16 11:02:13 +00:00
|
|
|
# Download all the binary GRIB data from website
|
2014-03-31 12:57:06 +00:00
|
|
|
#
|
2015-03-16 11:02:13 +00:00
|
|
|
FILE(READ "grib_data_files.txt" files_to_download)
|
|
|
|
STRING(REGEX REPLACE "\n" ";" files_to_download "${files_to_download}")
|
2014-11-25 13:11:19 +00:00
|
|
|
if( HAVE_AEC )
|
|
|
|
LIST(APPEND files_to_download ccsds.grib2)
|
|
|
|
endif()
|
|
|
|
|
2015-03-11 17:33:46 +00:00
|
|
|
|
|
|
|
# Download all data files doing md5 check on each
|
2015-03-10 15:52:33 +00:00
|
|
|
ecbuild_get_test_multidata( TARGET get_gribs
|
|
|
|
NAMES ${files_to_download}
|
|
|
|
)
|
2014-03-31 12:57:06 +00:00
|
|
|
|
|
|
|
# Copy other files - e.g. reference data, text files etc from the source data dir
|
|
|
|
LIST(APPEND other_files
|
|
|
|
60_model_levels
|
|
|
|
bitmap.diff
|
|
|
|
ieee_test.good
|
|
|
|
index.ok
|
|
|
|
index_f90.ok
|
|
|
|
julian.out.good
|
|
|
|
list_points
|
|
|
|
local.good.log
|
|
|
|
ls.log
|
|
|
|
multi.ok
|
|
|
|
multi_step.txt
|
|
|
|
no_bitmap.diff
|
|
|
|
read_any.ok
|
|
|
|
scan_x_regular_gg_5_7_good.dump
|
|
|
|
scan_x_regular_ll_5_4_good.dump
|
|
|
|
scan_x_regular_ll_5_7_good.dump
|
|
|
|
scan_x_regular_ll_8_4_good.dump
|
|
|
|
scan_x_regular_ll_8_7_good.dump
|
|
|
|
scan_x_rotated_ll_5_4_good.dump
|
|
|
|
scan_x_rotated_ll_5_7_good.dump
|
|
|
|
scan_x_rotated_ll_8_4_good.dump
|
|
|
|
scan_x_rotated_ll_8_7_good.dump
|
|
|
|
scan_y_regular_ll_5_4_good.dump
|
|
|
|
scan_y_regular_ll_5_7_good.dump
|
|
|
|
scan_y_regular_ll_8_4_good.dump
|
|
|
|
scan_y_regular_ll_8_7_good.dump
|
|
|
|
scan_y_rotated_ll_5_4_good.dump
|
|
|
|
scan_y_rotated_ll_5_7_good.dump
|
|
|
|
scan_y_rotated_ll_8_4_good.dump
|
|
|
|
scan_y_rotated_ll_8_7_good.dump
|
|
|
|
spherical_model_level.grib1.good
|
|
|
|
spherical_model_level.grib1_32.good
|
|
|
|
statistics.out.good
|
|
|
|
step.log
|
|
|
|
step_grib1.filter
|
|
|
|
step_grib1.log
|
|
|
|
typeOfProcessedData.ok
|
2014-06-18 16:14:01 +00:00
|
|
|
tigge_pf_ecmwf.grib2.ref
|
2014-03-31 12:57:06 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
foreach( file ${other_files} )
|
|
|
|
execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${file} ${CMAKE_CURRENT_BINARY_DIR} )
|
|
|
|
endforeach()
|