From be15f9f2c818d5c6a27b6e0e04503932b7aced2e Mon Sep 17 00:00:00 2001 From: AlysonStahl-NOAA <166434581+AlysonStahl-NOAA@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:10:12 -0700 Subject: [PATCH 1/2] move *.dat files to new data directory --- {wgrib2 => data}/BUFRTable_0_01_007.dat | 0 {wgrib2 => data}/BUFRTable_0_02_019.dat | 0 {wgrib2 => data}/BUFRTable_0_02_020.dat | 0 {wgrib2 => data}/CodeTable_0.0.dat | 0 {wgrib2 => data}/CodeTable_1.2.dat | 0 {wgrib2 => data}/CodeTable_1.3.dat | 0 {wgrib2 => data}/CodeTable_1.4.dat | 0 {wgrib2 => data}/CodeTable_3.1.dat | 0 {wgrib2 => data}/CodeTable_3.11.dat | 0 {wgrib2 => data}/CodeTable_3.15.dat | 0 {wgrib2 => data}/CodeTable_3.2.dat | 0 {wgrib2 => data}/CodeTable_3.20.dat | 0 {wgrib2 => data}/CodeTable_3.21.dat | 0 {wgrib2 => data}/CodeTable_3.8.dat | 0 {wgrib2 => data}/CodeTable_4.0.dat | 0 {wgrib2 => data}/CodeTable_4.10.dat | 0 {wgrib2 => data}/CodeTable_4.10_need_to_edit.dat | 0 {wgrib2 => data}/CodeTable_4.11.dat | 0 {wgrib2 => data}/CodeTable_4.15.dat | 0 {wgrib2 => data}/CodeTable_4.15_short.dat | 0 {wgrib2 => data}/CodeTable_4.16.dat | 0 {wgrib2 => data}/CodeTable_4.208.dat | 0 {wgrib2 => data}/CodeTable_4.212.dat | 0 {wgrib2 => data}/CodeTable_4.222.dat | 0 {wgrib2 => data}/CodeTable_4.235.dat | 0 {wgrib2 => data}/CodeTable_4.240.dat | 0 {wgrib2 => data}/CodeTable_4.3.dat | 0 {wgrib2 => data}/CodeTable_4.4.dat | 0 {wgrib2 => data}/CodeTable_4.7.dat | 0 {wgrib2 => data}/CodeTable_4.7_need_to_edit.dat | 0 {wgrib2 => data}/CodeTable_4.8.dat | 0 {wgrib2 => data}/CodeTable_4.9.dat | 0 {wgrib2 => data}/CodeTable_4.91.dat | 0 {wgrib2 => data}/CodeTable_5.0.dat | 0 {wgrib2 => data}/CodeTable_5.1.dat | 0 {wgrib2 => data}/CodeTable_6.0.dat | 0 {wgrib2 => data}/code_table0.dat | 0 {wgrib2 => data}/ncep_tableC.dat | 0 38 files changed, 0 insertions(+), 0 deletions(-) rename {wgrib2 => data}/BUFRTable_0_01_007.dat (100%) rename {wgrib2 => data}/BUFRTable_0_02_019.dat (100%) rename {wgrib2 => data}/BUFRTable_0_02_020.dat (100%) rename {wgrib2 => data}/CodeTable_0.0.dat (100%) rename {wgrib2 => data}/CodeTable_1.2.dat (100%) rename {wgrib2 => data}/CodeTable_1.3.dat (100%) rename {wgrib2 => data}/CodeTable_1.4.dat (100%) rename {wgrib2 => data}/CodeTable_3.1.dat (100%) rename {wgrib2 => data}/CodeTable_3.11.dat (100%) rename {wgrib2 => data}/CodeTable_3.15.dat (100%) rename {wgrib2 => data}/CodeTable_3.2.dat (100%) rename {wgrib2 => data}/CodeTable_3.20.dat (100%) rename {wgrib2 => data}/CodeTable_3.21.dat (100%) rename {wgrib2 => data}/CodeTable_3.8.dat (100%) rename {wgrib2 => data}/CodeTable_4.0.dat (100%) rename {wgrib2 => data}/CodeTable_4.10.dat (100%) rename {wgrib2 => data}/CodeTable_4.10_need_to_edit.dat (100%) rename {wgrib2 => data}/CodeTable_4.11.dat (100%) rename {wgrib2 => data}/CodeTable_4.15.dat (100%) rename {wgrib2 => data}/CodeTable_4.15_short.dat (100%) rename {wgrib2 => data}/CodeTable_4.16.dat (100%) rename {wgrib2 => data}/CodeTable_4.208.dat (100%) rename {wgrib2 => data}/CodeTable_4.212.dat (100%) rename {wgrib2 => data}/CodeTable_4.222.dat (100%) rename {wgrib2 => data}/CodeTable_4.235.dat (100%) rename {wgrib2 => data}/CodeTable_4.240.dat (100%) rename {wgrib2 => data}/CodeTable_4.3.dat (100%) rename {wgrib2 => data}/CodeTable_4.4.dat (100%) rename {wgrib2 => data}/CodeTable_4.7.dat (100%) rename {wgrib2 => data}/CodeTable_4.7_need_to_edit.dat (100%) rename {wgrib2 => data}/CodeTable_4.8.dat (100%) rename {wgrib2 => data}/CodeTable_4.9.dat (100%) rename {wgrib2 => data}/CodeTable_4.91.dat (100%) rename {wgrib2 => data}/CodeTable_5.0.dat (100%) rename {wgrib2 => data}/CodeTable_5.1.dat (100%) rename {wgrib2 => data}/CodeTable_6.0.dat (100%) rename {wgrib2 => data}/code_table0.dat (100%) rename {wgrib2 => data}/ncep_tableC.dat (100%) diff --git a/wgrib2/BUFRTable_0_01_007.dat b/data/BUFRTable_0_01_007.dat similarity index 100% rename from wgrib2/BUFRTable_0_01_007.dat rename to data/BUFRTable_0_01_007.dat diff --git a/wgrib2/BUFRTable_0_02_019.dat b/data/BUFRTable_0_02_019.dat similarity index 100% rename from wgrib2/BUFRTable_0_02_019.dat rename to data/BUFRTable_0_02_019.dat diff --git a/wgrib2/BUFRTable_0_02_020.dat b/data/BUFRTable_0_02_020.dat similarity index 100% rename from wgrib2/BUFRTable_0_02_020.dat rename to data/BUFRTable_0_02_020.dat diff --git a/wgrib2/CodeTable_0.0.dat b/data/CodeTable_0.0.dat similarity index 100% rename from wgrib2/CodeTable_0.0.dat rename to data/CodeTable_0.0.dat diff --git a/wgrib2/CodeTable_1.2.dat b/data/CodeTable_1.2.dat similarity index 100% rename from wgrib2/CodeTable_1.2.dat rename to data/CodeTable_1.2.dat diff --git a/wgrib2/CodeTable_1.3.dat b/data/CodeTable_1.3.dat similarity index 100% rename from wgrib2/CodeTable_1.3.dat rename to data/CodeTable_1.3.dat diff --git a/wgrib2/CodeTable_1.4.dat b/data/CodeTable_1.4.dat similarity index 100% rename from wgrib2/CodeTable_1.4.dat rename to data/CodeTable_1.4.dat diff --git a/wgrib2/CodeTable_3.1.dat b/data/CodeTable_3.1.dat similarity index 100% rename from wgrib2/CodeTable_3.1.dat rename to data/CodeTable_3.1.dat diff --git a/wgrib2/CodeTable_3.11.dat b/data/CodeTable_3.11.dat similarity index 100% rename from wgrib2/CodeTable_3.11.dat rename to data/CodeTable_3.11.dat diff --git a/wgrib2/CodeTable_3.15.dat b/data/CodeTable_3.15.dat similarity index 100% rename from wgrib2/CodeTable_3.15.dat rename to data/CodeTable_3.15.dat diff --git a/wgrib2/CodeTable_3.2.dat b/data/CodeTable_3.2.dat similarity index 100% rename from wgrib2/CodeTable_3.2.dat rename to data/CodeTable_3.2.dat diff --git a/wgrib2/CodeTable_3.20.dat b/data/CodeTable_3.20.dat similarity index 100% rename from wgrib2/CodeTable_3.20.dat rename to data/CodeTable_3.20.dat diff --git a/wgrib2/CodeTable_3.21.dat b/data/CodeTable_3.21.dat similarity index 100% rename from wgrib2/CodeTable_3.21.dat rename to data/CodeTable_3.21.dat diff --git a/wgrib2/CodeTable_3.8.dat b/data/CodeTable_3.8.dat similarity index 100% rename from wgrib2/CodeTable_3.8.dat rename to data/CodeTable_3.8.dat diff --git a/wgrib2/CodeTable_4.0.dat b/data/CodeTable_4.0.dat similarity index 100% rename from wgrib2/CodeTable_4.0.dat rename to data/CodeTable_4.0.dat diff --git a/wgrib2/CodeTable_4.10.dat b/data/CodeTable_4.10.dat similarity index 100% rename from wgrib2/CodeTable_4.10.dat rename to data/CodeTable_4.10.dat diff --git a/wgrib2/CodeTable_4.10_need_to_edit.dat b/data/CodeTable_4.10_need_to_edit.dat similarity index 100% rename from wgrib2/CodeTable_4.10_need_to_edit.dat rename to data/CodeTable_4.10_need_to_edit.dat diff --git a/wgrib2/CodeTable_4.11.dat b/data/CodeTable_4.11.dat similarity index 100% rename from wgrib2/CodeTable_4.11.dat rename to data/CodeTable_4.11.dat diff --git a/wgrib2/CodeTable_4.15.dat b/data/CodeTable_4.15.dat similarity index 100% rename from wgrib2/CodeTable_4.15.dat rename to data/CodeTable_4.15.dat diff --git a/wgrib2/CodeTable_4.15_short.dat b/data/CodeTable_4.15_short.dat similarity index 100% rename from wgrib2/CodeTable_4.15_short.dat rename to data/CodeTable_4.15_short.dat diff --git a/wgrib2/CodeTable_4.16.dat b/data/CodeTable_4.16.dat similarity index 100% rename from wgrib2/CodeTable_4.16.dat rename to data/CodeTable_4.16.dat diff --git a/wgrib2/CodeTable_4.208.dat b/data/CodeTable_4.208.dat similarity index 100% rename from wgrib2/CodeTable_4.208.dat rename to data/CodeTable_4.208.dat diff --git a/wgrib2/CodeTable_4.212.dat b/data/CodeTable_4.212.dat similarity index 100% rename from wgrib2/CodeTable_4.212.dat rename to data/CodeTable_4.212.dat diff --git a/wgrib2/CodeTable_4.222.dat b/data/CodeTable_4.222.dat similarity index 100% rename from wgrib2/CodeTable_4.222.dat rename to data/CodeTable_4.222.dat diff --git a/wgrib2/CodeTable_4.235.dat b/data/CodeTable_4.235.dat similarity index 100% rename from wgrib2/CodeTable_4.235.dat rename to data/CodeTable_4.235.dat diff --git a/wgrib2/CodeTable_4.240.dat b/data/CodeTable_4.240.dat similarity index 100% rename from wgrib2/CodeTable_4.240.dat rename to data/CodeTable_4.240.dat diff --git a/wgrib2/CodeTable_4.3.dat b/data/CodeTable_4.3.dat similarity index 100% rename from wgrib2/CodeTable_4.3.dat rename to data/CodeTable_4.3.dat diff --git a/wgrib2/CodeTable_4.4.dat b/data/CodeTable_4.4.dat similarity index 100% rename from wgrib2/CodeTable_4.4.dat rename to data/CodeTable_4.4.dat diff --git a/wgrib2/CodeTable_4.7.dat b/data/CodeTable_4.7.dat similarity index 100% rename from wgrib2/CodeTable_4.7.dat rename to data/CodeTable_4.7.dat diff --git a/wgrib2/CodeTable_4.7_need_to_edit.dat b/data/CodeTable_4.7_need_to_edit.dat similarity index 100% rename from wgrib2/CodeTable_4.7_need_to_edit.dat rename to data/CodeTable_4.7_need_to_edit.dat diff --git a/wgrib2/CodeTable_4.8.dat b/data/CodeTable_4.8.dat similarity index 100% rename from wgrib2/CodeTable_4.8.dat rename to data/CodeTable_4.8.dat diff --git a/wgrib2/CodeTable_4.9.dat b/data/CodeTable_4.9.dat similarity index 100% rename from wgrib2/CodeTable_4.9.dat rename to data/CodeTable_4.9.dat diff --git a/wgrib2/CodeTable_4.91.dat b/data/CodeTable_4.91.dat similarity index 100% rename from wgrib2/CodeTable_4.91.dat rename to data/CodeTable_4.91.dat diff --git a/wgrib2/CodeTable_5.0.dat b/data/CodeTable_5.0.dat similarity index 100% rename from wgrib2/CodeTable_5.0.dat rename to data/CodeTable_5.0.dat diff --git a/wgrib2/CodeTable_5.1.dat b/data/CodeTable_5.1.dat similarity index 100% rename from wgrib2/CodeTable_5.1.dat rename to data/CodeTable_5.1.dat diff --git a/wgrib2/CodeTable_6.0.dat b/data/CodeTable_6.0.dat similarity index 100% rename from wgrib2/CodeTable_6.0.dat rename to data/CodeTable_6.0.dat diff --git a/wgrib2/code_table0.dat b/data/code_table0.dat similarity index 100% rename from wgrib2/code_table0.dat rename to data/code_table0.dat diff --git a/wgrib2/ncep_tableC.dat b/data/ncep_tableC.dat similarity index 100% rename from wgrib2/ncep_tableC.dat rename to data/ncep_tableC.dat From a49a5af63f5d39a2ccfaf3042c09b713ea680a07 Mon Sep 17 00:00:00 2001 From: AlysonStahl-NOAA <166434581+AlysonStahl-NOAA@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:27:55 -0700 Subject: [PATCH 2/2] include data directory --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3edc0988..e68cda93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,7 +151,8 @@ message(STATUS "Writing config.h...") configure_file("${PROJECT_SOURCE_DIR}/wgrib2/config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h") include_directories(${CMAKE_CURRENT_BINARY_DIR}) -message(STATUS "Adding wgrib2, aux_probs subdirectories...") +message(STATUS "Adding wgrib2, aux_probs, and data subdirectories...") +include_directories(data) add_subdirectory(wgrib2) add_subdirectory(aux_progs)