Commit Graph

69 Commits

Author SHA1 Message Date
Shahram Najm 5afed6623b Debug message: use higher precision 2017-11-07 17:10:28 +00:00
Shahram Najm 3ea7f8056a Debug message: print min and max 2017-11-07 16:42:49 +00:00
Shahram Najm 837d6effe5 Compiler warnings 2017-11-06 18:07:01 +00:00
Shahram Najm e39c9bffea Revert GRIB-864 for now: Need to re-examine the requirements for MIR/PGEN 2017-11-02 11:06:20 +00:00
Shahram Najm 45992b3bd7 Debug message 2017-10-17 18:03:17 +01:00
Shahram Najm 596317ae14 Clang compiler warnings 2017-08-25 17:32:07 +01:00
Shahram Najm bc23f19335 Add debugging aid messages 2017-08-24 14:00:02 +01:00
Shahram Najm caa27c09b0 grib_util_set_spec2: simplify removing local definition 2017-07-10 14:37:03 +01:00
Shahram Najm ab60170161 Performance: improve getenv 2017-07-10 13:50:57 +01:00
Shahram Najm cc73e100af Update copyright notices: 2016 -> 2017 2017-01-03 11:03:48 +00:00
Shahram Najm 5908fb0efd Put string handling functions into new file string_util.c 2016-11-25 16:06:28 +00:00
Shahram Najm f7379a7945 ECC-381: Palamida scan: Forensic Similarities to code from StackOverflow 2016-11-22 11:06:00 +00:00
Shahram Najm 0c95334754 ECC-381: Palamida scan: Forensic Similarities to code from StackOverflow 2016-11-21 18:37:25 +00:00
Shahram Najm dfcfcf9154 Move is_gaussian_global out of grib_util.c 2016-10-25 17:41:58 +01:00
Shahram Najm e573e21317 Rename and move compute_key_rank (grib_util.c) to compute_bufr_key_rank (bufr_util.c) 2016-10-24 16:49:15 +01:00
Shahram Najm 5fb1a2a344 ECC-353: grib_util_set_spec JPEG packing 2016-10-11 16:14:07 +01:00
Shahram Najm d2bb477603 Moved str_split utility function to grib_utils.c 2016-10-07 15:52:01 +01:00
Shahram Najm abfaabbe1f ECC-353: grib_util_spec() does not always generate jpeg 2016-10-05 18:32:21 +01:00
Shahram Najm 2333add502 ECC-335: Added further tests 2016-09-23 15:10:36 +01:00
Shahram Najm f5d5356b39 ECC-335: grib_util_set_spec: Setting edition=2 and deleteLocalDefinition=1 on GRIB1 does not delete the local definition in target GRIB2 2016-09-22 16:52:56 +01:00
Shahram Najm be082fd1cb ECC-326: Revert due to MIR test failing 2016-09-01 15:03:00 +01:00
Shahram Najm 2d33875dca ECC-326: refactoring 2016-09-01 11:49:51 +01:00
Shahram Najm 93e2633fbd ECC-326: refactoring 2016-09-01 11:21:17 +01:00
Shahram Najm acce5d56f4 GRIB-947: grib_util_set_spec: For grib2 second order packing, data values are set twice 2016-08-31 17:38:31 +01:00
Shahram Najm 904705e319 Put the common code to compute BUFR key rank into grib_utils.c 2016-08-15 16:48:52 +01:00
Shahram Najm d50e3520ea Added handy macro for string equality STR_EQ 2016-08-05 13:32:28 +01:00
Shahram Najm 70c9d48825 Do not call exit in library. Return error code to allow user to handle it 2016-06-22 18:41:15 +01:00
Baudouin Raoult 3330f4c634 Tidy up use of memfs 2016-06-19 09:22:15 +01:00
Shahram Najm ca5ce9f52c Fix compiler warnings (INTEL) 2016-04-13 19:32:18 +01:00
Shahram Najm d541122cc1 GRIB-942: check all memory allocations are successful 2016-03-16 14:11:04 +00:00
Shahram Najm 6f004f3420 GRIB-922: grib_util_set_spec: if 'global' is set, do not check lat/lon values 2016-02-08 10:37:21 +00:00
Shahram Najm e074e069c1 Added utility function is_gaussian_global() 2016-01-18 16:35:49 +00:00
Shahram Najm 49dc39678e ECC-206: Support the GRIB-API environment variable names 2016-01-11 16:36:46 +00:00
Shahram Najm 45badf3729 GRIB-902: Update copyright notices: 2015 -> 2016 2015-12-31 12:44:51 +00:00
Shahram Najm 4ab4ce2a9d Cleanup 2015-12-31 11:51:57 +00:00
Shahram Najm 7b28b4bfdf GRIB-901: grib_util_set_spec: print more helpful message when failing to encode angles 2015-12-18 15:59:30 +00:00
Shahram Najm 161c8dfde1 Check package compiles and links with g++ 2015-12-03 14:35:55 +00:00
Shahram Najm e195faba59 GRIB-864: refactoring 2015-10-30 11:28:33 +00:00
Shahram Najm 6fb2bca635 GRIB-864: Improve error messages 2015-10-29 17:13:16 +00:00
Shahram Najm 2b5f2613d9 GRIB-864: check only grids with bounding box 2015-10-29 13:38:35 +00:00
Shahram Najm 182ec26b30 GRIB-864: must normalise angles before comparison 2015-10-28 18:38:36 +00:00
Shahram Najm 60ace7ee2a GRIB-864: grib_util_set_spec: check small angles 2015-10-28 17:36:10 +00:00
Shahram Najm 7e86d3297e GRIB-864: grib_util_set_spec should fail if cannot encode angles to requested precision 2015-10-27 16:37:13 +00:00
Shahram Najm 66ac64f40b Cannot assume pl size is 2*N due to sub-areas 2015-10-27 10:08:52 +00:00
Shahram Najm 36e55c1081 GRIB-863: grib_util_set_spec: GRIB edition 1 high resolution increments 2015-10-26 15:48:55 +00:00
Shahram Najm 577b88c622 grib_util_set_spec2 2015-10-23 12:55:11 +01:00
Shahram Najm a37d886e3e Add comment 2015-10-21 16:51:54 +01:00
Shahram Najm baf0d9cc1b Replace GRIB_API with ECCODES in error/debug messages 2015-10-15 11:52:22 +01:00
Shahram Najm e68a36cdc2 Add assertion for NULL handle 2015-09-28 16:54:19 +01:00
Shahram Najm 85e9cf238f GRIB-834: grib_util_set_spec: if 'pl' array is provided, should not require specific sample file 2015-09-23 17:44:27 +01:00