Commit Graph

903 Commits

Author SHA1 Message Date
Shahram Najm e91e71c1e8 Tools: Cleanup 2023-12-04 18:25:19 +00:00
Shahram Najm 93322ae0c5 Tools: Rename and documentation 2023-12-04 18:18:21 +00:00
Shahram Najm 292c57a202 Tools: Initialise string buffer 2023-11-07 23:01:44 +00:00
Shahram Najm 082b721c4f Tools: Add -h option 2023-11-02 19:52:42 +00:00
Shahram Najm 575c7d7316 Tools: More readable string compare function 2023-10-30 16:35:53 +00:00
Shahram Najm fbce17e52b Testing: Comparing thru indexes 2023-10-21 13:55:27 +01:00
Shahram Najm 9ec652d21c Testing: JPEG encoding, error cases 2023-08-27 13:31:21 +01:00
Shahram Najm fd254f1564 Dead code removal 2023-08-26 20:22:51 +01:00
Shahram Najm 0f92bd80d5 Tools: Fix write_messages 2023-08-24 22:52:33 +01:00
Shahram Najm e81e3ed65f ECC-1672: Tools: Add '-d' option for grib_compare 2023-08-24 13:06:09 +01:00
Shahram Najm 917d59531c Tools: Fix blocklisting 2023-08-24 11:34:30 +01:00
Shahram Najm d34ac136e1 Refactoring 2023-08-23 22:19:07 +01:00
Shahram Najm d1401bca1e BUFR indexing and compare 2023-08-22 22:48:21 +01:00
Shahram Najm 9b5452d002 Dead code removal 2023-08-22 17:26:42 +01:00
Shahram Najm b3e4351635 Tools: Cleanup 2023-08-11 22:03:09 +01:00
Shahram Najm 774dbab5ec Tools: Dead code removal 2023-08-11 21:57:13 +01:00
Shahram Najm 15d9df4e47 Tools: grib_tool_new_file_action 2023-08-09 13:41:13 +01:00
Shahram Najm d0fd3ed254 Tools: Error messages 2023-08-09 12:09:13 +01:00
Shahram Najm 7e882a34c4 Tools: Error messages 2023-08-08 19:49:28 +01:00
Shahram Najm d8c17620bb Tools: Error messages 2023-08-08 17:31:22 +01:00
Shahram Najm 8889b5229d Tools: Fix format error 2023-08-08 14:02:11 +00:00
Shahram Najm 44cb31cfd1 Tools: Test for error conditions 2023-08-08 13:16:05 +01:00
Shahram Najm 1a9b2f87e8 Tools: Test for error conditions 2023-08-08 10:41:36 +01:00
Shahram Najm b2217d46b0 Utility function: string_to_long plus tests 2023-08-04 20:37:17 +01:00
Shahram Najm 265b4fc49b Tools: grib_to_netcdf test for GRIB_TO_NETCDF_CHECKVALIDTIME 2023-07-27 13:15:48 +01:00
Shahram Najm 862764654a Tools: Error handling (grid geometry) 2023-07-19 12:52:03 +00:00
Shahram Najm 8b4156bf50 ECC-1641: Assertion failure in grib_to_netcdf for acetone product 2023-07-18 17:55:31 +00:00
Shahram Najm abfaec141e ECC-1640: Tools: Deprecate the grib1to2 script 2023-07-18 15:03:40 +01:00
Shahram Najm 0ef0fce941 Tools: Improve error message 2023-07-16 15:06:52 +01:00
Shahram Najm f4e724a95b Testing: codes_parser 2023-07-15 20:34:22 +01:00
Shahram Najm bc216cdc41 ECC-1621: Valgrind error: grib_compare -H 2023-07-13 11:39:39 +00:00
Shahram Najm e8138624b5 ECC-1633: Tools: Deprecate the tigge_* tools (tigge_check, tigge_split, etc) 2023-07-12 16:31:31 +01:00
Shahram Najm 3214948a57 Tools: Remove -H option from metar compare 2023-06-28 09:49:28 +01:00
Shahram Najm 4c55ce239a Revert accidental commit (ECC-1621) - switching to a branch 2023-06-27 16:44:29 +01:00
Shahram Najm ee6d4eaba4 ECC-1621: Valgrind error: grib_compare -H 2023-06-27 16:39:53 +01:00
Shahram Najm aecac9dd98 Rename assertion macros 2023-06-26 21:21:07 +01:00
Shahram Najm 76e97ca76f Dead code removal 2023-06-25 16:01:22 +01:00
Shahram Najm fd6bc69160 Include what you use 2023-06-23 17:13:23 +01:00
Shahram Najm e288704499 Dead code removal 2023-06-21 10:45:16 +01:00
Shahram Najm 5139e09187 Fast read: Simplify interface 2023-06-19 16:31:14 +00:00
Shahram Najm cf630743ab Fast read: provide offset arguments 2023-06-19 12:54:43 +01:00
Shahram Najm 57e0ce018d ECC-1614: Cleanup 2023-06-18 15:19:43 +00:00
Shahram Najm 190c663586 ECC-1614: Performance: Speedup grib_count and bufr_count 2023-06-18 15:19:43 +00:00
Shahram Najm 4d1f9c49b6 Fast codes_count: More tests are passing (WIP) 2023-06-18 15:19:43 +00:00
Shahram Najm d78166f28b Fast codes_count: Basic tests are passing (WIP) 2023-06-18 15:19:43 +00:00
Shahram Najm ca250f1884 Remove debugging printf 2023-06-05 16:28:10 +01:00
Shahram Najm 7ebcceea39 Improved usage info 2023-06-02 12:11:34 +01:00
Shahram Najm a4d0f05a43 Better error messages 2023-04-09 12:45:01 +01:00
Shahram Najm 179a1ad2e0 Tools: Use the key angleSubdivisions 2023-03-28 17:56:26 +01:00
Shahram Najm 07e8affd43 Testing: Checking Gaussian grids 2023-03-25 14:25:01 +00:00
Shahram Najm 1c905d7cd3 ECC-1551: grib_get: Error message does not include the offending key 2023-03-14 21:09:57 +00:00
Shahram Najm 889f7dfda3 Tools: Print failure reason (printing key values) 2023-03-14 15:35:33 +00:00
Shahram Najm 8b2290804c Migration to C++: Comments 2023-03-06 20:54:34 +00:00
Shahram Najm eb4220f455 Compiler warning: [-Walloc-size-larger-than=] 2023-03-06 20:50:11 +00:00
Shahram Najm 0c2060e585 Compiler warnings: comparison of integers of different signs [-Wsign-compare] 2023-03-04 18:51:14 +00:00
Shahram Najm 0d0f0a6899 Migration to C++: Use builtin bool type 2023-03-04 12:45:31 +00:00
Shahram Najm d1d094cf8a Compiler warning: macro redefined 2023-03-03 17:33:44 +00:00
Shahram Najm d6ab079a42 Tools: Preparation for ECC-1528 2023-02-17 17:08:50 +00:00
Shahram Najm 2432c1d029 Remove duplicated macro 2023-02-17 15:44:46 +00:00
Shahram Najm 9052774253 Deprecated tools 2023-02-15 16:16:18 +00:00
Shahram Najm f516a62f02 ECC-1528: Tools: Setting -w constraint with count=0 should issue an error 2023-02-12 16:16:29 +00:00
Shahram Najm bb3dcc0602 Tools: cpplint warning re strtok 2023-02-11 15:02:55 +00:00
Shahram Najm 08b6514aa7 Deprecated files 2023-02-11 14:09:42 +00:00
Shahram Najm ac30393626 ECC-1519: grib_ls: Using the 'statistics' namespace does not respect the specified format 2023-02-01 15:52:36 +00:00
Shahram Najm 6e86b0eb8c ECC-1508: Change file extensions to '.cc' 2023-01-30 12:01:31 +00:00
Shahram Najm 81a2fc9d99 ECC-1508: Set project language to be C++ 2023-01-30 11:24:39 +00:00
Shahram Najm 130c61e755 ECC-1508: Set project language to be C++ 2023-01-28 15:18:23 +00:00
Shahram Najm 1694547f39 ECC-1516: grib_dump error on index file 2023-01-22 18:21:57 +00:00
Shahram Najm daa0924312 Tools: Check error codes 2023-01-22 14:52:27 +00:00
Shahram Najm d9406ccd17 Tools: cppcheck warnings 2023-01-22 13:32:32 +00:00
Shahram Najm 0fa00f406b Tools: use '%zu' in the format string for size_t 2023-01-21 17:30:28 +00:00
Shahram Najm 270660a7ed Tools: Redundant check 2023-01-21 14:21:36 +00:00
Shahram Najm eb56b7beff Tools: Check error codes 2023-01-21 14:16:15 +00:00
Shahram Najm 7a7111945c Tools: Check error code after decoding referenceValueError 2023-01-15 15:22:40 +00:00
Shahram Najm 8dd75a889a Cppcheck: Same value in both branches of ternary operator 2023-01-15 15:03:59 +00:00
Shahram Najm 439ca44024 Tools: Check iDirectionIncrementGiven 2023-01-12 17:16:30 +00:00
Shahram Najm 8abeb45135 C++ warnings 2023-01-08 15:23:24 +00:00
Shahram Najm 12959de080 C++: conversion from string literal to 'char *' 2023-01-08 14:36:46 +00:00
Shahram Najm cb04418e93 Cleanup 2023-01-08 14:04:54 +00:00
Shahram Najm 14696668c8 C++: conversion from string literal to 'char *' 2023-01-08 14:01:22 +00:00
Shahram Najm 81110907df C++: conversion from string literal to 'char *' 2023-01-08 13:37:16 +00:00
Shahram Najm 7468e8b15f C++ compilation 2023-01-06 20:33:42 +00:00
Shahram Najm bed7e91e6b C++ compilation 2023-01-06 20:25:57 +00:00
Shahram Najm 4f9a51de1c AppVeyor: Fix broken Windows build 2023-01-06 19:52:58 +00:00
Shahram Najm 0d7088b096 C++ compilation 2023-01-06 19:14:02 +00:00
Shahram Najm e874f7c9c7 ECC-1500: Tools: Print the online help page URL 2023-01-06 11:52:00 +00:00
Shahram Najm 350d8e6747 ECC-1500: Tools: Print the online help page URL 2023-01-04 21:16:24 +00:00
Shahram Najm b303346d0a Documentation 2022-12-28 14:57:41 +00:00
Shahram Najm 6a9b705b37 Documentation 2022-12-28 14:28:58 +00:00
Shahram Najm d5047d3f46 Tools: Error messages 2022-12-27 13:19:33 +00:00
Shahram Najm 6d9d11cab0 Tools: Comments 2022-12-27 12:36:19 +00:00
Shahram Najm 0908028394 Examples: use '%zu' in the format string for size_t 2022-12-21 15:07:48 +00:00
Shahram Najm 2544e2bfa7 Tools: Cleanup 2022-12-16 17:24:53 +00:00
Shahram Najm 7ecdddda06 Tools: Set key 'file' for bufr_get 2022-12-16 17:16:51 +00:00
Shahram Najm a34bb5bd24 Tools: Set key 'file' for grib_get 2022-12-16 17:14:24 +00:00
Shahram Najm 0989b98118 Tools: Improve message 2022-12-13 16:21:42 +00:00
Shahram Najm 7b55d9d00a Cleanup 2022-12-07 19:38:35 +00:00
Shahram Najm fe1f32d9bc ECC-1489: Crash on MacOS (release build): printing the tool man page 2022-12-05 15:34:35 +00:00
Shahram Najm 6e39ecda5e C++ compiler warnings: conversion from string literal to 'char *' 2022-11-20 14:40:57 +00:00
Shahram Najm 06531aba4f Compiler warnings: signed/unsigned mismatch 2022-11-14 12:09:42 +00:00
Shahram Najm 1627cb06a7 Compiler warnings: signed/unsigned mismatch 2022-11-12 22:08:44 +00:00
Shahram Najm 9d08a85eec Compiler warnings: signed/unsigned mismatch 2022-11-12 19:16:31 +00:00
Shahram Najm 0644fdc346 Compiler warnings: use '%zu' in the format string for size_t 2022-11-12 13:34:09 +00:00
Shahram Najm 044cb17e11 Windows: Do not need _snprintf anymore 2022-11-10 21:51:06 +00:00
Shahram Najm 133b67fa0d Typo 2022-11-10 20:13:38 +00:00
Shahram Najm 9f71b20f25 ECC-1468: Replace all instances of the deprecated function 'sprintf' with 'snprintf' 2022-11-10 19:18:43 +00:00
Shahram Najm 3255222392 Memory leak 2022-11-04 16:59:12 +00:00
Shahram Najm c984a57fc3 Tools: Move check for interpretationOfNumberOfPoints to the end 2022-11-03 13:01:18 +00:00
Shahram Najm 2f4935b496 Tools: Add option to display the library version 2022-11-02 17:55:47 +00:00
Shahram Najm 328365e510 Tools: Improve messages 2022-11-02 15:51:38 +00:00
Shahram Najm 9101e79aa5 C++ compilation 2022-10-28 13:24:17 +01:00
Shahram Najm fd67943d0e C++ compilation 2022-10-27 10:47:03 +01:00
Shahram Najm 7e72efada8 C++ warnings 2022-10-20 17:20:13 +01:00
Shahram Najm bac0688d4b Tools: Documentation 2022-10-18 12:29:27 +01:00
Shahram Najm 0d17694c4a Tools: bufr_dump plain mode also called 'flat' 2022-10-18 12:19:05 +01:00
Shahram Najm b111d0b70b Tools: Fix key name 2022-07-26 19:05:11 +01:00
Shahram Najm b7724edc27 Tools: man page 2022-07-21 13:38:07 +01:00
Shahram Najm dbc044d828 Tools: cppcheck warnings 2022-06-30 16:52:04 +01:00
Shahram Najm 766f4aeb63 Const correctness (To aid migration to C++) 2022-06-30 10:29:46 +01:00
Shahram Najm 2be3dddd15 ECC-1419: C API: codes_fieldset_new_from_files: The 'filenames' argument should be const 2022-06-30 10:29:14 +01:00
Shahram Najm 416560bc1b ECC-1419: C API: codes_fieldset_new_from_files: The 'filenames' argument should be const 2022-06-30 10:28:48 +01:00
Shahram Najm f1b49ca4ae Documentation: grib_filter 2022-06-29 15:14:16 +01:00
Shahram Najm a95c8fe76d Tools: Add associated field as name of special descriptor 999999 2022-06-27 15:38:57 +01:00
Shahram Najm bc2b1c3e5e Tools: repack does not apply to BUFR 2022-06-27 11:12:14 +01:00
Shahram Najm fa7f760a7b Tools: Improve error message 2022-06-15 12:04:07 +01:00
Shahram Najm a050115789 Refactoring: Function renaming 2022-06-10 20:51:39 +01:00
Shahram Najm 2b908fee8d Tools: exit if input is a directory 2022-06-07 11:45:08 +01:00
Shahram Najm 08abd94ada ECC-1397: Added test 2022-06-06 16:48:51 +01:00
Shahram Najm 438a3bb957 ECC-1397: Tools: grib_ls nearest neighbour with JSON output 2022-06-06 14:50:05 +01:00
Shahram Najm 9d07ddb3ab C++: Const correctness 2022-06-02 19:29:29 +01:00
Shahram Najm 594918b593 Fix broken metabuilder/ci build (cray) 2022-05-21 19:39:33 +01:00
Shahram Najm 2cda55de73 ECC-1393: Fix error C2440 2022-05-21 16:13:38 +01:00
Shahram Najm 76bac8da71 ECC-1393: CMake: Add option to build ecCodes with C++ 2022-05-21 14:37:23 +01:00
Shahram Najm 0945d27154 Remove deprecated autotools makefiles 2022-05-06 13:44:54 +01:00
Shahram Najm 796beac27c Tools: check interpretationOfNumberOfPoints 2022-04-25 12:29:37 +01:00
Shahram Najm ccd402f272 Tools: check interpretationOfNumberOfPoints 2022-04-25 12:13:07 +01:00
Shahram Najm 0212dc18d3 Header guard 2022-04-19 13:09:53 +01:00
Shahram Najm 1693106cc4 CMake: rename list 2022-04-19 11:31:16 +01:00
Shahram Najm b65d67c7f8 Error messages 2022-04-06 15:31:18 +01:00
Shahram Najm 4daeadd13d Tools: Fix broken test for GRIB-971 2022-04-06 13:22:24 +01:00
Shahram Najm 0b82c044fb Compiler warning: conversion from 'double' to 'int', possible loss of data 2022-03-30 18:14:20 +01:00
Shahram Najm 132650a3bb Documentation 2022-03-25 20:48:11 +00:00
Shahram Najm 040093c655 Cleanup 2022-03-18 13:56:21 +00:00
Shahram Najm 1db1c0831c Indexing: print message number in case of failure 2022-03-17 22:21:33 +00:00
Shahram Najm 422ef77000 Refactoring 2022-03-14 19:54:22 +00:00
Shahram Najm aa7e202083 Allow sample file specification with extension 2022-03-14 15:16:16 +00:00
Shahram Najm b4b4f7b4ae Tools: codes_export_resource info message 2022-03-13 17:25:58 +00:00
Shahram Najm 6f155041a8 Tools: codes_export_resource cleanup 2022-03-12 20:06:47 +00:00
Shahram Najm 1141ac065c Merge branch 'feature/ExportResource' into develop 2022-03-12 20:00:33 +00:00
Shahram Najm f46e742820 Compiler warnings 2022-03-12 19:02:16 +00:00