Commit Graph

3811 Commits

Author SHA1 Message Date
shahramn f72f8bc5b8 Dead code removal and reformatting 2024-10-19 12:53:27 +01:00
shahramn aaa663d473
Merge pull request #255 from ecmwf/feature/grib2_product_template_selection
Feature/grib2 product template selection
2024-10-19 11:53:59 +01:00
shahramn 182dc8eec0 GRIB2 product template selection: Test 2024-10-18 20:39:36 +01:00
Shahram Najm 26a74b05ec GRIB2 product template selection: WIP 2024-10-18 15:10:42 +00:00
shahramn 29863c713d ECC-1947: Performance: pre-compute most common Gaussian latitudes 2024-10-18 14:03:00 +01:00
Shahram Najm df09c61a57 GRIB2 product template selection: WIP 2024-10-18 10:47:38 +00:00
Eugen Betke f63f70f95e Modernisation: Make next(), previous() and has_next() const members 2024-10-17 13:41:51 +02:00
Eugen Betke e4df2db1a1 Modernisation: Make members private 2024-10-17 13:32:00 +02:00
Eugen Betke 408066a953 Modernisation: Make init_sphere() and init_oblate() member functions 2024-10-17 13:15:24 +02:00
shahramn 58b29b8a78 GRIB2 product template selection: WIP 2024-10-17 11:42:35 +01:00
Eugen Betke c76108923a Modernisation: clang-format 2024-10-17 12:22:32 +02:00
Eugen Betke c41dd8017f Merge branch 'develop' into feature/modernisation_iterators 2024-10-17 12:21:40 +02:00
Eugen Betke a8f43e99b7 Modernisation: Fix grib_iterator_delete() 2024-10-17 12:20:08 +02:00
Eugen Betke 2bd5482629 Modernisation: has_next() returns bool instead of long 2024-10-17 12:06:14 +02:00
Eugen Betke b490cfc3d3 Modernisation: Protect iterator's init() with a mutex 2024-10-17 11:55:01 +02:00
Eugen Betke 423521b9aa Modernisation: Fix memory leak and minor changes 2024-10-17 11:18:34 +02:00
Eugen Betke 3038878954 Modernisation: Fix error code propagation in iterators destroy() 2024-10-17 11:04:59 +02:00
shahramn c7684fe80c grib_get_values with silent option 2024-10-16 17:05:33 +01:00
Eugen Betke fff9e47001 Merge branch 'develop' into feature/modernisation_iterators 2024-10-16 14:17:24 +02:00
Eugen Betke 3940d7d848 Modernisation: Iterators (all ctests pass) 2024-10-16 14:09:07 +02:00
shahramn d35518ec46 Debugging: print grib_values key/value pair array 2024-10-15 17:20:12 +01:00
shahramn e5e0952fb4 GRIB2: Support for chemical source/sink 2024-10-15 17:03:51 +01:00
shahramn ca384c2f48 Formatting 2024-10-14 15:56:25 +01:00
shahramn 3812f5ef18 ECC-1936: Fix cppcheck warnings 2024-10-14 11:46:45 +01:00
shahramn 153d2669d5 ECC-1936: Add header file 2024-10-14 11:40:08 +01:00
shahramn db935ef8ff ECC-1936: Compilation error: identifier 'strcasestr' is undefined with nec compilers 2024-10-14 11:29:58 +01:00
shahramn c71df54c8f Dead code removal 2024-10-12 17:06:11 +01:00
shahramn 60c1b88a7b Dead code removal 2024-10-12 16:32:49 +01:00
shahramn 6276da63a7 Dead code removal 2024-10-12 16:06:41 +01:00
shahramn eadb6dd661 Dead code removal 2024-10-12 15:26:50 +01:00
shahramn fee14f899e Dead code removal 2024-10-12 15:20:11 +01:00
shahramn 5a40b70e22 Dead code removal 2024-10-12 15:12:43 +01:00
shahramn dded3110d0 Dead code removal 2024-10-12 15:03:24 +01:00
shahramn 8008982df1 Dead code removal 2024-10-12 14:55:04 +01:00
shahramn 917f3e655b Dead code removal 2024-10-12 14:48:36 +01:00
shahramn 528d77b60a cppcheck: Shadowed variables 2024-10-11 12:34:24 +01:00
shahramn bab87cfbfe cppcheck: member variable with name also defined in its parent class 'grib_accessor' [duplInheritedMember] 2024-10-11 11:31:39 +01:00
shahramn 28c9a4a08f Compiler warning: -Werror=pedantic 2024-10-10 12:43:41 +01:00
shahramn a75517fe92 Fix warnings re: class_name_ is used uninitialized 2024-10-09 17:32:34 +01:00
shahramn b4f0d24427 Fix warnings re: class_name_ is used uninitialized 2024-10-09 17:26:46 +01:00
shahramn 8434ba0032 Formatting and cleanups 2024-10-09 17:06:45 +01:00
shahramn f3e370f2a1 Dead code removal (cclass_name) 2024-10-09 16:52:42 +01:00
Eugen Betke f9cf2931c5 ECC-1930: Renamed: NumericLimits.h -> ecc_numeric_limits.h 2024-10-09 15:42:46 +01:00
Eugen Betke 5f5ae2056f ECC-1930: Cleanup 2024-10-09 15:42:46 +01:00
Eugen Betke f0b40ca4d4 ECC-1930: Fix more overflows 2024-10-09 15:42:46 +01:00
Eugen Betke 39641acf3b ECC-1930: Fix overflow using compile-time code 2024-10-09 15:42:46 +01:00
shahramn c971122fcc Dead code removal 2024-10-08 17:25:30 +01:00
shahramn 0552739f15 Dead code removal 2024-10-08 17:06:42 +01:00
Shahram Najm b51a1f909e C++ modernisation: Remove static func declarations 2024-10-07 16:07:23 +00:00
Eugen Betke 1a7a94e1d3 Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-10-07 11:21:02 +02:00
shahramn 626d3c4102 Dead code removal 2024-10-06 13:50:10 +01:00
Eugen Betke 17e195f8e2 Merge branch 'feature/modernisation_merge_accessor_classes' of github.com:ecmwf/eccodes into feature/modernisation_merge_accessor_classes 2024-10-04 15:23:49 +02:00
shahramn 9fc2a5c84c ECC-1929: Definitions: Ability to use the print statement 2024-10-04 13:10:07 +01:00
Eugen Betke 7ee915b8c3 Merge branch 'feature/modernisation_merge_accessor_classes' of github.com:ecmwf/eccodes into feature/modernisation_merge_accessor_classes 2024-10-04 11:59:29 +00:00
Eugen Betke 376b7e780e Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-10-04 10:35:24 +00:00
shahramn d3602888df ECC-1927: GRIB: grid_second_order hanging when encoding fields with Infinite values (try 3) 2024-10-03 13:21:31 +01:00
shahramn 7608b3001d ECC-1927: GRIB: grid_second_order hanging when encoding fields with Infinite values (try 2) 2024-10-03 13:03:56 +01:00
shahramn 0fe66b042a ECC-1927: GRIB: grid_second_order hanging when encoding fields with Infinite values (try 1) 2024-10-03 12:36:21 +01:00
shahramn af1bd19b60 CCSDS packing: max bitsPerValue 2024-10-03 09:59:47 +01:00
shahramn 8473df1df8 ECC-1926: GRIB2: Incorrect decoding of data values when packingType=grid_complex_spatial_differencing 2024-09-27 16:35:39 +01:00
Eugen Betke 2122cd6ef9 Modernisation: Introduce namespaces and change class names 2024-09-24 11:04:11 +02:00
shahramn a0023ff079 ECC-1920: Concepts: Also allow namespaces 2024-09-23 16:58:53 +01:00
shahramn e55c99bb37 HEALPix: Cosmetics 2024-09-23 16:16:11 +01:00
shahramn a0080468f4 ECC-1921: grib_util_set_spec: Print a warning 2024-09-23 12:17:26 +01:00
Eugen Betke 1afda19f17 Modernisation: C++ iterators 2024-09-21 17:54:46 +02:00
shahramn 9126a814f3 ECC-1921: grib_util_set_spec: Failure with input spectral_ieee and bitsPerValue=64 2024-09-20 17:09:00 +01:00
Eugen Betke a8e68a4fd1 Modernisation: Remove unused file 2024-09-20 15:59:58 +02:00
Eugen Betke 859399da2c Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-20 15:36:37 +02:00
shahramn 2b8c39e21d ECC-1920: Concepts: Allow passing a key as the basename 2024-09-20 14:29:26 +01:00
Eugen Betke 15a818c23a Modernisation: Make member variables in base classes private or
protected
2024-09-20 15:02:16 +02:00
Eugen Betke 428896d964 Modernisation: Make member variables private (partially) in complex
packing
2024-09-20 14:11:57 +02:00
Eugen Betke 60f22641e7 Modernisation: Make member variables private in bitmap class 2024-09-20 13:53:35 +02:00
Eugen Betke 56cae37287 Modernisation: Simplify make_clone() in bufr_data_element 2024-09-20 13:45:30 +02:00
Eugen Betke 4133a399d9 Modernisation: Shorter getter names in bufr_data_element 2024-09-20 13:34:22 +02:00
Eugen Betke 2a773489c4 Modernisation: Make table_ in codetable a private member variable 2024-09-20 13:27:56 +02:00
Eugen Betke 95ecb8cb59 Modernisation: Make table_ private 2024-09-20 13:24:55 +02:00
Eugen Betke f81db533c7 Modernisation: Make member variables private in expanded_descriptors 2024-09-20 13:21:09 +02:00
Eugen Betke 6503514cb1 Modernisation: Make member variables private in bufrdc_expanded_descriptors 2024-09-20 11:50:29 +02:00
Eugen Betke b627525f52 Modernisation: Make member variables private in bufr_extract_subsets 2024-09-20 11:43:43 +02:00
Eugen Betke 0b2eb92ba5 Modernisation: Make member variables private in
bufr_extract_datetime_subsets
2024-09-20 11:41:27 +02:00
Eugen Betke 7c3506c8a8 Modernisation: Make member variables private in bufr_extract_area_subsets 2024-09-20 11:38:52 +02:00
Eugen Betke eeb687f84d Modernisation: Make member variables private in data_element class 2024-09-20 11:34:50 +02:00
Eugen Betke 24f5b85c10 Modernisation: Fix merge errors 2024-09-19 17:40:35 +02:00
Eugen Betke b8f53148f3 Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-19 17:38:03 +02:00
Eugen Betke 3a52f55e46 Modernisation: Private member variables in bufr_data_array 2024-09-19 17:34:41 +02:00
shahramn b2168380a9 Data quality checks comments 2024-09-19 13:37:57 +01:00
shahramn aa27ff9825 Data quality checks 2024-09-19 13:11:09 +01:00
shahramn b605be1e37 Accessor: Remove unused argument 2024-09-18 14:25:19 +01:00
shahramn 97d5e44d5a Compiler warnings 2024-09-18 14:25:02 +01:00
Eugen Betke faf8197aad Modernisation: Make accessor member variables private (except BURF and base classes) 2024-09-18 13:59:39 +02:00
shahramn 552b348117 Harmonise struct names 2024-09-18 11:31:28 +01:00
shahramn 5fae926992 Data quality checks 2024-09-17 12:56:22 +01:00
shahramn 11d4f0ba6f Dumper: Add missing methods 2024-09-17 11:37:39 +01:00
shahramn fa83e2d0bd Dumper: Labels etc 2024-09-17 09:57:57 +01:00
Eugen Betke aae525df01 Modernisation: Clean-up 2024-09-16 18:04:08 +02:00
Eugen Betke 115d264c33 Modernisation: Fix unpack_double() in Spherical Harmonics 2024-09-16 17:34:47 +02:00
Eugen Betke 0627b526fe Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-13 15:02:27 +02:00
shahramn 6924dc014a Const correctness 2024-09-06 14:59:39 +01:00
shahramn fc73927c42 Const correctness 2024-09-06 14:44:02 +01:00
shahramn 6115373ce4 cppcheck warning: Member variables 'offset' and 'length' also defined in base class 2024-09-06 14:40:17 +01:00
shahramn 1f2fbf4710 Const correctness 2024-09-06 14:39:45 +01:00
shahramn d48e3f7fcc Const correctness 2024-09-06 14:14:33 +01:00
shahramn ac4dc27fed cppcheck warning: Member variable 'name' also defined in base class 2024-09-06 14:14:24 +01:00
shahramn da32d6d8da Remove grib_emoslib.h 2024-09-05 17:48:54 +01:00
shahramn 845a461665 Compiler warnings 2024-09-05 16:49:41 +01:00
shahramn 23651d524f Dead code removal 2024-09-05 16:41:05 +01:00
shahramn 2db38ede1c Const correctness 2024-09-05 11:37:47 +01:00
Eugen Betke 16c4797aee Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-04 16:56:29 +02:00
Shahram Najm 9179608c88 Testing: Fix for METAR 2024-09-01 15:57:35 +00:00
shahramn fbe2d513b0 Testing: dumping actions 2024-09-01 16:42:00 +01:00
shahramn d53a873485 Const correctness 2024-08-31 13:19:02 +01:00
shahramn 1f8206a111 Compiler warnings 2024-08-30 15:27:35 +01:00
shahramn 987b0d612d Cosmetics 2024-08-28 11:44:04 +01:00
shahramn 5880696173 Features: Rework 2024-08-28 11:28:46 +01:00
shahramn 3badf33169 Compiler warnings 2024-08-27 20:13:37 +01:00
shahramn ccdd815841 Features: List of enabled ones 2024-08-27 17:48:39 +01:00
shahramn c4a8ab1be2 Cosmetics 2024-08-27 17:06:17 +01:00
shahramn a6da895ecc Testing: Features 2024-08-27 16:23:22 +01:00
shahramn f693e0033a Feature enabled/disabled 2024-08-27 14:53:26 +01:00
Shahram Najm 302f7bc93c Compiler warnings 2024-08-26 11:00:05 +00:00
shahramn 0cf898b592 Dead code removal 2024-08-25 16:39:56 +01:00
shahramn 8bf440d850 Dead code removal 2024-08-25 16:33:37 +01:00
shahramn 061dc1b77f Testing: Lambert/SpaceView error conditions 2024-08-22 14:41:45 +01:00
shahramn 4e71ddcb06 Dead code removal 2024-08-22 14:14:24 +01:00
shahramn 4ded321aab Dead code removal: Accessor for gds_not_present 2024-08-21 22:45:38 +01:00
shahramn f1377122fb Dead code removal 2024-08-21 18:22:42 +01:00
shahramn a874ad0cc4 Do not fail if local def number does not exist 2024-08-20 16:14:15 +01:00
shahramn 2349dc3e7c Dead code removal 2024-08-19 17:20:35 +01:00
shahramn f688cce574 Testing: grib_dump plain for flags 2024-08-19 12:35:59 +01:00
shahramn 1b532e9260 Dead code removal 2024-08-18 12:50:08 +01:00
shahramn 11ea6745c3 Dead code removal 2024-08-18 11:37:45 +01:00
shahramn f08321e392 Testing: hash_array unpacking 2024-08-17 14:10:47 +01:00
shahramn 6c444f8cd1 ECC-1905: GRIB: Speed up getting shortName/paramId 2024-08-16 17:10:11 +01:00
shahramn 837c9afc4e ECC-1904: API function to get the git branch 2024-08-15 12:28:29 +01:00
Eugen Betke 3fa3938250 Fix member name 2024-08-15 13:21:39 +02:00
Eugen Betke 0f9f35780e Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-08-15 13:20:20 +02:00
Shahram Najm d1835db760 Unused data member 2024-08-13 16:54:07 +00:00
Eugen Betke e7d593f76b ECC-1900: Fixed uninitialized value 2024-08-13 13:30:49 +02:00
Shahram Najm 9b203f1184 Change assertion into proper error 2024-08-12 11:12:46 +00:00
Eugen Betke ad9edbe114 Modernisation: Remove unused variables 2024-08-12 02:21:03 +02:00
Eugen Betke cf3f40fab6 Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-08-12 02:00:44 +02:00
Eugen Betke 26f586f7c1 Modernisation: Merge accessor classes 2024-08-12 01:54:29 +02:00
shahramn 29f64e6cf3 Cosmetics 2024-08-11 12:27:10 +01:00
shahramn a210b14ec6 Cosmetics 2024-08-10 20:25:07 +01:00
shahramn 137136b893 ECC-1899: Functor for filter 2024-08-09 16:00:32 +01:00
shahramn eac06e8853 ECC-1899: API function to allow setting debug level 2024-08-09 14:27:16 +01:00
shahramn f50d2c5884 ECC-1858: Allow user to control encoding via optimizeScaleFactor (by default 0) 2024-08-08 13:37:07 +01:00
shahramn 4b197520e3 Testing: Increase coverage 2024-08-03 16:56:29 +01:00
shahramn c81b491edc Testing: Increase coverage 2024-08-03 16:48:50 +01:00
shahramn c1ecf95334 Cosmetics 2024-08-03 15:59:26 +01:00