Commit Graph

2531 Commits

Author SHA1 Message Date
Shahram Najm 86f5e6ef16 ECC-1367: C API: codes_get_double_elements: The 'index_array' argument should be 'const' 2022-03-09 19:33:52 +00:00
Shahram Najm d5cd7960c7 Debugging: Utility function to track GRIB packing/repacking issues 2022-03-09 16:54:29 +00:00
Shahram Najm 073e2a8190 Cleanup 2022-03-08 17:15:59 +00:00
Shahram Najm c859041d57 ECC-989: cleanup 2022-03-07 18:15:34 +00:00
Shahram Najm ba0081ec69 Merge branch 'develop' into bugfix/ECC-989-ValgrindErrorBufr 2022-03-07 17:56:10 +00:00
Shahram Najm 60f072f74d ECC-1343: Fix signatures 2022-03-07 16:44:55 +00:00
Shahram Najm 0a367b1d53 ECC-1343: Fix signatures 2022-03-07 16:42:22 +00:00
Shahram Najm c77d657a2d ECC-1343: Const correctness 2022-03-07 16:38:55 +00:00
Shahram Najm 4e3a31f25f Remove duplicate prototypes 2022-03-07 16:38:34 +00:00
Shahram Najm 8fb498fc07 ECC-1343: Catch errors from JasPer library 2022-03-07 16:18:30 +00:00
Shahram Najm 46c729d22a ECC-1343: cleanup 2022-03-07 13:54:10 +00:00
Shahram Najm 86f0b35f1a ECC-1343: Problems compiling with Jasper v3.0 (Try 02) 2022-03-06 21:30:44 +00:00
Shahram Najm 0a94dc71fb ECC-1343: Problems compiling with Jasper v3.0 (Try 01) 2022-03-06 20:17:54 +00:00
Shahram Najm b6896e9446 Merge branch 'develop' into bugfix/ECC-989-ValgrindErrorBufr 2022-03-04 19:22:13 +00:00
Shahram Najm 2837446798 ECC-1363: codes_set_string: Does not fail for invalid value for key of type 'double' 2022-03-04 15:27:16 +00:00
Shahram Najm 0daf459199 Refactoring: Remove unused keys 2022-03-04 14:07:30 +00:00
Shahram Najm 55a95d17bd ECC-1359: codes_set_string: Fails for integer key even if string can be converted to an integer 2022-03-02 17:43:41 +00:00
Shahram Najm cc09ad375d Optimisation: faster decode for constant field 2022-03-01 18:03:43 +00:00
Shahram Najm 59b169c4ba Const correctness 2022-02-26 19:15:19 +00:00
Shahram Najm af40b9bf30 ECC-989: Unused functions 2022-02-26 18:09:56 +00:00
Shahram Najm ca293c1da9 Fieldset: refactoring 2022-02-26 13:34:58 +00:00
Shahram Najm 4535dad22e Const correctness 2022-02-26 13:34:37 +00:00
Shahram Najm 9436793fe0 Update list of keys and hash 2022-02-25 15:37:11 +00:00
Shahram Najm 96d5a8fe95 ECC-989: Cleanup 2022-02-25 15:00:15 +00:00
Shahram Najm e0014714d4 ECC-989: Valgrind error: BUFR: setting 'unpack=1' before setting unexpandedDescriptors (Try 01) 2022-02-25 13:44:07 +00:00
Shahram Najm 87fd0f582b Refactoring 2022-02-24 12:42:51 +00:00
Shahram Najm e34c173fec Testing: Detect string to integer failure 2022-02-24 11:59:08 +00:00
Shahram Najm 5393ea7a56 Optimisation: Evaluate isOctahedral only if Ni==missing 2022-02-23 16:29:34 +00:00
Shahram Najm df142158c0 Update list of keys and hash 2022-02-22 12:18:23 +00:00
Shahram Najm 30e16a7b8b Error handling and cleanup 2022-02-19 13:07:07 +00:00
Shahram Najm 509a32607b Merge branch 'develop' into feature/OceanInMars 2022-02-14 22:13:55 +00:00
Shahram Najm 7040d51277 ECC-670: PowerPC: some tests fail on ppc platform 2022-02-11 13:38:11 +00:00
Shahram Najm ed8a8a3447 ECC-1347: BUFR crash: malloc failure during encoding 2022-02-10 17:18:23 +00:00
Shahram Najm 2736648f41 Compiler warnings on Windows: C4018 and C4334 2022-02-10 10:54:58 +00:00
Shahram Najm 4f113ed801 ECC-1344: Fix for Windows builds 2022-02-10 10:25:32 +00:00
Shahram Najm 15c5a0caef ECC-1344: Always call fflush() and fsync() before fclose() of a written file (Part 1) 2022-02-09 19:14:43 +00:00
Shahram Najm a89e1956f8 ECC-1345: GRIB: ECCODES_GRIB_IEEE_PACKING environment variable value should be checked 2022-02-09 13:14:31 +00:00
Shahram Najm 14fc79aae4 Fix formatting issues in print statements [-Werror=format=] 2022-02-07 17:23:23 +00:00
Shahram Najm 3f48155076 Geoiterator: improved error messages 2022-02-06 18:50:04 +00:00
Shahram Najm 9164be0020 Print name of Geoiterator in error messages 2022-02-06 17:45:29 +00:00
Shahram Najm b6c72d346c transform_iterator_data: No need to pass in handle. Also fix memory leak 2022-02-06 13:11:54 +00:00
Shahram Najm d2b739c0fc ECC-1339: Remove unused variables 2022-02-05 15:57:32 +00:00
Shahram Najm f9b0d8e521 ECC-1339: grib1 spectral ieee 2022-02-05 12:35:07 +00:00
Shahram Najm 3e29939e05 ECC-1339: cleanup 2022-02-04 19:05:26 +00:00
Shahram Najm 98b908ff68 ECC-1339: Fix comments 2022-02-04 17:47:25 +00:00
Shahram Najm bbb34f8c9a ECC-1339: GRIB2: ECCODES_GRIB_IEEE_PACKING environment variable does not work for edition 2 2022-02-04 17:45:47 +00:00
Shahram Najm f4460251d1 Testing: grib_compare 2022-02-03 18:25:17 +00:00
Shahram Najm 9f25c8951c Deprecated code 2022-02-03 16:37:40 +00:00
Shahram Najm f3355b385a Merge develop into feature/OceanInMars branch 2022-02-03 12:04:32 +00:00
Shahram Najm 0bb62072d1 Cleanup 2022-02-01 12:22:44 +00:00
Shahram Najm 9d4e838d3b Cleanup 2022-01-31 20:25:14 +00:00
shahramn b0a093f804
Merge branch 'develop' into g1second_order-test-fix-linux32 2022-01-31 18:45:27 +00:00
shahramn 165eddb8b5
Merge branch 'develop' into g1second_order-test-fix-linux32 2022-01-31 17:00:44 +00:00
Shahram Najm 0a2c5f3727 Update list of keys and hash 2022-01-31 14:56:37 +00:00
Shahram Najm c88748cc80 ECC-1335: C API: Deprecate functions codes_box_new and codes_box_get_points (Part 3) 2022-01-31 14:17:18 +00:00
Shahram Najm c564b6eae5 ECC-1335: C API: Deprecate functions codes_box_new and codes_box_get_points (Part 2) 2022-01-31 14:07:07 +00:00
Shahram Najm 8a2337c43e ECC-1331: GRIB: Polar stereographic projection with alternativeRowScanning is incorrect 2022-01-30 22:26:38 +00:00
Shahram Najm 4d927258ac ECC-1331: Better to fail rather than generate wrong results 2022-01-29 15:49:44 +00:00
Shahram Najm f0e24edd1c ECC-1330: Fix leak 2022-01-21 20:03:55 +00:00
Shahram Najm 9b2b7d69c7 ECC-1330: BUFR: bufrTemplate='unknown' but should be 'aircraftReportWithSecondsAndPressure' 2022-01-21 16:03:51 +00:00
Shahram Najm f1e9143b59 Experimental: setting MISSING as a valid value (for now disabled) 2022-01-20 14:40:06 +00:00
Shahram Najm 1b137c5bee Unused function: grib_init_accessor_from_array 2022-01-20 13:40:14 +00:00
Shahram Najm e2d7c22edd Update list of keys and hash 2022-01-19 19:56:18 +00:00
Mamoru TASAKA 580c760e55 g1second_order_general_extended_packing: preserve significant bits for signedness on 32bit
In g1second_order_general_extended_packing, firstOrderValues or so are restored
with grib_get_long_array(), and the restored values are stored in "long" type array.
So on 32 bit system, when "bits_per_value" is set to 32 and 32 bit unsigned values
are saved with grib_set_long_array(), restored values by grib_get_long_array()
are recognized as negative value, which results in wrong result
(in grib_second_order.sh).

