Commit Graph

5199 Commits

Author SHA1 Message Date
Shahram Najm 5d4c5b49d6 Formatting 2020-03-18 15:27:53 +00:00
Shahram Najm 678c8eea86 Memory leak 2020-03-18 14:48:15 +00:00
shahramn a2d3d57789
Merge pull request #24 from mkrupcale/encode-unsigned-long-pointer-increment
bits: grib_encode_unsigned_long: increment pointer, not the pointed-to value
2020-03-17 18:12:04 +00:00
shahramn 57c3d8fa8b
Merge branch 'develop' into encode-unsigned-long-pointer-increment 2020-03-17 14:41:45 +00:00
Shahram Najm 512715df24 ECC-1093: GRIB1: Local definition 192: mars keys should be of type 'string' 2020-03-14 21:43:22 +00:00
Shahram Najm 6f1e6dfdea ECC-1093: Add ability to detect when flags has lowercase but not string_type 2020-03-14 21:40:10 +00:00
Shahram Najm ce991d0f7c ECC-1093: GRIB1: Local definition 192: mars keys should be of type 'string' 2020-03-14 21:38:48 +00:00
Shahram Najm 003b3809bf Refactoring: cryptic variable names 2020-03-14 13:07:01 +00:00
Shahram Najm 816f5419f4 ECC-1092: Rename key 'is_rotated_grid' 2020-03-14 12:31:20 +00:00
Shahram Najm a1132473c1 ECC-1092: Rename key 'is_rotated_grid' 2020-03-14 12:20:54 +00:00
Shahram Najm eb629dd260 Windows: fix directory tokenizing in path 2020-03-13 16:46:11 +00:00
Shahram Najm 407c8d92f8 Merge branch 'develop' into feature/Docker 2020-03-13 15:28:34 +00:00
Shahram Najm 21ce4268a3 Refactoring: remove repeated code 2020-03-13 15:17:35 +00:00
Shahram Najm 6566e79a79 Add more tests for Julian <-> datetime conversion 2020-03-13 15:17:10 +00:00
Shahram Najm 63afc5af33 Debugging 2020-03-13 15:16:23 +00:00
Shahram Najm a23c15cd01 Can disable GRIB as well 2020-03-12 17:19:34 +00:00
Shahram Najm 309d2dd752 MEMFS support when PRODUCT_BUFR disabled 2020-03-12 15:14:38 +00:00
Shahram Najm 13c8a6014d Added option for PRODUCT_BUFR. By default ON 2020-03-12 14:16:45 +00:00
Shahram Najm d78693bb34 Legacy ECMWF parameters 2020-03-11 12:35:59 +00:00
Shahram Najm 9c727eb161 Rename padding keys from zero to zeros (zero is a constant) 2020-03-10 17:57:18 +00:00
Matthew Krupcale c950c6f968 bits: grib_encode_unsigned_long: increment pointer, not the pointed-to-value
This fixes a long-standing (i.e. at least since 1.9.5 ca. Oct 2010) bug in grib_encode_unsigned_long where the first byte was incorrectly incremented instead of incrementing the pointer to the next byte. This would only happen if the bit position / offset was not aligned on a byte boundary (i.e. *bitp % 8 != 0), though. Fortunately, as far as I can tell, no grib_api/eccodes functions invoked grib_encode_unsigned_long such that this bug was manifested.

 * src/grib_bits_any_endian.c: increment pointer, not the pointed-to-value
 * src/grib_bits_ibmpow.c: likewise.
2020-03-09 19:16:32 -04:00
Shahram Najm 6ca03c3723 PyPI: Update to use 'eccodes' not 'eccodes-python' 2020-03-09 17:02:09 +00:00
Shahram Najm ef3ae79931 ECC-1090: Create a new MARS type 'eme' for ensemble data assimilation model errors 2020-03-08 16:47:22 +00:00
Shahram Najm 89b2178e05 Bump up version 2020-03-05 13:01:10 +00:00
Shahram Najm 458d20311d ECC-1088: Samples path 2020-03-04 22:15:10 +00:00
Shahram Najm 9f1e9db4e0 ECC-1088: Definitions path: Core extensions added to end of path implicitly 2020-03-04 18:00:40 +00:00
Shahram Najm 37044e4dd0 ECC-1086: Copy all good messages + add test 2020-03-04 17:26:01 +00:00
Shahram Najm 339c1a426f ECC-1086: grib_copy/bufr_copy: does not fail in the presence of an invalid message 2020-03-03 17:28:56 +00:00
Shahram Najm 3ac3918224 Clean up 2020-03-03 16:12:42 +00:00
Shahram Najm 20a0d75ba1 Clang static analyser warnings 2020-03-03 16:00:52 +00:00
Shahram Najm a5a87cc4b7 Merge branch 'develop' into bugfix/ECC-1085-MissingLocalDef 2020-03-02 16:37:01 +00:00
Shahram Najm 4cf02d70bd Clang static analyser warnings 2020-03-02 13:42:07 +00:00
Shahram Najm d5f1febca2 Make function grib_hash_keys_insert private 2020-03-02 13:41:30 +00:00
Shahram Najm f719d72feb Clang-analyzer-security: Replace call to insecure function 'strcpy' 2020-03-02 13:26:09 +00:00
Shahram Najm eba7a7b3b7 Tools: Print other environment variables (if set) 2020-02-29 14:55:29 +00:00
Shahram Najm 8f6471961b Testing: test for MEMFS and definitions path overriding 2020-02-29 14:08:03 +00:00
Shahram Najm 7d628c5c69 Clang static analyser warnings 2020-02-29 13:10:58 +00:00
Shahram Najm 95afbdc35c ECC-1085: grib_dump: should not fail if a local definition file does not exist 2020-02-28 17:52:42 +00:00
Shahram Najm 95664555be ECC-1062: changes to shortNames, names etc 2020-02-28 12:12:02 +00:00
Shahram Najm ab0ec2387e Clang static analyser warnings 2020-02-28 11:46:39 +00:00
Shahram Najm cfcb0c764d Testing: Unit tests for basic functions 2020-02-27 13:47:07 +00:00
Shahram Najm 0c9faa8193 Testing: Lambert Conformal 2020-02-27 13:29:29 +00:00
Shahram Najm 76dfc35268 Clang static analyser warnings 2020-02-27 13:12:49 +00:00
Shahram Najm e8d3a34295 Definitions: fix comment re MeteoFrance centre code (They do not use 84, only 85) 2020-02-27 13:00:09 +00:00
Shahram Najm 6d94d93aa9 Clang static analyser warnings 2020-02-26 21:25:12 +00:00
Shahram Najm c9ddef0599 Better error message when lat,lon badly specified 2020-02-26 15:42:36 +00:00
Shahram Najm 8e37991003 Debugging: show setting of P1 as two octets 2020-02-26 15:36:02 +00:00
Shahram Najm 2759f71f4c Documentation: Setting of P1 and P2 when timeRangeIndicator=10 2020-02-26 14:53:58 +00:00
Shahram Najm edc4841f01 Testing: Add test for Lambert Conformal nearest 2020-02-26 13:40:59 +00:00
Shahram Najm 9d815be54c Testing: Add test for Lambert Conformal Geoiterator 2020-02-26 13:06:55 +00:00