metkitlib 1.16.0.9__cp312-cp312-manylinux_2_28_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. metkitlib/__init__.py +3 -0
  2. metkitlib/bin/bufr-sanity-check +0 -0
  3. metkitlib/bin/compare-mars-requests.py +265 -0
  4. metkitlib/bin/mars-archive-script +0 -0
  5. metkitlib/bin/parse-mars-request +0 -0
  6. metkitlib/include/metkit/api/metkit_c.h +255 -0
  7. metkitlib/include/metkit/codes/BUFRDecoder.h +47 -0
  8. metkitlib/include/metkit/codes/BufrContent.h +43 -0
  9. metkitlib/include/metkit/codes/CodesContent.h +67 -0
  10. metkitlib/include/metkit/codes/CodesHandleDeleter.h +41 -0
  11. metkitlib/include/metkit/codes/CodesSplitter.h +40 -0
  12. metkitlib/include/metkit/codes/GRIBDecoder.h +42 -0
  13. metkitlib/include/metkit/codes/GribAccessor.h +75 -0
  14. metkitlib/include/metkit/codes/GribHandle.h +121 -0
  15. metkitlib/include/metkit/codes/GribIterator.h +48 -0
  16. metkitlib/include/metkit/codes/LibEccodes.h +38 -0
  17. metkitlib/include/metkit/codes/MallocCodesContent.h +46 -0
  18. metkitlib/include/metkit/codes/api/CodesAPI.h +365 -0
  19. metkitlib/include/metkit/codes/api/CodesTypes.h +93 -0
  20. metkitlib/include/metkit/codes/api/GeoIterator.h +104 -0
  21. metkitlib/include/metkit/codes/api/KeyIterator.h +187 -0
  22. metkitlib/include/metkit/config/LibMetkit.h +56 -0
  23. metkitlib/include/metkit/fields/FieldIndex.h +58 -0
  24. metkitlib/include/metkit/fields/FieldIndexList.h +40 -0
  25. metkitlib/include/metkit/fields/SimpleFieldIndex.h +41 -0
  26. metkitlib/include/metkit/hypercube/HyperCube.h +105 -0
  27. metkitlib/include/metkit/hypercube/HyperCubePayloaded.h +88 -0
  28. metkitlib/include/metkit/mars/BaseProtocol.h +95 -0
  29. metkitlib/include/metkit/mars/ClientTask.h +206 -0
  30. metkitlib/include/metkit/mars/DHSProtocol.h +106 -0
  31. metkitlib/include/metkit/mars/MarsExpandContext.h +42 -0
  32. metkitlib/include/metkit/mars/MarsExpansion.h +83 -0
  33. metkitlib/include/metkit/mars/MarsExpension.h +28 -0
  34. metkitlib/include/metkit/mars/MarsHandle.h +83 -0
  35. metkitlib/include/metkit/mars/MarsLanguage.h +106 -0
  36. metkitlib/include/metkit/mars/MarsLocation.h +100 -0
  37. metkitlib/include/metkit/mars/MarsParsedRequest.h +44 -0
  38. metkitlib/include/metkit/mars/MarsParser.h +70 -0
  39. metkitlib/include/metkit/mars/MarsRequest.h +198 -0
  40. metkitlib/include/metkit/mars/MarsRequestHandle.h +79 -0
  41. metkitlib/include/metkit/mars/Matcher.h +88 -0
  42. metkitlib/include/metkit/mars/Param.b +43 -0
  43. metkitlib/include/metkit/mars/Param.h +84 -0
  44. metkitlib/include/metkit/mars/ParamID.h +306 -0
  45. metkitlib/include/metkit/mars/Parameter.h +87 -0
  46. metkitlib/include/metkit/mars/Quantile.h +73 -0
  47. metkitlib/include/metkit/mars/RequestEnvironment.h +58 -0
  48. metkitlib/include/metkit/mars/StepRange.b +43 -0
  49. metkitlib/include/metkit/mars/StepRange.h +164 -0
  50. metkitlib/include/metkit/mars/StepRangeNormalise.h +95 -0
  51. metkitlib/include/metkit/mars/Type.h +265 -0
  52. metkitlib/include/metkit/mars/TypeAny.h +39 -0
  53. metkitlib/include/metkit/mars/TypeDate.h +42 -0
  54. metkitlib/include/metkit/mars/TypeEnum.h +67 -0
  55. metkitlib/include/metkit/mars/TypeExpver.h +40 -0
  56. metkitlib/include/metkit/mars/TypeFloat.h +41 -0
  57. metkitlib/include/metkit/mars/TypeInteger.h +55 -0
  58. metkitlib/include/metkit/mars/TypeLowercase.h +38 -0
  59. metkitlib/include/metkit/mars/TypeMixed.h +47 -0
  60. metkitlib/include/metkit/mars/TypeParam.h +45 -0
  61. metkitlib/include/metkit/mars/TypeRange.h +41 -0
  62. metkitlib/include/metkit/mars/TypeRegex.h +49 -0
  63. metkitlib/include/metkit/mars/TypeTime.h +44 -0
  64. metkitlib/include/metkit/mars/TypeToByList.h +137 -0
  65. metkitlib/include/metkit/mars/TypeToByListQuantile.h +41 -0
  66. metkitlib/include/metkit/mars/TypesFactory.h +92 -0
  67. metkitlib/include/metkit/metkit_config.h +26 -0
  68. metkitlib/include/metkit/metkit_ecbuild_config.h +72 -0
  69. metkitlib/include/metkit/metkit_version.h +30 -0
  70. metkitlib/include/metkit/pointdb/DataSource.h +91 -0
  71. metkitlib/include/metkit/pointdb/FieldIndexer.h +128 -0
  72. metkitlib/include/metkit/pointdb/GribDataSource.h +47 -0
  73. metkitlib/include/metkit/pointdb/GribFieldInfo.h +76 -0
  74. metkitlib/include/metkit/pointdb/GribHandleDataSource.h +58 -0
  75. metkitlib/include/metkit/pointdb/PointIndex.h +121 -0
  76. metkitlib/include/metkit/pointdb/bits.h +1834 -0
  77. metkitlib/include/metkit/pointdb/masks.h +22 -0
  78. metkitlib/include/metkit/tool/MetkitTool.h +79 -0
  79. metkitlib/lib64/cmake/metkit/metkit-config-version.cmake +43 -0
  80. metkitlib/lib64/cmake/metkit/metkit-config.cmake +112 -0
  81. metkitlib/lib64/cmake/metkit/metkit-import.cmake +14 -0
  82. metkitlib/lib64/cmake/metkit/metkit-targets-relwithdebinfo.cmake +46 -0
  83. metkitlib/lib64/cmake/metkit/metkit-targets.cmake +116 -0
  84. metkitlib/lib64/libmetkit.so +0 -0
  85. metkitlib/lib64/pkgconfig/metkit.pc +33 -0
  86. metkitlib/share/metkit/axis.yaml +63 -0
  87. metkitlib/share/metkit/bufr-subtypes.yaml +140 -0
  88. metkitlib/share/metkit/chemids.yaml +209 -0
  89. metkitlib/share/metkit/language.yaml +1707 -0
  90. metkitlib/share/metkit/modifiers.yaml +341 -0
  91. metkitlib/share/metkit/obstype.yaml +182 -0
  92. metkitlib/share/metkit/odb/marsrequest.yaml +9 -0
  93. metkitlib/share/metkit/param-matching.yaml +16 -0
  94. metkitlib/share/metkit/paramids.yaml +24034 -0
  95. metkitlib/share/metkit/params-static.yaml +212 -0
  96. metkitlib/share/metkit/params.yaml +9833 -0
  97. metkitlib/share/metkit/reportype.yaml +525 -0
  98. metkitlib/share/metkit/shortname-context.yaml +192 -0
  99. metkitlib-1.16.0.9.dist-info/METADATA +75 -0
  100. metkitlib-1.16.0.9.dist-info/RECORD +104 -0
  101. metkitlib-1.16.0.9.dist-info/WHEEL +5 -0
  102. metkitlib-1.16.0.9.dist-info/licenses/AUTHORS +12 -0
  103. metkitlib-1.16.0.9.dist-info/licenses/LICENSE +190 -0
  104. metkitlib-1.16.0.9.dist-info/top_level.txt +1 -0