For now, on linux 32 bit system, save 1 significant bit for signedness and
restrict bits_per_value to 31, and relax allowed error due to this change.
2022-01-10 23:32:27 +09:00
Shahram Najm 0155057ea5 Performance: unpack_string: reduce scope and buffer size 2021-12-26 20:32:06 +00:00
Shahram Najm 5407ecd6d1 Unused accessor: bufr_clear_tables 2021-12-21 21:04:42 +00:00
Shahram Najm f1553c0772 Error messages 2021-12-18 22:11:09 +00:00
Shahram Najm 49a9e55807 Merge branch 'develop' into feature/OceanInMars 2021-12-17 18:47:32 +00:00
Shahram Najm e178c99874 Testing: add test for 'suppressed' accessor 2021-12-16 12:21:53 +00:00
Shahram Najm 1721cc7351 Add build date into library: Fix Windows build 2021-12-14 19:56:52 +00:00
Shahram Najm 267f155628 Add build date into library (Similar to git SHA1) 2021-12-14 19:49:25 +00:00
Jos de Kloe 001e6b5311 add patch to src/grib_api_internal.h as proposed by Mamoru TASAKA <mtasaka@fedoraproject.org> to fix test problems on the big endian s390x platform. 2021-12-14 09:05:27 +01:00
Shahram Najm ea5a8f8ac6 Unused file: More cleanup 2021-12-11 19:36:08 +00:00
Shahram Najm 6e044b9b5a Unused file: grib_accessor_class_g1p1p2.c 2021-12-11 17:58:50 +00:00
Shahram Najm 201443c6ac Testing: offset as a string and integer 2021-12-09 22:22:20 +00:00
Shahram Najm 653594028c Improve error messages 2021-12-09 18:53:05 +00:00
Shahram Najm ac2095cd42 Improve error messages 2021-12-09 18:41:10 +00:00
Shahram Najm 109ef4654c Warning on Windows 2021-12-05 20:19:51 +00:00
Shahram Najm 04d53e0280 Unused functions 2021-12-05 20:18:45 +00:00
Shahram Najm 73ccccb6a9 Cppcheck warnings: Fix signature 2021-12-04 14:11:54 +00:00
Shahram Najm eadba0575b Cppcheck warnings 2021-12-04 14:01:44 +00:00
Shahram Najm 64ab857895 Cppcheck warnings 2021-12-03 21:05:03 +00:00
Shahram Najm 5076bc3c9f ECC-1315: Keys like parameterName and nameOfFirstFixedSurface have a trailing space 2021-12-01 14:56:51 +00:00
Shahram Najm 7c6411a634 ECC-1314: GRIB1: Memory leak if conversion to GRIB2 fails 2021-11-29 17:03:06 +00:00
Shahram Najm 069605b85a Performance: BUFR decoding: make local copy to reduce memory access 2021-11-24 12:26:05 +00:00
Shahram Najm 4fd37d3e16 Performance: BUFR decoding: avoid calls to strlen 2021-11-24 12:25:09 +00:00
Shahram Najm 76406f837d Debugging: print more info during expansion 2021-11-18 17:20:47 +00:00
Shahram Najm 64fc926a43 ECC-1304: BUFR encoding: Crash if bitmap specification is invalid 2021-11-16 15:01:15 +00:00
Shahram Najm c96368cd27 ECC-1303: GRIB2: Setting localDefinitionNumber=1 on paramId=228104 (e_WLCH4) corrupts message 2021-11-15 15:14:59 +00:00
Shahram Najm de5c4e7c31 Update list of keys and hash 2021-11-12 15:50:14 +00:00
Shahram Najm b6f3d1f96a Cppcheck warnings: identicalConditionAfterEarlyExit 2021-11-12 13:03:50 +00:00
Shahram Najm 6babb08ddb Cppcheck warnings: uselessAssignmentPtrArg 2021-11-11 12:43:43 +00:00
Shahram Najm 0f6495e740 Cppcheck warnings: nullPointerRedundantCheck, variableScope 2021-11-11 12:21:01 +00:00
Shahram Najm feeef6b3ff Spelling 2021-11-11 12:19:12 +00:00
Shahram Najm ee867407d6 Cppcheck warnings: duplicateConditionalAssign 2021-11-10 20:37:55 +00:00
Shahram Najm 3a78fc5fd6 ECC-1301: add new Centre UFZ in Common Code table 11 2021-11-10 16:24:34 +00:00
Shahram Najm a5f44eebca Cppcheck warnings: Const correctness 2021-11-06 19:33:00 +00:00
Shahram Najm 6ae358e67e Cppcheck warnings: unused struct 2021-11-06 19:29:01 +00:00
Shahram Najm 87acf45bb5 Cppcheck warnings: Const correctness 2021-11-06 17:56:21 +00:00
Shahram Najm cf796ed5ae Merge branch 'develop' into CppCheckWarnings 2021-11-06 17:01:53 +00:00
Shahram Najm adbb4e5f58 Clean up 2021-11-06 13:58:39 +00:00
Shahram Najm f575a0468c GRIB: nearest function on oblate spheroid 2021-11-06 12:35:12 +00:00
Shahram Najm 040ab8d66d ECC-1290: make test pass (encoding now works) 2021-11-04 15:31:26 +00:00
Shahram Najm 061ae49c48 Merge branch 'develop' into bugfix/ECC-1290-BufrWindows 2021-11-04 13:32:22 +00:00
Shahram Najm 8bf7157547 Clang warning [-Wmissing-prototypes] 2021-11-04 11:07:09 +00:00
Shahram Najm ae1206473e ECC-1295: GRIB: nearest function fails on regular lat/lon grid on oblate spheroid 2021-11-03 16:17:48 +00:00
Shahram Najm 66e78b5256 ECC-1291: Remove unused variables 2021-11-02 17:38:51 +00:00
Shahram Najm 7f47e8d567 ECC-1291: clean up 2021-11-02 17:33:01 +00:00
Shahram Najm 4842d8e13a ECC-1291: GRIB2: Implement Lambert Azimuthal geoiterator on oblate spheroid (First working version) 2021-11-02 17:13:02 +00:00
Shahram Najm c9df56b021 ECC-1291: Test 2021-10-26 13:34:19 +01:00
Shahram Najm 55e0e3e30b ECC-1291: Merge from develop and make tests pass 2021-10-26 12:19:33 +01:00
Shahram Najm 98078a2eb6 Fix cppcheck warnings 2021-10-25 14:07:49 +01:00
Shahram Najm bfd97b3e8c Fix cppcheck warnings 2021-10-24 16:44:53 +01:00
Shahram Najm 27ff93c1e1 Merge branch 'develop' into feature/LAEA_Oblate 2021-10-21 20:43:22 +01:00
Shahram Najm 6464d55261 Better error message when concept match fails 2021-10-13 17:22:15 +01:00
Shahram Najm d2af1b6580 ECC-1290: BUFR: Key spectralWaveDensity decoded incorrectly 2021-10-13 17:21:40 +01:00
Shahram Najm f9cf8d2239 ECC-1290: BUFR: Key spectralWaveDensity decoded incorrectly (1st try) 2021-10-13 17:04:46 +01:00
Shahram Najm 66bd71068a ECC-1290: BUFR: Key spectralWaveDensity decoded incorrectly (1st try) 2021-10-13 17:02:55 +01:00
Shahram Najm cd47f8c285 BUFR: Fix assert 2021-10-13 13:04:02 +01:00
Shahram Najm ccd3bca790 ECC-1134: BUFR indexing (still experimental) 2021-10-12 12:18:37 +01:00
Shahram Najm 4c7dcac25d YACC cleanup/formatting/spelling 2021-10-11 18:05:44 +01:00
Shahram Najm 2af4e85c0a Merge develop into OceanInMars branch 2021-10-07 11:39:45 +01:00
Shahram Najm f4af7f5276 Debugging messages 2021-10-06 11:29:57 +01:00
Shahram Najm 862897f46e ECC-1288: Implement a mechanism to erase cached definitions/tables 2021-10-05 18:13:36 +01:00
Shahram Najm d1ec27697e grib_util_grid_spec: Comments 2021-10-05 12:05:15 +01:00
Shahram Najm 9dbae2ade1 Spelling 2021-10-03 18:06:50 +01:00
Shahram Najm 2b90bf09e1 Add guard for codetable keys with can_be_missing 2021-09-28 16:57:33 +01:00
Shahram Najm 9d954e2f92 Use longitudeOfSubSatellitePointInDegrees for space view 2021-09-21 11:07:15 +01:00
Shahram Najm 33d2e264c0 Space View iterator: add more checks 2021-09-21 11:03:32 +01:00
Shahram Najm 854a8c178d ECC-1286: GRIB: Cannot set keys 'scaleFactorOfLowerLimit' and 'scaledValueOfLowerLimit' via the 'lowerLimit' key 2021-09-20 17:20:54 +01:00
Shahram Najm b26d806ea2 Add guards for grib_is_missing_string 2021-09-19 13:16:52 +01:00
Shahram Najm 8465231143 ECC-1284: bufr_dump: Display of missing strings in arrays 2021-09-16 16:47:25 +01:00
Shahram Najm e31470bef3 Merge branch 'develop' into feature/OceanInMars 2021-09-14 11:44:03 +01:00
Shahram Najm e1c5fadca5 Revert experimental support for 'space view' (broke Magics) 2021-09-14 10:54:54 +01:00
Shahram Najm d00c94e4ce ECC-1280: Check to avoid divide by zero 2021-09-13 21:34:35 +01:00
Shahram Najm 76d82b7c4b ECC-1115: Add experimental support for 'space view' 2021-09-13 17:50:31 +01:00
Shahram Najm cad5b545a2 ECC-1280: Revert NrInRadiusOfEarth (Breaks Magics). Fix angle conversions 2021-09-13 15:03:02 +01:00
Shahram Najm 6747dac30b ECC-1280: remove unused variable 2021-09-11 13:52:23 +01:00
Shahram Najm 1f1133df5d ECC-1280: GRIB1: geoiterator for 'space view' is not implemented 2021-09-11 13:44:40 +01:00
Sebastien Villaume 0ab727fac2 Merge branch 'develop' into feature/OceanInMars 2021-09-06 09:31:26 +01:00
Shahram Najm 9b2da5b0bf Error messages 2021-09-04 18:03:44 +01:00
shahramn 758388ec06
Merge branch 'develop' into master 2021-08-30 20:07:43 +01:00
shahramn be29a2cca0
Merge branch 'develop' into master 2021-08-30 15:12:16 +01:00
Shahram Najm 26e5abf45f ECC-1275: Fix broken tests on Windows 2021-08-30 13:47:38 +01:00
Shahram Najm 5bee4847be ECC-1275: grib_set: Setting unsigned values to -1 sets the maximum value for that key 2021-08-27 19:38:46 +01:00
Shahram Najm 97710440d4 ECC-1274: BUFR: duplicated/incorrect error messages during decode 2021-08-26 13:03:16 +01:00
Shahram Najm ce1b1a24d1 Merge release branch 2021-08-23 13:20:56 +01:00
Shahram Najm 32b23dc9fd Initialize struct members 2021-08-20 16:10:18 +01:00
Shahram Najm 6fb7c21a2d Memory leak 2021-08-20 16:09:41 +01:00
Shahram Najm ea7ea3e197 Unused function 2021-08-14 18:42:53 +01:00
Shahram Najm d41b90070d Testing: Add test for accessor g1day_of_the_year_date 2021-08-14 18:14:13 +01:00
Shahram Najm 6132e9d8de Cleanup: Remove the tiny test and xref 2021-08-14 12:42:27 +01:00
Tiago Quintino ea0105bd24 Fix build error after ninja clean 2021-08-13 00:06:28 +01:00
Shahram Najm b70198151d ECC-1267: Performance: reduce number of calls to function 'grib_is_all_bits_one' 2021-07-28 15:11:10 +01:00
Shahram Najm 7cce5f0cc6 Warnings: conversion to 'size_t' from 'int' 2021-07-28 14:46:01 +01:00
Sebastien Villaume f951b3d4d7 Merge branch 'develop' into feature/OceanInMars 2021-07-21 14:27:43 +01:00
Shahram Najm 4ddd53c0a0 Remove printf 2021-07-14 19:25:10 +01:00
Shahram Najm 43ed8bae26 ECC-1263: GRIB2: CCSDS packing: Assertion when creating constant field 2021-07-14 19:24:46 +01:00
Shahram Najm b60dd26c15 GRIB2: Local def 60 2021-07-14 16:34:11 +01:00
Shahram Najm 667f914746 ECC-1259: BUFR encoding: Crash if compressedData set after unexpandedDescriptors 2021-06-24 13:59:29 +01:00
Shahram Najm 047f5e345c ECC-1258: find_nearest returns wrong point if searched location is at a grid point 2021-06-22 15:14:07 +01:00
Shahram Najm 72c38d59b9 ECC-1255: GRIB2: Key 'is_efas' has two elements rather than just one 2021-06-22 11:46:19 +01:00
Shahram Najm 0e89d1730c Cosmetics 2021-06-21 17:11:59 +01:00
Shahram Najm 82650ee9fe Check incoming value size 2021-06-21 16:40:07 +01:00
Shahram Najm e8bf0aa855 Testing: Fix clang address sanitizer errors 2021-06-21 15:24:06 +01:00
Shahram Najm 02b25b085f ECC-1253: GRIB2: Error when setting localDefinitionNumber (centre=98) 2021-06-11 14:26:02 +01:00
Shahram Najm cabb2d54bb Const correctness 2021-06-10 21:57:45 +01:00
Shahram Najm 8ba5a104ab ECC-1244: error msg 2021-05-27 17:17:52 +01:00
Shahram Najm ac7b5d2cf3 ECC-1247: grib_dump: indicate which keys can have values which are 'missing' 2021-05-27 16:25:48 +01:00
Shahram Najm e10dd0d7f8 Release 2.22.0 2021-05-18 14:05:29 +01:00
Shahram Najm f15cbcbb73 ECC-1244: grib_get_data: iterator consumes vast amounts of memory when Ni is missing 2021-05-18 12:10:49 +01:00
Shahram Najm c79c389116 ECC-922: grib_get_data should fail on incorrectly coded grid 2021-05-17 16:42:51 +01:00
Shahram Najm ee4921b909 ECC-1219: packingType conversion from grid_ieee to grid_second_order 2021-05-14 23:40:30 +01:00
Shahram Najm 0f946776a4 ECC-1221: Encoding with packingType=grid_complex via codes_grib_util_set_spec (Part 1) 2021-05-13 12:13:12 +01:00
Shahram Najm 5598ea52dd ECC-1222: Encoding with packingType=grid_ccsds via codes_grib_util_set_spec 2021-05-10 18:36:45 +01:00
Shahram Najm 85652e5e05 ECC-1220: Encoding with packingType=grid_ieee via codes_grib_util_set_spec 2021-05-07 23:39:18 +01:00
Shahram Najm 65493220af grib_util_set_spec: print editionNumber in debug mode 2021-05-06 23:00:39 +01:00
Shahram Najm c6cf83bbae ECC-1239: grib_get_data: Polar Stereographic: Better error message if earth is oblate 2021-05-05 16:41:35 +01:00
Shahram Najm 6996b64061 ECC-1201: grib_util_set_spec: packing=av on IEEE packed gribs (initial try) 2021-04-30 13:02:34 +01:00
Shahram Najm 8abad788e3 Remove unused variables 2021-04-14 21:02:10 +01:00
Shahram Najm ded1337e56 ECC-1233: grib_filter: Allow printing of 'byte' keys like bitmap and section paddings 2021-04-13 12:17:01 +01:00
Shahram Najm 035d5635c4 Unused function 2021-04-13 12:16:13 +01:00
Shahram Najm ea48cf4456 Indexing: Move static variables close together 2021-03-24 13:01:57 +00:00
Shahram Najm c9ec3eb6ed Comments cleanup 2021-03-24 13:01:07 +00:00
Shahram Najm 310ad0bd0d Update list of keys and hash 2021-03-22 14:43:33 +00:00
Shahram Najm 2422df010f Merge release/2.21.0 2021-03-22 12:07:03 +00:00
Shahram Najm a4de42701e C: New utility function path_is_regular_file 2021-03-20 12:59:06 +00:00
Shahram Najm 0778f36301 Rename data member and fix condition 2021-03-17 21:25:29 +00:00
Shahram Najm 01c0cd7586 Rename data member and fix condition 2021-03-17 21:24:40 +00:00
Shahram Najm a1a809d279 GRIB2: PDT Support for chemical source/sink 2021-03-17 19:01:02 +00:00
Shahram Najm c537cc3771 Return correct error code 2021-03-13 14:11:43 +00:00
Shahram Najm 6fec74c997 long_vector: Check error codes 2021-03-12 14:39:53 +00:00
Shahram Najm d0b4e1f0ea Debug: Add assert on result of calls 2021-03-11 15:14:29 +00:00
Shahram Najm f8b61c28bd Cosmetics 2021-03-01 22:23:12 +00:00
Shahram Najm 70147cd99d ECC-1208: Fix name of macros: CODES_DUMP_FLAG_OCTECT and GRIB_DUMP_FLAG_OCTECT 2021-02-27 14:11:57 +00:00
Shahram Najm 52db2fb6cb Compiler warnings 2021-02-26 14:27:09 +00:00
Shahram Najm 1f1903ec7b ECC-1207: cppcheck 2021-02-25 21:32:29 +00:00
Shahram Najm e4edb7b81d ECC-1207: GRIB2: BiFourier packing error 2021-02-25 21:17:24 +00:00
shahramn 744eb57f3b
Merge branch 'develop' into fixBrokenLaplam 2021-02-25 16:13:06 +00:00
Philippe Marguinaud f010d20b0d Fix broken laplam (grib_accessor_class_data_g2bifourier_packing.c). 2021-02-24 19:03:12 +01:00
Shahram Najm aaf513ff55 Compiler warnings: -Wformat-overflow 2021-02-24 17:04:34 +00:00
Shahram Najm 624b85f8ee grib_util_set_spec: Refactoring 2021-02-19 22:32:53 +00:00
Shahram Najm 357f652d5a Debug messages 2021-02-19 22:19:24 +00:00
Shahram Najm ab9a1b797b Debug messages 2021-02-19 22:18:43 +00:00
Shahram Najm 5032656ff6 grib_util_set_spec: cosmetics 2021-02-19 13:13:38 +00:00
Shahram Najm ad238cb45e Fix crash in IEEE -> PNG conversion 2021-02-17 16:40:45 +00:00
Shahram Najm 189de0025f Refactoring 2021-02-16 16:53:13 +00:00
Shahram Najm d848347fe0 ECC-1202: GRIB CCSDS packing: fails if input packingType=grid_ieee 2021-02-16 16:48:50 +00:00
Shahram Najm 46bda29a22 grib_util_set_spec: Refactoring 2021-02-15 19:05:36 +00:00
Shahram Najm aa687537a6 Debugging: cosmetics 2021-02-08 15:06:30 +00:00
Shahram Najm 9b2884d6ba New string utility function 2021-02-04 11:52:57 +00:00
Shahram Najm bf767d87ef ECC-1195: Accessor 'sprintf' should by default be read-only 2021-01-30 00:15:24 +00:00
Shahram Najm a05cb7807d ECC-1194: MARS: Remove unused types 2021-01-27 18:14:46 +00:00
Shahram Najm 5fa4836d95 Fix check on multi-field GRIBs 2021-01-27 18:01:03 +00:00
Shahram Najm e1a2cbb13c ECC-539: Reuse the codes_resolve_path function 2021-01-25 14:47:40 +00:00
Shahram Najm f6562a413d C API: make resolve_path available 2021-01-25 14:26:49 +00:00
Shahram Najm 41690855cf PNG packing: add test 2021-01-22 15:39:25 +00:00
Shahram Najm 98c687ef15 CCSDS packing: add other cases 2021-01-21 21:18:59 +00:00
Shahram Najm a27618253e CCSDS packing: add test for different orders 2021-01-21 20:07:02 +00:00
Shahram Najm 52c06dae7f Debugging: print accessor name if different from key name 2021-01-20 20:52:41 +00:00
Shahram Najm 8fb9fa8fd5 Release 2.20.0 2021-01-19 12:46:51 +00:00
Shahram Najm c4fbf56c58 Refactoring 2021-01-17 16:11:07 +00:00
Shahram Najm 9cd5b141ef cppcheck warning: identicalConditionAfterEarlyExit 2021-01-17 00:13:30 +00:00
Shahram Najm d7a7c79fbe cppcheck warning: identicalConditionAfterEarlyExit 2021-01-16 13:03:25 +00:00
Shahram Najm e96436844b Refactoring 2021-01-16 12:51:17 +00:00
Shahram Najm 702f41bef5 CCSDS: better error/debug messages 2021-01-15 12:08:04 +00:00
Shahram Najm 7c138d068d Debugging: show libaec aec_stream members when decoding/encoding CCSDS 2021-01-14 19:11:30 +00:00
Shahram Najm f176b4354d ECC-1192: Originating Centre: Update the details for the WMO code 291 2021-01-13 12:32:59 +00:00
Shahram Najm ae19339660 ECC-1189: CMake: Rename option GRIB_TIMER to ECCODES_TIMER 2021-01-06 17:49:43 +00:00
Shahram Najm 2820bd2939 codes_context_delete() release concept condition/values 2021-01-05 14:06:33 +00:00
Shahram Najm 8d913bb6c9 Merge branch 'develop' of ssh://git.ecmwf.int:7999/eccodes/eccodes into develop 2021-01-05 12:17:52 +00:00
Shahram Najm cd58ebf014 Refactoring: Rename variable for readability 2021-01-05 12:17:37 +00:00
Shahram Najm 5b5e5d4257 ECC-1185: Crash in codes_context_delete() call (Part 2) 2021-01-05 12:13:44 +00:00
Shahram Najm b9b7451940 BUFR Performance: remove function call overhead and simplify (ECC-698, ECC-715) 2021-01-04 14:02:12 +00:00
Shahram Najm 919b9ef5df ECC-1185: Crash in codes_context_delete() call (Part 2) 2020-12-31 15:24:45 +00:00
Shahram Najm 525a51f928 Update list of keys and hash 2020-12-29 13:47:58 +00:00
Shahram Najm 703a69a28b ECC-1187: BUFR: Crash on codes_set_missing() 2020-12-24 20:17:44 +00:00
Shahram Najm 0e1d0e6640 ECC-1186: grib_dump: Does not print the definition file used for Flag Table keys 2020-12-23 18:51:37 +00:00
Shahram Najm 7a14817017 ECC-1185: Crash in codes_context_delete() call (Part 1) 2020-12-22 16:47:23 +00:00
Shahram Najm a077fd8554 WMO dump: Print user-friendly type for keys (-t option) 2020-12-18 17:00:35 +00:00
Shahram Najm ddee0609c0 Add hint to error message 2020-12-17 17:23:16 +00:00
Shahram Najm fea84dec6e ECC-1182: GRIB2: Deprecate Product Definition Template 4.47 in favour of 4.85 2020-12-16 16:29:15 +00:00
Shahram Najm ad3afd3ede ECC-403: fix comments 2020-12-16 13:11:12 +00:00
Shahram Najm 94ac49a067 ECC-1182: GRIB2: Deprecate Product Definition Template 4.47 in favour of 4.85 2020-12-14 16:19:48 +00:00
Shahram Najm 2f90f4a3e6 ECC-403: codes_is_missing reports 1 on keys that are not missing 2020-12-11 18:17:30 +00:00
Shahram Najm fc011ad63d ECC-1181: documentation 2020-12-11 12:05:18 +00:00
Shahram Najm 7e4d24a5ee ECC-1181: Add function to determine if a BUFR key is a header key or from the data section 2020-12-10 17:45:32 +00:00
Shahram Najm 32a74fa998 ECC-1172: Memory leaks in encoding BUFR (part 1) 2020-12-07 17:33:52 +00:00
Shahram Najm b60e717c59 ECC-1136: Add to API 2020-12-07 16:43:08 +00:00
Shahram Najm 352f65852a ECC-1164: clean up and comments 2020-12-05 17:33:53 +00:00
Shahram Najm 83ad95218c ECC-1164: grib_nearest_find performance (reduced grids) 2020-12-05 17:24:00 +00:00
shahramn 928f1938cb
Merge branch 'develop' into perf_issue_grib_nearest_find 2020-12-04 23:58:03 +00:00
Shahram Najm 971f609560 Refactoring (in preparation for ECC-1164) 2020-12-04 16:10:03 +00:00
Shahram Najm 8e8012901a ECC-1168: Add new templates in v26.0.0 2020-12-03 21:08:00 +00:00
Shahram Najm 24b80f6e7a ECC-1174: bufr_filter: Time interval extraction fails if 'second' key has a missing value 2020-12-02 11:20:26 +00:00
Shahram Najm 8078e5a6f1 Message offsets: rework interface 2020-11-30 15:40:23 +00:00
Shahram Najm efa4374c2e Merge branch 'develop' into feature/message_offsets 2020-11-29 12:48:00 +00:00
Shahram Najm 1396d7a8aa Documentation: rename macro and add comments 2020-11-28 12:56:28 +00:00
Shahram Najm 49dbde5088 ECC-1170: grib_filter: Fail if key of type double (e.g. values) is assigned to a string 2020-11-26 13:40:03 +00:00
Shahram Najm 7f4047280e ECC-1167: fix unpack_string length 2020-11-25 12:18:19 +00:00
Shahram Najm 29120ff9dd ECC-1167: Support arbitrary length byte keys 2020-11-24 14:55:57 +00:00
Shahram Najm 32ca6af1fd ECC-1167: GRIB: Allow setting byte array as string 2020-11-23 17:30:38 +00:00
Shahram Najm f2df05092f ECC-1167: GRIB: Allow setting byte array as string 2020-11-23 16:51:19 +00:00
Shahram Najm 4b46a70b4c ECC-1165: Assertion: calling codes_set_bytes with incorrect length passed in 2020-11-19 21:19:55 +00:00
Anthony Tissot 21584d10e1 [SUP-3293]: Fix perf loss of grib_nearest_find
Avoid calls to is_legacy() when GRIB_NEAREST_SAME_GRID is provided
2020-11-06 16:44:48 +01:00
Shahram Najm 5c05990860 ECC-1152: Segmentation fault when extracting subsets with bufr_filter (Return an error) 2020-11-02 17:36:57 +00:00
Baudouin Raoult 95cfa2f6fa Support for MEMFS on older Linux 2020-11-02 11:42:00 +00:00
Shahram Najm 370bfe18c9 ECC-1158: GRIB encoding: Implement data quality checks (limits) for spectral fields 2020-10-27 12:32:04 +00:00
Shahram Najm 45975c115b ECC-1158: GRIB encoding: Implement data quality checks (limits) for spectral fields 2020-10-19 13:46:11 +01:00
Shahram Najm 8337591d51 Release 2.19.0 2020-10-14 10:30:33 +01:00
Shahram Najm 091abd5dd8 Fix logging format strings 2020-10-13 14:05:50 +01:00
Shahram Najm c59a4badb0 Fix logging format strings 2020-10-13 13:52:59 +01:00
Shahram Najm a86668a608 Fix logging format strings 2020-10-13 13:30:41 +01:00
Shahram Najm 1325239fde Fix logging format strings 2020-10-12 17:00:15 +01:00
Shahram Najm f22c70dfa4 ECC-1154: grib_get_data: File with missing jDirectionIncrement and lat1 < lat2 2020-10-07 17:42:28 +01:00
Shahram Najm cda663d993 ECC-1153: Originating Centre: New WMO code 291 for IAP CAS 2020-10-07 14:31:18 +01:00
Shahram Najm c427b73dc3 Data Quality Checks: more diagnostics 2020-10-05 11:14:56 +01:00
Shahram Najm 5d4bf5b448 Merge branch 'develop' into feature/message_offsets 2020-10-01 17:25:13 +01:00
Shahram Najm 238bad66ca ECC-1150: Deal with encoding a MISSING value 2020-10-01 12:20:50 +01:00
Shahram Najm 279eaf6f51 ECC-1150: keys 'lowerLimit' and 'upperLimit' cannot be MISSING 2020-09-29 14:36:43 +01:00
Shahram Najm 326428e2ae Merge branch 'develop' into feature/ecbuild_3.4 2020-09-25 11:09:17 +01:00
Shahram Najm f94a5f0928 Rename blacklist to blocklist 2020-09-24 15:54:33 +01:00
Shahram Najm 0ad34a1b99 Merge branch 'develop' into feature/ecbuild_3.4 2020-09-23 13:12:55 +01:00
Shahram Najm 24a4143bac ECC-1148: BUFR decoding: better error message when descriptors overflow the data section 2020-09-22 12:39:06 +01:00
Shahram Najm f8883cc71c Merge branch 'develop' into feature/ecbuild_3.4 2020-09-16 11:32:10 +01:00
Shahram Najm 0bb6d97f8b ECC-1136: BUFR: Add new key 'restricted' to ECMWF Local Section 2020-09-16 11:25:51 +01:00
Shahram Najm 895202e1b6 Merge branch 'develop' into feature/ecbuild_3.4 2020-08-25 13:24:09 +01:00
Willem Deconinck e0dd102a11 Support for ecbuild v3.4: Fix export in bundles 2020-08-25 12:40:47 +01:00
shahramn af4fcc5fe9
Update action_class_concept.c
Minor change to kick off Travis again so I can merge this PR
2020-08-25 12:32:01 +01:00
Shahram Najm 666e61fc74 ECC-1143: CMake: Migration to ecbuild v3.4 2020-08-24 15:10:45 +01:00
Shahram Najm a85d4de9ea Support for ecbuild v3.4. Fix threads/PNG 2020-08-19 17:06:56 +01:00
Shahram Najm 455e39da46 Support for ecbuild v3.4. Fix AEC, maths library and Python/Numpy 2020-08-19 16:08:07 +01:00
Shinji Suzuki a2b707833e
Merge branch 'develop' into fix_free_concept_value 2020-08-19 11:50:15 +09:00
Shahram Najm ad93825ffe Support for ecbuild v3.4. Version macros and PRIVATE_LIB 2020-08-18 11:14:29 +01:00
Shahram Najm 3ec03c5ac7 Fix comments 2020-08-17 19:22:42 +01:00
Shahram Najm 39bd12d0aa Add debug message. Also evaluate grib_handle_of_accessor once 2020-08-17 14:43:51 +01:00
Shinji Suzuki ee7ad0bc92 Fix multiple free. (Pointers to concept_value in the trie are borrowed pointers, which should not be free'd.) 2020-08-10 18:40:59 +09:00
Shahram Najm d738937dd0 Clang static analyser: dereference of a null pointer 2020-08-06 11:05:51 +01:00
Shahram Najm 744c305e4e memcpy: Check sizeof double and long 2020-08-05 17:59:15 +01:00
Shahram Najm c39585dc93 ECC-1141: Compile error on MinGW: undefined reference to 'realpath' 2020-08-05 15:21:25 +01:00