Commit Graph

3505 Commits

Author SHA1 Message Date
shahramn b2c381d6b8 Cleanup 2024-02-28 16:39:30 +00:00
shahramn e2368676b3 ECC-1777: Validate dataDate and dataTime on input 2024-02-28 15:36:21 +00:00
shahramn 29fb827391 Compiler warnings: format specifiers 2024-02-28 13:30:59 +00:00
shahramn f27616d382 Time validation 2024-02-28 10:35:59 +00:00
shahramn db30325fbf Cleanup 2024-02-27 12:39:33 +00:00
shahramn 07382ee77f HEALPix: Better error message re nested ordering 2024-02-27 11:54:09 +00:00
shahramn 151654a339 ECC-1764: Fix crash 2024-02-27 10:52:09 +00:00
shahramn 13bbefaa49 Replace Asserts with helpful error messages 2024-02-26 16:32:30 +00:00
shahramn 41e82fbdcd Compiler warnings 2024-02-26 13:21:33 +00:00
shahramn 1a1b446626 Accessors: Type safety 2024-02-25 15:56:00 +00:00
shahramn 8f31b29134 Accessors: Type safety 2024-02-25 15:54:02 +00:00
shahramn 0be6b6c580 Fix compare method 2024-02-25 15:47:41 +00:00
shahramn f7869adb9c Error messages: Print context 2024-02-24 22:21:36 +00:00
shahramn e7e8e5f9a2 Error messages 2024-02-24 22:07:55 +00:00
shahramn 18edad5b52 Testing: smart_table unpack_string 2024-02-24 21:57:46 +00:00
shahramn 1ea75acf02 Dead code removal 2024-02-24 20:15:57 +00:00
shahramn 82bc4615ba Testing: Expressions/functions 2024-02-24 19:17:45 +00:00
shahramn be75fa1a78 Expressions: Dead code removal 2024-02-23 15:58:16 +00:00
shahramn 27b7b44eb7 Dead code removal 2024-02-23 15:25:39 +00:00
shahramn 94a3064854 Debug messages 2024-02-23 14:28:21 +00:00
shahramn e1eba0471a Dead code removal 2024-02-23 14:28:08 +00:00
shahramn 0e0f204d82 Const correctness and cppcheck warnings 2024-02-22 20:41:03 +00:00
shahramn adc912850b Testing: Variables like constants and transients 2024-02-22 19:33:02 +00:00
shahramn 7b36814d11 Testing: codes_get_string for different products 2024-02-22 17:36:39 +00:00
shahramn 5eaa3aa84c grib_concept_index 2024-02-22 15:52:42 +00:00
shahramn c7a67156d3 Dead code removal 2024-02-22 15:52:32 +00:00
Eugen Betke 304a2be6a0 ECC-1771: Fix static member initialisation 2024-02-22 08:21:58 +00:00
shahramn e434cdc19e Dead code removal 2024-02-21 15:17:13 +00:00
shahramn 5b223d2eff Const correctness and cppcheck warnings 2024-02-21 15:11:38 +00:00
shahramn 705cee4b92 Comments re no_copy flag 2024-02-21 15:11:19 +00:00
Eugen Betke a5bb4e1865 ECC-1768: Remove "loader" workaround 2024-02-21 13:32:43 +00:00
shahramn 5eb158decf Const correctness and cppcheck warnings 2024-02-21 10:26:35 +00:00
Shahram Najm 2a7bf810c5 Error messages 2024-02-19 22:08:47 +00:00
Shahram Najm 141e2acc0d Dead code removal 2024-02-19 22:08:24 +00:00
Shahram Najm 5918bee645 Fix compiler warnings 2024-02-19 17:14:32 +00:00
Shahram Najm 54f385b897 Fix compiler warnings 2024-02-19 14:56:27 +00:00
Shahram Najm 4f3da19260 Fix compiler warnings 2024-02-19 14:53:07 +00:00
Shahram Najm af517c94a8 Fix compiler warnings 2024-02-19 14:44:59 +00:00
Shahram Najm 9cde3aaef7 Macros: No need for COMPILE_TIME_ASSERT; just use the C++ static_assert 2024-02-19 14:44:29 +00:00
Shahram Najm b85b85348b Accessors: Refactoring 2024-02-19 14:43:23 +00:00
Shahram Najm fcd51754fc Accessor: multdouble 2024-02-19 13:34:38 +00:00
Shahram Najm d9dacdd3d7 Accessors: Do not assert on error 2024-02-19 13:34:02 +00:00
Shahram Najm 0dc3c273cc ECC-1768: GRIB2: Issue with setting PDTN 8, stepUnits and step at the same time (Initial try) 2024-02-19 11:26:59 +00:00
Shahram Najm bbc8d4790e Const correctness 2024-02-18 14:35:19 +00:00
Shahram Najm 2925ec7c91 cppcheck warnings 2024-02-18 14:28:25 +00:00
Shahram Najm f691cd9d0c cppcheck warnings 2024-02-18 14:24:37 +00:00
Shahram Najm 5cdd9d17cb grib_util_set_spec: Support reduced latlon 2024-02-17 20:38:38 +00:00
Shahram Najm 6dbbf152b7 ECC-1364: Cleanup 2024-02-14 14:52:56 +00:00
Shahram Najm 7a38c69aa4 ECC-1364: Cleanup 2024-02-14 10:48:24 +00:00
Shahram Najm 42f7ea1f74 ECC-1364: GRIB: Geoiterator for Lambert Conformal in the southern hemisphere 2024-02-13 21:18:39 +00:00
Shahram Najm c7930a6dd1 Testing: codes_get_string errors 2024-02-13 12:38:26 +00:00
Shahram Najm 5e2670ea88 Dead code removal 2024-02-07 19:18:42 +00:00
Shahram Najm a8403a78d3 Update list of keys and hash 2024-02-07 17:23:55 +00:00
Shahram Najm e461c9e070 Rename functions not to use double underscores 2024-02-05 21:36:20 +00:00
Shahram Najm edf4e5ae27 Rename functions not to use double underscores 2024-02-05 21:26:35 +00:00
Shahram Najm 479d5bb4c4 Rename functions not to use double underscores 2024-02-05 17:52:08 +00:00
Shahram Najm 4bf80fa6f3 tests 2024-02-04 14:14:13 +00:00
Shahram Najm 62bb44d65a Testing: expanded_descriptors scales 2024-02-04 13:56:39 +00:00
Shahram Najm c412b2c87c Testing: codes_get_string messages 2024-02-02 17:33:25 +00:00
Shahram Najm a3e8be20b4 API: codes_extract_offsets_sizes_malloc 2024-02-02 15:52:24 +00:00
Shahram Najm c3703eb1ce Testing: codes_get_string errors 2024-02-02 13:30:54 +00:00
Shahram Najm d6642c881e Accessors: Dead code removal 2024-02-01 23:14:28 +00:00
Shahram Najm c96c128032 Actions: Dead code removal 2024-02-01 17:48:56 +00:00
Shahram Najm b7d78a79b2 Testing: codes_get_string 2024-02-01 17:23:58 +00:00
Shahram Najm 354a14dbc3 Error messages 2024-01-31 15:58:42 +00:00
Shahram Najm a58fc78168 codes_get_string error conditions 2024-01-30 15:57:40 +00:00
Shahram Najm 80b06beee8 Get rid of the NUMBER macro 2024-01-30 12:08:46 +00:00
Shahram Najm c7374ce82c Function rename 2024-01-29 18:57:43 +00:00
Shahram Najm 4ac574987e Testing: GRIB bitmap string length 2024-01-29 12:53:07 +00:00
Shahram Najm 9a7842d549 Testing: GRIB bitmap as string 2024-01-29 12:30:49 +00:00
Shahram Najm f3f13ba36d Dead code removal 2024-01-28 17:32:44 +00:00
Shahram Najm f31ff4757d Merge branch 'develop' of github.com:ecmwf/eccodes into develop 2024-01-26 15:34:09 +00:00
Shahram Najm a1fd00e80f Fix grib_multi_support_reset 2024-01-26 15:33:55 +00:00
Shahram Najm d7a090264b Testing: grib_read_any_headers_only_from_file 2024-01-26 14:16:25 +00:00
Shahram Najm be94fed831 Dead code removal 2024-01-26 12:55:05 +00:00
Shahram Najm 22becf5269 Expression packing: Use the type of the expression and not the accessor 2024-01-25 17:31:44 +00:00
Shahram Najm 6570759cec Move function grib_key_equal 2024-01-24 15:59:36 +00:00
Shahram Najm 1fd6add508 Comments 2024-01-23 19:42:29 +00:00
Shahram Najm 9f2be9a507 Fix compiler warnings 2024-01-23 18:16:27 +00:00
Shahram Najm 44adab0569 Fix compiler warnings 2024-01-23 14:50:27 +00:00
Shahram Najm ce72f44c17 Tools: Increase coverage (grib_handle) 2024-01-23 14:14:56 +00:00
Shahram Najm ad54ad7725 Sub hourly: Rename environment variable 2024-01-23 13:49:13 +00:00
Shahram Najm 5c61344551 Cleanup 2024-01-22 20:25:26 +00:00
Shahram Najm e59d9d3064 Const correctness 2024-01-21 16:45:59 +00:00
Shahram Najm 1df68d88c4 Accessors: Dead code removal 2024-01-21 16:38:00 +00:00
Shahram Najm 6cc13b3853 Accessors: Error messages 2024-01-21 16:23:06 +00:00
Shahram Najm a8e1f837ff Testing: octet_number 2024-01-21 16:22:33 +00:00
Shahram Najm b08ee05f37 Debug messages 2024-01-21 14:33:45 +00:00
Shahram Najm ee7d5a5b11 Performance: Replace multiple calls to grib_handle_of_accessor 2024-01-20 21:22:14 +00:00
Shahram Najm 86131db2f2 Accessors: Dead code removal 2024-01-20 19:07:44 +00:00
Shahram Najm 6776116c11 ECC-1749: grib_dump: No gap between offsets and key name 2024-01-19 17:18:29 +00:00
Shahram Najm 3c29611066 Cleanup 2024-01-19 14:57:17 +00:00
shahramn b2a6ef824f
Merge pull request #187 from ecmwf/feature/test_dynamic_step_native_type
Default native step type is string. It's long if unit is not shown.
2024-01-19 14:30:55 +00:00
Shahram Najm 501fa84cad Testing: Increase coverage 2024-01-19 12:44:37 +00:00
Shahram Najm 39571269c0 Dead code removal 2024-01-19 12:29:21 +00:00
Eugen Betke b8830c337b Default native step type is string. It's long if unit is not shown. 2024-01-19 09:29:16 +00:00
Shahram Najm 305f636ece Sub hourly: Dynamic native type for step, startStep and endStep for backward compatibility 2024-01-18 17:13:42 +00:00
Shahram Najm 92d3ec50eb Testing: GRIB2 local definitions 2024-01-18 15:52:10 +00:00
Shahram Najm d35419ec21 Accessors: Dead code removal (METAR message sizing) 2024-01-18 13:38:40 +00:00
Shahram Najm 0f3e710d33 Sub hourly: Native type of step and endStep for backward compatibility (Experimental idea) 2024-01-17 13:50:39 +00:00
Shahram Najm 77a71acf11 ECC-1748: Tools: grib_dump on index file should print the key types 2024-01-17 13:49:36 +00:00
Shahram Najm 3b6e2de6fe Accessors: Evaluate grib_handle_of_accessor once 2024-01-16 13:40:57 +00:00
Shahram Najm 74048199a6 Cleanup 2024-01-15 16:24:11 +00:00
Eugen Betke fb4aeedeb5 Add pack_expression(), is_missing() and get_native_type() 2024-01-15 15:18:35 +00:00
Eugen Betke fb8cd565ac Set correct unit 2024-01-15 12:37:21 +00:00
Shahram Najm 91b5c19105 Remove cerr 2024-01-15 11:36:21 +00:00
Shahram Najm bd2b261155 Merge branch 'feature/ECC-1620_sub-hourly' of github.com:ecmwf/eccodes into feature/ECC-1620_sub-hourly 2024-01-15 11:01:44 +00:00
Shahram Najm 7d27cc45cc Compiler warnings: unreferenced local variable e 2024-01-15 11:01:36 +00:00
Eugen Betke b1fd3ec9c1 Merge branch 'feature/ECC-1620_sub-hourly' of github.com:ecmwf/eccodes into feature/ECC-1620_sub-hourly 2024-01-15 10:59:52 +00:00
Eugen Betke d54b83ae14 Fix time interval setting for instantenous fields 2024-01-15 10:57:50 +00:00
Shahram Najm 87f34c24b8 Testing: Sub-hourly with grib_filter (needs fixing - see src/grib_accessor_class_optimal_step_units.cc) 2024-01-13 14:52:25 +00:00
Shahram Najm b60198320d Merge branch 'develop' into feature/ECC-1620_sub-hourly 2024-01-12 17:24:37 +00:00
Shahram Najm 27ef7b9062 Debugging: Output list of key/value pairs being set 2024-01-12 13:38:57 +00:00
Shahram Najm eb4bf8dea7 Compiler warnings: Unused variables 2024-01-11 17:59:58 +00:00
Shahram Najm c35fdc2471 Unused variables 2024-01-11 16:56:33 +00:00
Shahram Najm e65ca5f98c Expressions/Actions: Unused functions 2024-01-11 16:16:37 +00:00
Shahram Najm 45f47d1b90 Indexing: Make functions local 2024-01-10 17:57:20 +00:00
Shahram Najm 78aa519961 Testing: GRIB1 data_dummy_field packing 2024-01-10 16:20:19 +00:00
Shahram Najm 2ad5dd29e9 Action write: check for -ve value 2024-01-10 15:50:30 +00:00
Shahram Najm ea84ba6381 Testing: is_in_list expression 2024-01-10 14:43:23 +00:00
Shahram Najm 21a76256ce Testing: Unused accessors 2024-01-10 13:26:23 +00:00
Shahram Najm 2ae9638663 Testing: Deprecated statements 2024-01-10 13:18:20 +00:00
Shahram Najm b5f86e688a Actions: Dead code removal 2024-01-10 12:43:12 +00:00
Shahram Najm 9f565bed85 Const correctness 2024-01-09 15:42:16 +00:00
Shahram Najm 81f40a3735 Check return value of grib_buffer_replace 2024-01-09 10:23:13 +00:00
Shahram Najm ee51e30d10 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2024-01-08 20:26:08 +00:00
Shahram Najm 42d45cee1e ECC-1741: Assertion failure: Encoding a large field in GRIB1 2024-01-08 17:39:10 +00:00
Shahram Najm ada0309905 Error messages: GRIB1 large messages 2024-01-08 15:14:08 +00:00
Shahram Najm 560702839d Merge branch 'develop' into feature/ECC-1620_sub-hourly 2024-01-07 19:02:40 +00:00
Shahram Najm 28b7d13eea Testing: grib_repair/grib_read_any_from_memory 2024-01-07 15:26:58 +00:00
Shahram Najm b5470b2297 Dead code removal: TAF and METAR 2024-01-07 14:07:23 +00:00
Shahram Najm 1016c2e0f1 Dead code removal 2024-01-05 17:22:03 +00:00
Shahram Najm 90ed7d1e67 Dead code removal 2024-01-05 17:02:12 +00:00
Shahram Najm aca931a801 Dead code removal 2024-01-05 16:53:52 +00:00
Shahram Najm f7ea824c6c Merge branch 'develop' into feature/ECC-1620_sub-hourly 2024-01-01 23:14:59 +00:00
Shahram Najm efcef18676 Dead code removal 2024-01-01 23:14:45 +00:00
Shahram Najm 02e4b71ec7 Dead code removal 2024-01-01 21:14:44 +00:00
Shahram Najm 62e9830bcf Dead code removal 2024-01-01 13:35:14 +00:00
Shahram Najm 8cb098cd95 Error messages 2023-12-31 18:19:42 +00:00
Shahram Najm 40f7a0007d Error messages 2023-12-31 18:07:47 +00:00
Shahram Najm 64d69f1395 Error messages 2023-12-31 18:00:27 +00:00
Shahram Najm dd3be148d3 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-12-28 13:30:58 +00:00
Shahram Najm 03de571851 Dead code removal 2023-12-27 16:47:45 +00:00
Shahram Najm b442065995 Testing: Secondary bitmaps (GRIB2) 2023-12-27 16:07:01 +00:00
Shahram Najm 075760afc8 Testing: transient darray 2023-12-27 15:09:34 +00:00
Shahram Najm 3826d72024 Dead code removal 2023-12-26 18:53:07 +00:00
Shahram Najm 84d8265b9a Dead code removal 2023-12-26 18:45:00 +00:00
Shahram Najm 5cbc79fd36 Testing: Increase coverage: JPEG decoding 2023-12-26 17:54:09 +00:00
Shahram Najm 2308878ef2 Non-alpha: no need for pack_xxx functions if read-only 2023-12-26 17:52:08 +00:00
Shahram Najm e54a4660fa GRIB1: Calculation of number of points when Nj=missing or 0 2023-12-26 17:00:37 +00:00
Shahram Najm c2668153ef Testing: 'close' action and filepool 2023-12-26 14:52:23 +00:00
Shahram Najm c3d13d35ae Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-12-23 17:25:51 +00:00
Shahram Najm 72365c5bb3 Initialise buffers 2023-12-23 15:12:24 +00:00
Shahram Najm ace2a0a8c1 ECC-1739: BUFR: Assertion failure decoding with invalid masterTablesVersionNumber 2023-12-22 19:41:06 +00:00
Shahram Najm c077fa5dc5 ECC-1738: BUFR: Better error message for invalid sequence 2023-12-21 12:47:26 +00:00
Shahram Najm f7bccb5537 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-12-21 11:47:12 +00:00
Shahram Najm 818192c2a4 Cleanup 2023-12-20 12:07:26 +00:00
Shahram Najm 23ae3e8bba GRIB lightweight clone: Rename 2023-12-19 15:16:37 +00:00
Shahram Najm 7be67dc31b Merge branch 'develop' into feature/GRIB_lightweight_clone 2023-12-19 15:04:36 +00:00
Shahram Najm ba8df5afa6 SUP-3892: Eccodes 2.32 onwards compile with Intel problems 2023-12-19 15:00:14 +00:00
Shahram Najm 2666565b7f Reformatting 2023-12-19 14:59:38 +00:00
Shahram Najm cfab5e7b1f Reformatting 2023-12-19 14:49:40 +00:00
Shahram Najm 7bcdcdf40c SUP-3892: Eccodes 2.32 onwards compile with Intel problems 2023-12-19 14:47:35 +00:00
Shahram Najm dc58a160c0 Fix key comparisons 2023-12-17 17:08:32 +00:00
Shahram Najm 42be7969f2 g1end_of_interval_monthly: Check month is valid 2023-12-17 16:38:45 +00:00
Shahram Najm 42fe75054a Testing: Increase coverage 2023-12-16 13:07:36 +00:00
Shahram Najm 5c135b6b30 Refactoring 2023-12-15 18:29:55 +00:00
Shahram Najm 483316197a Refactoring 2023-12-15 15:16:40 +00:00
Shahram Najm 560e10f6d9 Error messages 2023-12-15 13:44:12 +00:00
Shahram Najm c852227c6c GRIB lightweight clone: Rename 2023-12-13 10:55:24 +00:00
Shahram Najm 3e7210df2f Merge branch 'develop' into feature/GRIB_lightweight_clone 2023-12-13 10:43:13 +00:00
Shahram Najm 3d6d684123 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-12-11 12:11:49 +00:00
Shahram Najm 0c614bc926 Dead code removal 2023-12-10 14:04:56 +00:00
Shahram Najm f297de4278 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-12-09 17:43:51 +00:00
Shahram Najm a2adea7b81 API: Allow setting code table keys as missing via codes_set_string 2023-12-09 17:13:02 +00:00
Shahram Najm fdc57f8c26 Header files: Fix broken Windows build 2023-12-09 15:52:01 +00:00
Shahram Najm 1bb1579ae2 Header files: Cleanup 2023-12-09 15:14:57 +00:00
Shahram Najm c728c0d7a9 Const correctness 2023-12-07 17:13:45 +00:00
Shahram Najm 591f335cdb ECC-1733: GRIB2: codes_set_missing doesn't work for timeIncrement and indicatorOfUnitOfTimeIncrement keys 2023-12-07 15:46:03 +00:00
Shahram Najm 8b2d4c45f5 Dumper: add default value info (Debug mode) 2023-12-06 17:11:33 +00:00
Eugen Betke 5bd9d62642 ECC-1620: Introduction of the "eccodes" namespace 2023-12-06 15:58:51 +00:00
Shahram Najm 937d2fa737 Tools: Improved error messages 2023-12-06 12:57:07 +00:00
Eugen Betke 394ba554c4 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-12-06 10:41:43 +00:00
Shahram Najm 161a048488 ECC-1699: Dump 2023-12-05 13:02:27 +00:00
Shahram Najm 131235c06d Codetable API functions 2023-12-02 18:51:39 +00:00
Shahram Najm 20d36eb58f Merge branch 'feature/GetAllCodeTableEntries' into feature/ECC-1620_sub-hourly 2023-12-02 18:37:50 +00:00
Shahram Najm 66209c060e Functions codes_codetable_check_code_figure and codes_codetable_check_abbreviation 2023-12-02 18:35:01 +00:00
Shahram Najm 443d467ae6 Merge branch 'feature/GetAllCodeTableEntries' into feature/ECC-1620_sub-hourly 2023-12-02 17:51:59 +00:00
Shahram Najm ecf8dc993b codes_codetable_check_entry and further tests 2023-12-02 17:45:44 +00:00
Shahram Najm dca34cfc2d codes_get_codetable_contents_malloc: Renamed and added test 2023-12-02 16:34:56 +00:00
Eugen Betke e84ebfa238 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-12-01 16:37:01 +00:00
Eugen Betke 52205dc77d ECC-1620: Set startStepUnit 2023-12-01 16:26:54 +00:00
Eugen Betke 832ca298e2 ECC-1620: Change ECCODES_FUTURE_BEHAVIOUR to ECCODES_GRIB_SHOW_HOUR_STEPUNIT 2023-12-01 09:21:17 +00:00
Shahram Najm f155dbbb58 codes_get_all_codetable_entries_malloc 2023-11-30 20:25:43 +00:00
Eugen Betke 8c7286d096 ECC-1620: add future behaviour: export ECCODES_FUTURE_BEHAVIOUR=1 2023-11-29 14:56:48 +00:00
Shahram Najm f31265e7e7 Update list of keys and hash 2023-11-29 14:44:28 +00:00
Eugen Betke eec53eb56b ECC-1620: Force stepUnits 2023-11-29 14:22:36 +00:00
Eugen Betke 3bcb5a8cc9 ECC-1620: New format for special units, e.g., 8x15m 2023-11-29 09:37:38 +00:00
Eugen Betke c515507a26 Merge branch 'develop' into feature/ECC-1620_sub-hourly 2023-11-28 12:18:55 +00:00
Shahram Najm 017947df5f GRIB lightweight clone: Copy packingType 2023-11-27 17:50:59 +00:00