@@ -0,0 +1,22 @@
1
+ /*
2
+ * (C) Copyright 1996-2013 ECMWF.
3
+ *
4
+ * This software is licensed under the terms of the Apache Licence Version 2.0
5
+ * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * In applying this licence, ECMWF does not waive the privileges and immunities
7
+ * granted to it by virtue of its status as an intergovernmental organisation nor
8
+ * does it submit to any jurisdiction.
9
+ */
10
+ 0x0, 0x8000000000000000, 0xc000000000000000, 0xe000000000000000, 0xf000000000000000, 0xf800000000000000,
11
+ 0xfc00000000000000, 0xfe00000000000000, 0xff00000000000000, 0xff80000000000000, 0xffc0000000000000,
12
+ 0xffe0000000000000, 0xfff0000000000000, 0xfff8000000000000, 0xfffc000000000000, 0xfffe000000000000,
13
+ 0xffff000000000000, 0xffff800000000000, 0xffffc00000000000, 0xffffe00000000000, 0xfffff00000000000,
14
+ 0xfffff80000000000, 0xfffffc0000000000, 0xfffffe0000000000, 0xffffff0000000000, 0xffffff8000000000,
15
+ 0xffffffc000000000, 0xffffffe000000000, 0xfffffff000000000, 0xfffffff800000000, 0xfffffffc00000000,
16
+ 0xfffffffe00000000, 0xffffffff00000000, 0xffffffff80000000, 0xffffffffc0000000, 0xffffffffe0000000,
17
+ 0xfffffffff0000000, 0xfffffffff8000000, 0xfffffffffc000000, 0xfffffffffe000000, 0xffffffffff000000,
18
+ 0xffffffffff800000, 0xffffffffffc00000, 0xffffffffffe00000, 0xfffffffffff00000, 0xfffffffffff80000,
19
+ 0xfffffffffffc0000, 0xfffffffffffe0000, 0xffffffffffff0000, 0xffffffffffff8000, 0xffffffffffffc000,
20
+ 0xffffffffffffe000, 0xfffffffffffff000, 0xfffffffffffff800, 0xfffffffffffffc00, 0xfffffffffffffe00,
21
+ 0xffffffffffffff00, 0xffffffffffffff80, 0xffffffffffffffc0, 0xffffffffffffffe0, 0xfffffffffffffff0,
22
+ 0xfffffffffffffff8, 0xfffffffffffffffc, 0xfffffffffffffffe,
@@ -0,0 +1,79 @@
1
+ /*
2
+ * (C) Copyright 1996- ECMWF.
3
+ *
4
+ * This software is licensed under the terms of the Apache Licence Version 2.0
5
+ * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * In applying this licence, ECMWF does not waive the privileges and immunities
7
+ * granted to it by virtue of its status as an intergovernmental organisation nor
8
+ * does it submit to any jurisdiction.
9
+ */
10
+
11
+ /// @file MetkitTool.h
12
+ /// @author Tiago Quintino
13
+ /// @date Mar 2020
14
+
15
+ #ifndef metkit_MetkitTool_H
16
+ #define metkit_MetkitTool_H
17
+
18
+ #include <vector>
19
+
20
+ #include "eckit/exception/Exceptions.h"
21
+ #include "eckit/runtime/Tool.h"
22
+
23
+ namespace eckit {
24
+ namespace option {
25
+ class Option;
26
+ class CmdArgs;
27
+ } // namespace option
28
+ } // namespace eckit
29
+
30
+ namespace metkit {
31
+
32
+ //----------------------------------------------------------------------------------------------------------------------
33
+
34
+ class MetkitTool : public eckit::Tool {
35
+
36
+ public: // methods
37
+
38
+ MetkitTool(int argc, char** argv);
39
+
40
+ virtual void usage(const std::string& tool) const;
41
+
42
+ protected: // methods
43
+
44
+ using options_t = std::vector<eckit::option::Option*>;
45
+
46
+ protected: // members
47
+
48
+ options_t options_;
49
+
50
+ bool porcelain_ = false;
51
+
52
+ private: // methods
53
+
54
+ virtual void init(const eckit::option::CmdArgs& args);
55
+ virtual void execute(const eckit::option::CmdArgs& args) = 0;
56
+ virtual void finish(const eckit::option::CmdArgs& args);
57
+
58
+ virtual int numberOfPositionalArguments() const { return -1; }
59
+ virtual int minimumPositionalArguments() const { return -1; }
60
+
61
+ virtual void run();
62
+ };
63
+
64
+ //----------------------------------------------------------------------------------------------------------------------
65
+
66
+
67
+ class MetkitToolException : public eckit::Exception {
68
+ public:
69
+
70
+ MetkitToolException(const std::string&);
71
+ MetkitToolException(const std::string&, const eckit::CodeLocation&);
72
+ };
73
+
74
+
75
+ //----------------------------------------------------------------------------------------------------------------------
76
+
77
+ } // namespace metkit
78
+
79
+ #endif
@@ -0,0 +1,43 @@
1
+ # This is a basic version file for the Config-mode of find_package().
2
+ # It is used by write_basic_package_version_file() as input file for configure_file()
3
+ # to create a version-file which can be installed along a config.cmake file.
4
+ #
5
+ # The created file sets PACKAGE_VERSION_EXACT if the current version string and
6
+ # the requested version string are exactly the same and it sets
7
+ # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
8
+ # The variable CVF_VERSION must be set before calling configure_file().
9
+
10
+ set(PACKAGE_VERSION "1.16.0")
11
+
12
+ if (PACKAGE_FIND_VERSION_RANGE)
13
+ # Package version must be in the requested version range
14
+ if ((PACKAGE_FIND_VERSION_RANGE_MIN STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MIN)
15
+ OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_GREATER PACKAGE_FIND_VERSION_MAX)
16
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_GREATER_EQUAL PACKAGE_FIND_VERSION_MAX)))
17
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
18
+ else()
19
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
20
+ endif()
21
+ else()
22
+ if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
23
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
24
+ else()
25
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
26
+ if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
27
+ set(PACKAGE_VERSION_EXACT TRUE)
28
+ endif()
29
+ endif()
30
+ endif()
31
+
32
+
33
+ # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
34
+ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
35
+ return()
36
+ endif()
37
+
38
+ # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
39
+ if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
40
+ math(EXPR installedBits "8 * 8")
41
+ set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
42
+ set(PACKAGE_VERSION_UNSUITABLE TRUE)
43
+ endif()
@@ -0,0 +1,112 @@
1
+ # Config file for the metkit package
2
+ # Defines the following variables:
3
+ #
4
+ # metkit_FEATURES - list of enabled features
5
+ # metkit_VERSION - version of the package
6
+ # metkit_GIT_SHA1 - Git revision of the package
7
+ # metkit_GIT_SHA1_SHORT - short Git revision of the package
8
+ #
9
+
10
+
11
+ ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
12
+ ####### Any changes to this file will be overwritten by the next CMake run ####
13
+ ####### The input file was project-config.cmake.in ########
14
+
15
+ get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
16
+
17
+ macro(set_and_check _var _file)
18
+ set(${_var} "${_file}")
19
+ if(NOT EXISTS "${_file}")
20
+ message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
21
+ endif()
22
+ endmacro()
23
+
24
+ macro(check_required_components _NAME)
25
+ foreach(comp ${${_NAME}_FIND_COMPONENTS})
26
+ if(NOT ${_NAME}_${comp}_FOUND)
27
+ if(${_NAME}_FIND_REQUIRED_${comp})
28
+ set(${_NAME}_FOUND FALSE)
29
+ endif()
30
+ endif()
31
+ endforeach()
32
+ endmacro()
33
+
34
+ ####################################################################################
35
+
36
+ ### computed paths
37
+ set_and_check(metkit_CMAKE_DIR "${PACKAGE_PREFIX_DIR}/lib64/cmake/metkit")
38
+ set_and_check(metkit_BASE_DIR "${PACKAGE_PREFIX_DIR}/.")
39
+ if(DEFINED ECBUILD_2_COMPAT AND ECBUILD_2_COMPAT)
40
+ set(METKIT_CMAKE_DIR ${metkit_CMAKE_DIR})
41
+ set(METKIT_BASE_DIR ${metkit_BASE_DIR})
42
+ endif()
43
+
44
+ ### export version info
45
+ set(metkit_VERSION "1.16.0")
46
+ set(metkit_GIT_SHA1 "f104efea40d66180a4c57f092ab5836d2f9dd084")
47
+ set(metkit_GIT_SHA1_SHORT "f104efe")
48
+
49
+ if(DEFINED ECBUILD_2_COMPAT AND ECBUILD_2_COMPAT)
50
+ set(METKIT_VERSION "1.16.0" )
51
+ set(METKIT_GIT_SHA1 "f104efea40d66180a4c57f092ab5836d2f9dd084" )
52
+ set(METKIT_GIT_SHA1_SHORT "f104efe" )
53
+ endif()
54
+
55
+ ### has this configuration been exported from a build tree?
56
+ set(metkit_IS_BUILD_DIR_EXPORT OFF)
57
+ if(DEFINED ECBUILD_2_COMPAT AND ECBUILD_2_COMPAT)
58
+ set(METKIT_IS_BUILD_DIR_EXPORT ${metkit_IS_BUILD_DIR_EXPORT})
59
+ endif()
60
+
61
+ ### include the <project>-import.cmake file if there is one
62
+ if(EXISTS ${metkit_CMAKE_DIR}/metkit-import.cmake)
63
+ set(metkit_IMPORT_FILE "${metkit_CMAKE_DIR}/metkit-import.cmake")
64
+ include(${metkit_IMPORT_FILE})
65
+ endif()
66
+
67
+ ### insert definitions for IMPORTED targets
68
+ if(NOT metkit_BINARY_DIR)
69
+ find_file(metkit_TARGETS_FILE
70
+ NAMES metkit-targets.cmake
71
+ HINTS ${metkit_CMAKE_DIR}
72
+ NO_DEFAULT_PATH)
73
+ if(metkit_TARGETS_FILE)
74
+ include(${metkit_TARGETS_FILE})
75
+ endif()
76
+ endif()
77
+
78
+ ### include the <project>-post-import.cmake file if there is one
79
+ if(EXISTS ${metkit_CMAKE_DIR}/metkit-post-import.cmake)
80
+ set(metkit_POST_IMPORT_FILE "${metkit_CMAKE_DIR}/metkit-post-import.cmake")
81
+ include(${metkit_POST_IMPORT_FILE})
82
+ endif()
83
+
84
+ ### handle third-party dependencies
85
+ if(DEFINED ECBUILD_2_COMPAT AND ECBUILD_2_COMPAT)
86
+ set(METKIT_LIBRARIES "")
87
+ set(METKIT_TPLS "" )
88
+
89
+ include(${CMAKE_CURRENT_LIST_FILE}.tpls OPTIONAL)
90
+ endif()
91
+
92
+ ### publish this file as imported
93
+ if( DEFINED ECBUILD_2_COMPAT AND ECBUILD_2_COMPAT )
94
+ set(metkit_IMPORT_FILE ${CMAKE_CURRENT_LIST_FILE})
95
+ mark_as_advanced(metkit_IMPORT_FILE)
96
+ set(METKIT_IMPORT_FILE ${CMAKE_CURRENT_LIST_FILE})
97
+ mark_as_advanced(METKIT_IMPORT_FILE)
98
+ endif()
99
+
100
+ ### export features and check requirements
101
+ set(metkit_FEATURES "TESTS;PKGCONFIG;BUILD_TOOLS;GRIB;BUFR;METKIT_CONFIG;WARNINGS;WARNINGS")
102
+ if(DEFINED ECBUILD_2_COMPAT AND ECBUILD_2_COMPAT)
103
+ set(METKIT_FEATURES ${metkit_FEATURES})
104
+ endif()
105
+ foreach(_f ${metkit_FEATURES})
106
+ set(metkit_${_f}_FOUND 1)
107
+ set(metkit_HAVE_${_f} 1)
108
+ if(DEFINED ECBUILD_2_COMPAT AND ECBUILD_2_COMPAT)
109
+ set(METKIT_HAVE_${_f} 1)
110
+ endif()
111
+ endforeach()
112
+ check_required_components(metkit)
@@ -0,0 +1,14 @@
1
+ set( metkit_HAVE_GRIB 1 )
2
+ set( metkit_HAVE_ODB 0 )
3
+
4
+ include( CMakeFindDependencyMacro )
5
+
6
+ find_dependency( eckit HINTS ${CMAKE_CURRENT_LIST_DIR}/../eckit /tmp/metkit/prereqs/eckitlib/lib64/cmake/eckit )
7
+
8
+ if( metkit_HAVE_GRIB )
9
+ find_dependency( eccodes HINTS ${CMAKE_CURRENT_LIST_DIR}/../eccodes )
10
+ endif()
11
+
12
+ if( metkit_HAVE_ODB )
13
+ find_dependency( odc HINTS ${CMAKE_CURRENT_LIST_DIR}/../odc odc_DIR-NOTFOUND )
14
+ endif()
@@ -0,0 +1,46 @@
1
+ #----------------------------------------------------------------
2
+ # Generated CMake target import file for configuration "RelWithDebInfo".
3
+ #----------------------------------------------------------------
4
+
5
+ # Commands may need to know the format version.
6
+ set(CMAKE_IMPORT_FILE_VERSION 1)
7
+
8
+ # Import target "metkit" for configuration "RelWithDebInfo"
9
+ set_property(TARGET metkit APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
10
+ set_target_properties(metkit PROPERTIES
11
+ IMPORTED_LOCATION_RELWITHDEBINFO "${_IMPORT_PREFIX}/lib64/libmetkit.so"
12
+ IMPORTED_SONAME_RELWITHDEBINFO "libmetkit.so"
13
+ )
14
+
15
+ list(APPEND _cmake_import_check_targets metkit )
16
+ list(APPEND _cmake_import_check_files_for_metkit "${_IMPORT_PREFIX}/lib64/libmetkit.so" )
17
+
18
+ # Import target "parse-mars-request" for configuration "RelWithDebInfo"
19
+ set_property(TARGET parse-mars-request APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
20
+ set_target_properties(parse-mars-request PROPERTIES
21
+ IMPORTED_LOCATION_RELWITHDEBINFO "${_IMPORT_PREFIX}/bin/parse-mars-request"
22
+ )
23
+
24
+ list(APPEND _cmake_import_check_targets parse-mars-request )
25
+ list(APPEND _cmake_import_check_files_for_parse-mars-request "${_IMPORT_PREFIX}/bin/parse-mars-request" )
26
+
27
+ # Import target "bufr-sanity-check" for configuration "RelWithDebInfo"
28
+ set_property(TARGET bufr-sanity-check APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
29
+ set_target_properties(bufr-sanity-check PROPERTIES
30
+ IMPORTED_LOCATION_RELWITHDEBINFO "${_IMPORT_PREFIX}/bin/bufr-sanity-check"
31
+ )
32
+
33
+ list(APPEND _cmake_import_check_targets bufr-sanity-check )
34
+ list(APPEND _cmake_import_check_files_for_bufr-sanity-check "${_IMPORT_PREFIX}/bin/bufr-sanity-check" )
35
+
36
+ # Import target "mars-archive-script" for configuration "RelWithDebInfo"
37
+ set_property(TARGET mars-archive-script APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
38
+ set_target_properties(mars-archive-script PROPERTIES
39
+ IMPORTED_LOCATION_RELWITHDEBINFO "${_IMPORT_PREFIX}/bin/mars-archive-script"
40
+ )
41
+
42
+ list(APPEND _cmake_import_check_targets mars-archive-script )
43
+ list(APPEND _cmake_import_check_files_for_mars-archive-script "${_IMPORT_PREFIX}/bin/mars-archive-script" )
44
+
45
+ # Commands beyond this point should not need to know the version.
46
+ set(CMAKE_IMPORT_FILE_VERSION)
@@ -0,0 +1,116 @@
1
+ # Generated by CMake
2
+
3
+ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
+ message(FATAL_ERROR "CMake >= 2.8.12 required")
5
+ endif()
6
+ if(CMAKE_VERSION VERSION_LESS "2.8.12")
7
+ message(FATAL_ERROR "CMake >= 2.8.12 required")
8
+ endif()
9
+ cmake_policy(PUSH)
10
+ cmake_policy(VERSION 2.8.12...4.0)
11
+ #----------------------------------------------------------------
12
+ # Generated CMake target import file.
13
+ #----------------------------------------------------------------
14
+
15
+ # Commands may need to know the format version.
16
+ set(CMAKE_IMPORT_FILE_VERSION 1)
17
+
18
+ # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19
+ set(_cmake_targets_defined "")
20
+ set(_cmake_targets_not_defined "")
21
+ set(_cmake_expected_targets "")
22
+ foreach(_cmake_expected_target IN ITEMS metkit parse-mars-request bufr-sanity-check mars-archive-script)
23
+ list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24
+ if(TARGET "${_cmake_expected_target}")
25
+ list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26
+ else()
27
+ list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28
+ endif()
29
+ endforeach()
30
+ unset(_cmake_expected_target)
31
+ if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32
+ unset(_cmake_targets_defined)
33
+ unset(_cmake_targets_not_defined)
34
+ unset(_cmake_expected_targets)
35
+ unset(CMAKE_IMPORT_FILE_VERSION)
36
+ cmake_policy(POP)
37
+ return()
38
+ endif()
39
+ if(NOT _cmake_targets_defined STREQUAL "")
40
+ string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41
+ string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42
+ message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43
+ endif()
44
+ unset(_cmake_targets_defined)
45
+ unset(_cmake_targets_not_defined)
46
+ unset(_cmake_expected_targets)
47
+
48
+
49
+ # Compute the installation prefix relative to this file.
50
+ get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54
+ if(_IMPORT_PREFIX STREQUAL "/")
55
+ set(_IMPORT_PREFIX "")
56
+ endif()
57
+
58
+ # Create imported target metkit
59
+ add_library(metkit SHARED IMPORTED)
60
+
61
+ set_target_properties(metkit PROPERTIES
62
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/metkit"
63
+ INTERFACE_LINK_LIBRARIES "eckit;eckit_option;eccodes"
64
+ )
65
+
66
+ # Create imported target parse-mars-request
67
+ add_executable(parse-mars-request IMPORTED)
68
+
69
+ # Create imported target bufr-sanity-check
70
+ add_executable(bufr-sanity-check IMPORTED)
71
+
72
+ # Create imported target mars-archive-script
73
+ add_executable(mars-archive-script IMPORTED)
74
+
75
+ # Load information for each installed configuration.
76
+ file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/metkit-targets-*.cmake")
77
+ foreach(_cmake_config_file IN LISTS _cmake_config_files)
78
+ include("${_cmake_config_file}")
79
+ endforeach()
80
+ unset(_cmake_config_file)
81
+ unset(_cmake_config_files)
82
+
83
+ # Cleanup temporary variables.
84
+ set(_IMPORT_PREFIX)
85
+
86
+ # Loop over all imported files and verify that they actually exist
87
+ foreach(_cmake_target IN LISTS _cmake_import_check_targets)
88
+ if(CMAKE_VERSION VERSION_LESS "3.28"
89
+ OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
90
+ OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
91
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
92
+ if(NOT EXISTS "${_cmake_file}")
93
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
94
+ \"${_cmake_file}\"
95
+ but this file does not exist. Possible reasons include:
96
+ * The file was deleted, renamed, or moved to another location.
97
+ * An install or uninstall procedure did not complete successfully.
98
+ * The installation package was faulty and contained
99
+ \"${CMAKE_CURRENT_LIST_FILE}\"
100
+ but not all the files it references.
101
+ ")
102
+ endif()
103
+ endforeach()
104
+ endif()
105
+ unset(_cmake_file)
106
+ unset("_cmake_import_check_files_for_${_cmake_target}")
107
+ endforeach()
108
+ unset(_cmake_target)
109
+ unset(_cmake_import_check_targets)
110
+
111
+ # This file does not depend on other imported targets which have
112
+ # been exported from the same project but in a separate export set.
113
+
114
+ # Commands beyond this point should not need to know the version.
115
+ set(CMAKE_IMPORT_FILE_VERSION)
116
+ cmake_policy(POP)
Binary file
@@ -0,0 +1,33 @@
1
+ # This pkg-config file is generated by ecbuild_pkgconfig()
2
+ # with template ecbuild/cmake/pkg-config.pc.in
3
+
4
+ git_tag=f104efea40d66180a4c57f092ab5836d2f9dd084
5
+
6
+ prefix=${pcfiledir}/../..
7
+ exec_prefix=${prefix}
8
+ libdir=${prefix}/lib64
9
+ includedir=${prefix}/include
10
+ bindir=${prefix}/bin
11
+ fmoddir=${prefix}/include
12
+
13
+ CC=/opt/rh/gcc-toolset-14/root/usr/bin/cc
14
+ CXX=/opt/rh/gcc-toolset-14/root/usr/bin/c++
15
+ FC=
16
+
17
+ libs=-Wl,-rpath,${libdir} -L${libdir} -lmetkit
18
+
19
+ libs_private=-Wl,-rpath,/tmp/metkit/prereqs/eckitlib/lib64 -L/tmp/metkit/prereqs/eckitlib/lib64 -leckit_option -Wl,-rpath,/tmp/metkit/prereqs/eckitlib/lib64 -L/tmp/metkit/prereqs/eckitlib/lib64 -leckit -lrt -lpthread -ldl -Wl,-rpath,/tmp/metkit/prereqs/eccodeslib/lib64 -L/tmp/metkit/prereqs/eccodeslib/lib64 -leccodes -lm
20
+
21
+ cflags=-I${includedir} -I/tmp/metkit/target/metkit/include -I/tmp/metkit/target/metkit/include/metkit
22
+
23
+ #====================================================================
24
+ Name: metkit
25
+ Description: ECMWF Meteorological toolkit
26
+ URL:
27
+ Version: 1.16.0
28
+ Libs: ${libs}
29
+ Libs.private: ${libs_private}
30
+ Requires:
31
+ Requires.private:
32
+ Cflags: ${cflags}
33
+ #====================================================================
@@ -0,0 +1,63 @@
1
+ ---
2
+ axes:
3
+ - class
4
+ - country
5
+ - type
6
+ - stream
7
+ - levtype
8
+ - origin
9
+ - product
10
+ - section
11
+ - method
12
+ - system
13
+ - date
14
+ - refdate
15
+ - hdate
16
+ - offsetdate
17
+ - time
18
+ - offsettime
19
+ - anoffset
20
+ - reference
21
+ - dataset
22
+ - step
23
+ - fcmonth
24
+ - fcperiod
25
+ - leadtime
26
+ - opttime
27
+ - expver
28
+ - domain
29
+ - diagnostic
30
+ - iteration
31
+ - quantile
32
+ - number
33
+ - levelist
34
+ - latitude
35
+ - longitude
36
+ - range
37
+ - param
38
+ - chem
39
+ - wavelength
40
+ - timespan
41
+ - stattype
42
+ - ident
43
+ - obstype
44
+ - instrument
45
+ - frequency
46
+ - direction
47
+ - channel
48
+ - obsgroup
49
+ - reportype
50
+ - activity
51
+ - experiment
52
+ - generation
53
+ - model
54
+ - realization
55
+ - resolution
56
+ - year
57
+ - month
58
+ - bcmodel
59
+ - icmodel
60
+ - grib
61
+ - georef
62
+ - coeffindex
63
+
@@ -0,0 +1,140 @@
1
+ ---
2
+ subtypes:
3
+ - [1, 1]
4
+ - [2, 1]
5
+ - [3, 1]
6
+ - [4, 1]
7
+ - [7, 1]
8
+ - [9, 1]
9
+ - [11, 1]
10
+ - [12, 1]
11
+ - [13, 1]
12
+ - [14, 1]
13
+ - [19, 1]
14
+ - [21, 1]
15
+ - [22, 1]
16
+ - [23, 1]
17
+ - [26, 1]
18
+ - [28, 1]
19
+ - [31, 8]
20
+ - [32, 8]
21
+ - [49, 2]
22
+ - [51, 2]
23
+ - [53, 2]
24
+ - [54, 2]
25
+ - [55, 2]
26
+ - [56, 2]
27
+ - [57, 2]
28
+ - [59, 2]
29
+ - [60, 2]
30
+ - [61, 2]
31
+ - [62, 2]
32
+ - [63, 2]
33
+ - [65, 2]
34
+ - [71, 2]
35
+ - [72, 2]
36
+ - [73, 2]
37
+ - [75, 2]
38
+ - [82, 3]
39
+ - [83, 3]
40
+ - [84, 3]
41
+ - [85, 3]
42
+ - [86, 3]
43
+ - [87, 3]
44
+ - [88, 3]
45
+ - [89, 3]
46
+ - [91, 4]
47
+ - [92, 4]
48
+ - [95, 4]
49
+ - [96, 4]
50
+ - [97, 4]
51
+ - [101, 5]
52
+ - [102, 5]
53
+ - [103, 5]
54
+ - [104, 5]
55
+ - [106, 5]
56
+ - [109, 5]
57
+ - [110, 1]
58
+ - [111, 5]
59
+ - [112, 5]
60
+ - [113, 5]
61
+ - [121, 12]
62
+ - [122, 12]
63
+ - [123, 12]
64
+ - [124, 12]
65
+ - [125, 6]
66
+ - [126, 12]
67
+ - [127, 12]
68
+ - [129, 2]
69
+ - [130, 2]
70
+ - [131, 6]
71
+ - [132, 6]
72
+ - [133, 6]
73
+ - [136, 12]
74
+ - [137, 12]
75
+ - [138, 12]
76
+ - [139, 12]
77
+ - [140, 1]
78
+ - [142, 7]
79
+ - [143, 7]
80
+ - [144, 7]
81
+ - [145, 7]
82
+ - [146, 7]
83
+ - [147, 1]
84
+ - [148, 7]
85
+ - [149, 7]
86
+ - [150, 7]
87
+ - [151, 7]
88
+ - [153, 12]
89
+ - [154, 2]
90
+ - [155, 2]
91
+ - [156, 2]
92
+ - [159, 9]
93
+ - [161, 2]
94
+ - [162, 9]
95
+ - [164, 10]
96
+ - [165, 1]
97
+ - [170, 1]
98
+ - [172, 1]
99
+ - [176, 1]
100
+ - [178, 1]
101
+ - [180, 1]
102
+ - [181, 1]
103
+ - [182, 1]
104
+ - [184, 1]
105
+ - [189, 3]
106
+ - [190, 3]
107
+ - [201, 12]
108
+ - [202, 12]
109
+ - [203, 30]
110
+ - [204, 30]
111
+ - [206, 2]
112
+ - [207, 2]
113
+ - [208, 2]
114
+ - [209, 2]
115
+ - [210, 12]
116
+ - [211, 2]
117
+ - [212, 3]
118
+ - [213, 12]
119
+ - [214, 12]
120
+ - [216, 2]
121
+ - [217, 12]
122
+ - [218, 12]
123
+ - [220, 12]
124
+ - [224, 12]
125
+ - [226, 2]
126
+ - [227, 2]
127
+ - [228, 3]
128
+ - [230, 5]
129
+ - [231, 5]
130
+ - [233, 12]
131
+ - [235, 12]
132
+ - [237, 1]
133
+ - [240, 2]
134
+ - [244, 30]
135
+ - [245, 12]
136
+ - [246, 12]
137
+ - [250, 2]
138
+ - [251, 2]
139
+ - [252, 21]
140
+ - [255, 2]