Commit Graph

2888 Commits

Author SHA1 Message Date
Eugen Betke 0f661eb271 ECC-1609: Fix decimalScaleFactor (not complete) 2023-06-07 12:21:45 +00:00
Shahram Najm c2160c2f99 Error messages: Print accessor name and function 2023-06-04 12:23:49 +01:00
Shahram Najm a0a32c5334 Replace Asserts with proper error messages and exit codes 2023-06-03 12:21:54 +01:00
Shahram Najm adf0b53e5a Merge branch 'develop' into hotfix/ECC-1602-performance-optim-ccsds 2023-06-03 11:36:35 +01:00
Shahram Najm 3ba86243f8 Compiler warnings: type checks 2023-06-03 11:35:42 +01:00
Shahram Najm 8169b17ca8 ECC-1605: Fix lower bound 2023-06-02 17:48:32 +01:00
Shahram Najm 9cbeff4549 Merge branch 'develop' into bugfix/ECC-1605-Overflow 2023-06-02 17:04:32 +01:00
Shahram Najm 6cc48efee7 Fix error messages 2023-06-02 16:39:59 +01:00
Shahram Najm 829c7e6861 Merge branch 'develop' into hotfix/ECC-1602-performance-optim-ccsds 2023-06-02 16:16:49 +01:00
Shahram Najm 7b62c6f7fe Use cclass name for error messages 2023-06-02 11:00:28 +01:00
Shahram Najm cd35aeb2eb ECC-1605: Error message 2023-06-01 17:17:02 +01:00
Shahram Najm 0ce93aa9ba ECC-1605: Fix broken test (edition convertion) 2023-06-01 15:44:32 +00:00
Shahram Najm a2dfb2fde2 ECC-1605: GRIB: Overflow for key forecastTime 2023-06-01 14:47:17 +01:00
Eugen Betke 021de6c4c7 ECC-1602: Minor change 2023-06-01 12:45:21 +00:00
Eugen Betke c5c5ba8017 ECC-1602: Move AEC flags modification to a function; Return GRIB_INVALID_BPV instead of GRIB_OUT_OF_RANGE 2023-06-01 12:10:23 +00:00
Eugen Betke 44b45e0ed3 Merge branch 'develop' into single_precision_spherical_complex 2023-05-31 20:42:33 +00:00
Eugen Betke 35c641787c ECC-1602: Add <cstdint> header 2023-05-30 19:09:40 +00:00
Eugen Betke b8f2959aee Merge branch 'hotfix/ECC-1602-performance-optim-ccsds' of github.com:ecmwf/eccodes into hotfix/ECC-1602-performance-optim-ccsds 2023-05-30 18:47:15 +00:00
Eugen Betke d9bdfdc4df ECC-1602: Use uint8_t, uint16_t and uint32_t data types 2023-05-30 18:46:23 +00:00
Shahram Najm 46f57dde98 Remove unused variables 2023-05-30 19:41:36 +01:00
Eugen Betke 9e84a7bd47 ECC-1602: Change error code GRIB_NOT_IMPLEMENTED -> GRIB_OUT_OF_RANGE 2023-05-30 15:13:35 +00:00
Eugen Betke 624c12e1a0 ECC-1602: Clean up 2023-05-30 14:33:02 +00:00
Eugen Betke 1db8debcc2 ECC-1602: Refactoring: Clean-up switch statement 2023-05-30 13:16:26 +00:00
Eugen Betke b812622c47 ECC-1602: Comments 2023-05-30 12:52:35 +00:00
Eugen Betke 33ae883192 ECC-1602: Refactoring: endianess_test -> is_little_endian 2023-05-30 12:35:13 +00:00
Eugen Betke e16e4ae5db ECC-1602: Fix reinterpret_cast<>() 2023-05-30 12:24:23 +00:00
Eugen Betke 83e9c8740e ECC-1602: CCSDS performance optimisation 2023-05-30 06:35:17 +00:00
Eugen Betke 60780b41ea Single-Precision: templatize grib_power() 2023-05-24 11:17:05 +00:00
Eugen Betke 85e6d58a6a Enable single-Precision 2023-05-22 03:07:48 +00:00
Shahram Najm 7936a617ef Update list of keys and hash 2023-05-12 14:57:14 +01:00
Shahram Najm bf72adfb57 ECC-1586: grib_get_data: Invalid latitude values printed 2023-05-12 09:58:00 +01:00
Shahram Najm 7771dce4ac Iterator: Missing jDirectionIncrement 2023-05-11 22:49:29 +01:00
Shahram Najm 3b0373922c Add missing header 2023-05-11 17:57:02 +01:00
Shahram Najm 1e68497461 Single-precision: Support for second order packing (GRIB1) 2023-05-11 17:57:02 +01:00
Shahram Najm c8b0c0e97b Code coverage 2023-05-09 15:02:25 +01:00
Shahram Najm 8e9e9c59ce ECC-1584: grib_dump: indicate which keys are 'read-only' 2023-05-09 10:36:28 +01:00
Shahram Najm a8ddefceaf ECC-1579: Spectral data in single-precision 2023-05-04 15:18:23 +00:00
Shahram Najm 8d4fb4c9dd ECC-1578: codes_handle_new_from_index does not initialise its 'err' argument 2023-05-04 09:27:55 +00:00
Shahram Najm cd21477fbb Deprecated 2023-05-03 13:25:06 +01:00
Shahram Najm 3ce066b60a Better error messages 2023-04-29 12:32:39 +01:00
Shahram Najm 1aa8016a54 Replace Asserts with proper error messages and exit codes 2023-04-28 14:44:16 +01:00
Shahram Najm fd4bd4847c Compiler warnings 2023-04-28 12:06:42 +01:00
Shahram Najm 00f00747be Add header file for std::is_floating_point 2023-04-28 11:27:46 +01:00
Shahram Najm 6489aa6d46 Single-precision support: Array of reals 2023-04-28 11:16:52 +01:00
Shahram Najm 4f8d151dc3 ECC-1572: part 2 2023-04-26 16:52:02 +00:00
Shahram Najm f9613ee29b Compiler warning: [-Wmaybe-uninitialized] 2023-04-24 20:15:08 +00:00
Shahram Najm 1ef77a8b47 ECC-1572: Fortran codes_get/grib_get fails to get array of 32-bit real numbers 2023-04-24 16:43:59 +01:00
Shahram Najm a42a8547bc Single-precision: support decoding of ibmfloat and ieeefloat keys 2023-04-24 16:38:40 +01:00
Shahram Najm 6a990d87ed Compiler warning: [-Wmaybe-uninitialized] 2023-04-24 14:59:46 +01:00
Shahram Najm 94c657aa98 Update comments for accessor functions 2023-04-23 18:14:02 +01:00
Shahram Najm b745bf3fbd Remove unused function from accessor hierarchy: init_class 2023-04-23 14:58:23 +01:00
Shahram Najm c592821a89 Logging: use __func__ 2023-04-22 16:52:09 +01:00
Shahram Najm 6ddbf5b4d0 grid_complex: cleanups 2023-04-21 20:40:12 +01:00
Shahram Najm 3518cbeeab grid_complex: cleanups 2023-04-21 17:45:06 +01:00
Shahram Najm a43903ac52 Merge branch 'develop' into feature/grid_complex_encoding 2023-04-21 17:02:01 +01:00
Shahram Najm 47a82e181c Cleanup 2023-04-21 16:21:33 +01:00
Shahram Najm b1bea080ee Fix header files and add copyright notices 2023-04-21 14:09:28 +01:00
Shahram Najm ddf8db8bb8 Improved error message re disabled functionality 2023-04-21 13:47:47 +01:00
Shahram Najm 3a9213ab03 Compiler warnings: Microsoft Visual 2023-04-21 11:16:06 +01:00
Shahram Najm 2793ee2a0d Fix broken Windows build 2023-04-20 12:50:21 +01:00
Shahram Najm e3fb4e1817 Clean up of include files 2023-04-20 12:40:11 +01:00
Shahram Najm c4392c83d5 Improved error messages 2023-04-19 19:36:01 +01:00
Shahram Najm 76201135dd Merge branch 'develop' into feature/grid_complex_encoding 2023-04-19 18:12:51 +01:00
Shahram Najm b2120e2c03 Fix broken builds (2) 2023-04-19 18:07:03 +01:00
Shahram Najm 76baf2790f Fix broken builds 2023-04-19 17:57:06 +01:00
Shahram Najm faf4d84225 JPEG packing: single-precision not yet implemented 2023-04-19 17:24:52 +01:00
Shahram Najm 52ec9548e5 Merge branch 'develop' into feature/grid_complex_encoding 2023-04-19 16:14:56 +01:00
Shahram Najm 934b500b71 Added single-precision mode 2023-04-19 15:53:43 +01:00
Shahram Najm b73ffc090f Cleanup 2023-04-19 15:51:42 +01:00
Shahram Najm 5ad3d9bcff Deprecated action 2023-04-19 12:33:27 +01:00
Shahram Najm 33f51f2a8d Deprecated action 2023-04-19 12:13:59 +01:00
Shahram Najm 168537f503 Examples: cpplint warning [runtime/threadsafe_fn] 2023-04-19 10:58:21 +01:00
Shahram Najm 3fa541200a ECC-1081: levelFactor key no longer needed 2023-04-18 12:07:41 +01:00
Shahram Najm 1f5c3e5c0c ECC-1081: More tests 2023-04-18 12:07:41 +01:00
Shahram Najm 8159ae10e1 ECC-1081: Cleanup 2023-04-18 12:07:41 +01:00
Shahram Najm 4cf90306e3 ECC-1081: Fix setting level for TIGGE 2023-04-18 12:07:41 +01:00
Shahram Najm d5d0238d19 ECC-1081: Fix setting level 2023-04-18 12:07:41 +01:00
Shahram Najm f2cd760123 ECC-1081: 'level' is not edition-independent for potential vorticity levels (part 01) 2023-04-18 12:07:41 +01:00
Eugen Betke 3f9a7f13ce ECC-1472: Bugfix: re-initialization 2023-04-14 12:28:40 +00:00
Eugen Betke 2e434e5d4c ECC-1472: complex_context -> bitstream_context 2023-04-14 09:42:34 +00:00
Eugen Betke 07a4ba5500 ECC-1472: Minor change 2023-04-14 09:40:25 +00:00
Eugen Betke 2c271cfc1a ECC-1472: Remove global variables + Special case: ndef == 0 2023-04-14 08:40:46 +00:00
Shahram Najm 8ee991f35e Better error message when paramId being set to a non-integer 2023-04-13 22:26:50 +01:00
Shahram Najm 90cb23afd0 Cleanup 2023-04-12 22:09:51 +01:00
Shahram Najm 9bc8bddcb4 Update list of keys and hash 2023-04-12 17:54:29 +01:00
Shahram Najm 1b16b39c5b Update list of keys and hash 2023-04-12 15:35:36 +00:00
Shahram Najm bb70dee07f Merge branch 'develop' into feature/ECC-1552-projString 2023-04-12 13:48:11 +01:00
Shahram Najm f9994ecb70 ECC-793: Provide mechanism to reject EXPERIMENTAL parameters 2023-04-11 15:52:30 +01:00
shahramn dc7593c166
Merge pull request #98 from BolliPalmason/feature/iceland_birk
Add abbreviation birk for Reykjavik
2023-04-11 13:41:33 +01:00
Shahram Najm abf730e527 GRIB multi-field: Set error code 2023-04-11 12:22:37 +01:00
Shahram Najm a4d0f05a43 Better error messages 2023-04-09 12:45:01 +01:00
Shahram Najm 87327b6bfb ECC-1560: Cleanup and add further tests 2023-04-08 15:55:28 +01:00
Shahram Najm af5d091a08 Merge branch 'develop' into bugfix/ECC-1560-PDTN-changed-level 2023-04-08 12:41:12 +01:00
Shahram Najm 11299814f0 Computation of scaled value and scale factor 2023-04-08 12:40:30 +01:00
Bolli Palmason 37ca053b3f Add abbreviation birk for Reykjavik 2023-04-05 15:20:47 +00:00
Eugen Betke 65c0f91e6e ECC-1472: Fix special case, where all values are missing 2023-04-04 10:07:15 +00:00
Shahram Najm 3d3f27acb0 Remove unused header file 2023-04-03 17:11:14 +01:00
Shahram Najm 4fbf77ffc4 Merge branch 'develop' into bugfix/ECC-1560-PDTN-changed-level 2023-04-02 13:06:53 +01:00
Eugen Betke 0d9089dbb9 ECC-1472: Change new/delete to ecCodes's memory management 2023-03-31 15:52:34 +00:00
Eugen Betke 4c5a4a9846 ECC-1472: Fix orderOfSpatialDifferencing values 2023-03-31 14:16:31 +00:00
Eugen Betke 67d5317f39 Merge branch 'feature/grid_complex_encoding' of github.com:joobog/eccodes into feature/grid_complex_encoding 2023-03-31 12:31:48 +00:00
Shahram Najm 9da715aa56 grid_complex encoding: Comments on the use of packing_mode variable 2023-03-31 12:18:34 +00:00
Eugen Betke f973359c63 ECC-1472: Refactoring sec_* variables 2023-03-31 11:56:35 +00:00
Eugen Betke ff0b750f35 Merge branch 'feature/grid_complex_encoding' of github.com:joobog/eccodes into feature/grid_complex_encoding 2023-03-31 11:11:57 +00:00
Eugen Betke 56dc6f3536 ECC-1472: cpplint and cppcheck 2023-03-31 09:53:38 +00:00
Shahram Najm f4ded028af grid_complex encoding: Fix broken tests 2023-03-31 09:40:44 +00:00
shahramn 9261afb04e
Merge pull request #92 from joobog/feature/grid_complex_encoding
ECC-803: Fix number of octets
2023-03-31 10:24:06 +01:00
Eugen Betke 4d5c4f30c5 ECC-803: Fix number of octets 2023-03-30 19:53:12 +00:00
Shahram Najm d7bfdf11ae grid_complex encoding: Fix broken tests on Windows 2023-03-30 20:31:54 +01:00
Shahram Najm 0670905387 grid_complex encoding: Compiler warnings 2023-03-30 20:18:57 +01:00
Shahram Najm 5c3840ccbf Formatting 2023-03-30 17:09:24 +01:00
Shahram Najm 9da0028a3d ECC-1562: Segmentation fault: Invalid orderby directive 2023-03-30 16:11:41 +01:00
Shahram Najm dc46b5f4b3 grid_complex encoding: Error checking 2023-03-30 14:44:54 +01:00
Shahram Najm f17c10c3ea grid_complex encoding: Use type T rather than double 2023-03-29 21:00:59 +01:00
Shahram Najm 800d88b4b3 Merge branch 'develop' into bugfix/ECC-1560-PDTN-changed-level 2023-03-29 18:29:14 +01:00
Shahram Najm 1586be150c grid_complex encoding: Fix compiler warnings and memory leaks 2023-03-29 16:27:12 +00:00
Shahram Najm 67be884370 Support for grid_complex encoding 2023-03-29 17:06:39 +01:00
Shahram Najm 73f0ff3993 Updated URL 2023-03-29 16:04:20 +00:00
Shahram Najm 5d767639f2 ECC-1560: GRIB2: Changing from PDTN=8 to 11 changes the level from 1.5 to 2 2023-03-28 18:12:54 +01:00
Shahram Najm c60c79fbcd ECC-1552: Alternative implementation using WGS84 2023-03-28 15:25:54 +00:00
Shahram Najm ee3f3500f7 ECC-1559: GRIB encoding: data quality checks should test if shortName=unknown 2023-03-28 12:56:11 +01:00
Shahram Najm 28f3e6945f Improved error messages re keys P1, P2 2023-03-18 18:51:20 +00:00
Shahram Najm 69f46619a1 cpplint warnings 2023-03-18 18:50:40 +00:00
Shahram Najm 8fb3040f0b Improved debug messages 2023-03-18 17:03:12 +00:00
Pedro Maciel f245ea37dd grib_util_set_spec: gridType=lambert_azimuthal_equal_area keys (MIR-553, MIR-606) 2023-03-16 16:15:23 +00:00
Shahram Najm cbaf279dbb ECC-1552: Revert for now (breaks Magics) 2023-03-16 14:49:29 +00:00
Pedro Maciel 4f028e7f89 grib_util_set_spec: gridType=lambert 2023-03-16 08:27:07 +00:00
Shahram Najm c6f0164f93 ECC-1552: GRIB: return non empty proj string for unprojected gridded fields 2023-03-15 21:18:09 +00:00
Shahram Najm be4b84a293 Migration to C++ 2023-03-14 14:53:43 +00:00
Shahram Najm b25643aa99 ECC-1550: GRIB2: Incorrect product definition conversion from 48 to 46 2023-03-14 14:42:41 +00:00
Shahram Najm f16f625f5c ECC-1550: GRIB2: Incorrect product definition conversion from 48 to 46 2023-03-14 14:37:42 +00:00
Shahram Najm 6be97f8c84 C++: Need header file for is_floating_point 2023-03-13 20:24:30 +00:00
Shahram Najm 01df9f9cd6 ECC-1467: Refactor 2023-03-13 20:19:37 +00:00
Shahram Najm f518780f43 ECC-1467: Fix function overrides 2023-03-13 15:44:32 +00:00
Shahram Najm 0429093291 Fix comments 2023-03-13 14:28:35 +00:00
Eugen Betke 97a007a4a2 ECC-1467: Use __func__ in log messages 2023-03-13 12:32:36 +00:00
Eugen Betke ce053e1bdc ECC-1467: Fixed data run length class 2023-03-13 12:03:37 +00:00
joobog d300abb636
Merge branch 'develop' into feature/ECC-1467-FloatDataValues 2023-03-13 11:49:00 +01:00
Shahram Najm e411d10cc3 Better error messages 2023-03-12 19:24:14 +00:00
Shahram Najm 704745ab5b Compiler warnings: format specifies type 'int' but the argument has type 'long' [-Werror,-Wformat] 2023-03-12 14:52:13 +00:00
Shahram Najm 4e1bdb1d23 Refactoring 2023-03-09 17:33:22 +00:00
Shahram Najm 730aa7b90b Refactoring 2023-03-09 17:25:21 +00:00
Shahram Najm ce21dea187 ECC-1542: Fix tests 2023-03-09 13:53:52 +00:00
Shahram Najm 7325895530 ECC-1542: Assertion failure: Reduced Gaussian grid with zeros in its pl array 2023-03-09 13:21:32 +00:00
Shahram Najm f2fd35c7eb ECC-1542: Assertion failure: Reduced Gaussian grid with zeros in its pl array 2023-03-09 13:03:49 +00:00
Eugen Betke 8425eeb03c ECC-1467: Minor changes 2023-03-08 16:13:17 +00:00
Eugen Betke 58ee3be165 ECC-1467: Revert changes in the unpack_double_element_set() function 2023-03-08 15:30:50 +00:00
Shahram Najm c74b74269d GRIB2: Simplify the EPS test 2023-03-08 15:05:26 +00:00
Shahram Najm 3f023081f8 Add error checking 2023-03-08 13:54:07 +00:00
Shahram Najm 74778b34e5 ECC-1540: Modify list 2023-03-08 13:48:26 +00:00