Commit Graph

3802 Commits

Author SHA1 Message Date
Eugen Betke 2a330d3b2a Modernisation: Nearest hierarchy 2024-11-03 21:01:15 +01:00
shahramn 1c0fc64eee Accessors: ASCII: Deal with string too long 2024-11-01 16:06:28 +00:00
shahramn 7c13e374a0 Error messages 2024-10-31 16:41:46 +00:00
shahramn 9e4c44eddb Debugging: file pool contents 2024-10-30 16:42:18 +00:00
Eugen Betke cae430a2c1 ECC-1898: Revert changes 2024-10-30 13:51:36 +01:00
shahramn 3769fd7a64 Update list of keys and hash 2024-10-30 10:41:59 +00:00
shahramn 29f8220b77
Merge pull request #260 from ecmwf/bugfix/ecc-1898_clean_cache_when_unalias_is_called
ECC-1898 GRIB: Key 'levelist' persists despite being taken out of the mars namespace
2024-10-28 17:17:08 +00:00
shahramn 8581938ac4 No need to check nullptr before calling free() 2024-10-25 15:12:09 +01:00
shahramn 7760bb5490 Deprecation warning 2024-10-25 12:41:17 +01:00
shahramn 1c45f774de ECC-1952: C API: Deprecate functions 2024-10-24 17:00:14 +01:00
shahramn b8aedee6ec Remove unused data members 2024-10-24 16:11:44 +01:00
shahramn 047c14ff82 Remove unused data members 2024-10-24 16:08:27 +01:00
shahramn 9c83171076 Remove unused data members 2024-10-24 15:43:48 +01:00
Eugen Betke be61e70863 Merge branch 'develop' into bugfix/ecc-1898_clean_cache_when_unalias_is_called 2024-10-23 19:18:10 +02:00
Eugen Betke 9363aa9241 ECC-1898: Remove alias from cache 2024-10-23 19:09:48 +02:00
Eugen Betke dfb20eeb8d Merge branch 'develop' into bugfix/bufr_memory_leak 2024-10-23 17:27:48 +02:00
Eugen Betke cc3d8c035a Fix memory leak 2024-10-23 15:30:56 +02:00
Shahram Najm 879f5b0aea ECC-1950: codes_context_delete() does not free all cached data 2024-10-23 13:19:36 +00:00
shahramn bafbb1b300 Formatting and comments 2024-10-23 10:17:16 +01:00
joobog f769c768b7
Modernisation: Initialise all class members (#257)
* Modernisation: Initialise all class members

* Modernisation: Restore comments
2024-10-22 17:53:05 +01:00
shahramn e8fceb68d6 Geoiterators: Remove unused method 2024-10-22 12:08:48 +01:00
shahramn 1790fbe2f8 Geoiterators: Remove unused data members 2024-10-22 11:53:50 +01:00
shahramn 095eff61e2 Geoiterators: Initialise lats_ and lons_ (fix valgrind error) 2024-10-22 11:12:10 +01:00
shahramn 51f3a2b210 Remove unused data members 2024-10-22 10:04:55 +01:00
Shahram Najm ce006ec226 Fix cppcheck warnings 2024-10-21 16:38:52 +00:00
Eugen Betke 2479a8670c Modernisatino: Fix error handling 2024-10-21 18:30:44 +02:00
Eugen Betke c42c772f5e Modernisation: Revert deletion of cargs_ 2024-10-21 18:27:50 +02:00
Eugen Betke 60a37e36d0 Modernisation: Revert deletion of the cargs_ 2024-10-21 18:27:00 +02:00
Eugen Betke 6b343e279a Modernisation: Eliminate unnecessary variables 2024-10-21 18:24:45 +02:00
Eugen Betke 25835a2e23 Modernisation: Fix include dirs 2024-10-21 18:09:39 +02:00
Eugen Betke b7187d77b2 Modernisation: Fix mutex name 2024-10-21 17:37:29 +02:00
Eugen Betke f2c1a83c2b Modernisation: Change namespace and move lats_ and lons_ to base class 2024-10-21 17:19:39 +02:00
Eugen Betke 80cc5a421b Merge branch 'develop' into feature/modernisation_iterators 2024-10-21 16:26:48 +02:00
shahramn ad659de13c GRIB2 product template selection: Debug messages 2024-10-21 12:54:10 +01:00
shahramn 0e80ddd65a Formatting 2024-10-21 12:53:55 +01:00
shahramn ba91574919 GRIB2 product template selection: Debug messages 2024-10-21 12:46:54 +01:00
shahramn e16dc172e5 GRIB2 product template selection: Error messages 2024-10-21 12:27:49 +01:00
shahramn 11c571d5c2 GRIB2 product template selection: fix test 2024-10-20 18:01:31 +01:00
shahramn 5e37c3e754 Refactoring 2024-10-20 15:52:32 +01:00
shahramn 159795c71a GRIB2 product template selection: Error messages 2024-10-20 14:45:50 +01:00
shahramn 9736f663dc Performance: Call grib_handle_of_accessor once 2024-10-20 12:47:34 +01:00
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