Commit Graph

592 Commits

Author SHA1 Message Date
Shahram Najm 7fd2b5e91e Debug messages 2019-08-05 11:32:41 +01:00
Shahram Najm 42c723f8df ECC-961: Refactoring 2019-07-30 15:47:27 +01:00
Shahram Najm 7c572c8b97 ECC-961: grib_dump: ability to dump specific keys 2019-07-30 13:22:48 +01:00
Shahram Najm cae9f093fe ECC-962: grib_to_netcdf: Set date to 'hdate' for hindcast fields 2019-07-30 12:06:58 +01:00
Shahram Najm f8a5392bd8 ECC-961: grib_dump -p functionality 2019-07-29 17:21:56 +01:00
Shahram Najm d9879974bb ECC-707: optimisation. Make one call per handle (not for every key) 2019-07-26 13:12:59 +01:00
Shahram Najm 1ca2f676e3 ECC-958: grib_compare: show bit values for codeflag keys 2019-07-24 18:19:36 +01:00
Shahram Najm b2ad45b9f0 ECC-949: grib_merge fails to merge grib1 tiles 2019-07-09 13:52:35 +01:00
Shahram Najm 6e5403ba08 Check result of ftell() 2019-06-19 18:15:54 +01:00
Shahram Najm d52ca2a52b ECC-543: Feature request: -w for grib_histogram 2019-06-17 17:09:10 +01:00
Shahram Najm 8dcb351133 ECC-240: fix strict mode 2019-06-17 17:07:53 +01:00
Shahram Najm 367c7c826d ECC-136: grib_compare ignores difference in indicatorOfTypeOfLevel 2019-06-14 14:31:37 +01:00
Shahram Najm 7227794bfc ECC-240: refactor 2019-06-03 13:45:33 +01:00
Shahram Najm 841c3d3a64 ECC-240: Don't clone etc unless there are several subsets 2019-06-01 13:11:07 +01:00
Shahram Najm 313175b018 ECC-240: bufr_dump should be able to dump a given subset 2019-06-01 12:11:37 +01:00
Shahram Najm 6aaef30888 ECC-240: bufr_dump should be able to dump a given subset 2019-06-01 11:51:45 +01:00
Shahram Najm 01c1cba483 Use binary mode read 2019-05-31 19:00:24 +01:00
Shahram Najm 57e556b0fb ECC-932: clean up 2019-05-30 19:13:17 +01:00
Shahram Najm 14ddd818f0 ECC-932: Fix default for -d 2019-05-30 15:21:59 +01:00
Shahram Najm db3cb1948c ECC-932: Add units 2019-05-30 15:01:09 +01:00
Shahram Najm 0df7324098 ECC-932: disable -u option 2019-05-30 14:40:17 +01:00
Shahram Najm 065da5fdf8 ECC-932: fix 999999 descriptors 2019-05-29 18:22:35 +01:00
Shahram Najm 1eb67abca6 ECC-932: bufr_dump: Add option to print expanded descriptors along with their keys and units 2019-05-29 18:04:42 +01:00
Shahram Najm 80f615c654 ECC-925: Remove the tool bufr_index_build 2019-05-14 17:53:39 +01:00
Shahram Najm 7bd147bfa6 ECC-926: bufr_compare should fail if passed index files 2019-05-14 17:53:27 +01:00
Shahram Najm 7ec6123455 ECC-923: Fix other tools too 2019-05-10 14:11:01 +01:00
Shahram Najm 5e0f600e0b ECC-923: Mismatched count not reported as difference by grib_compare 2019-05-10 13:05:35 +01:00
Shahram Najm 536df91da0 Tools: update man page 2019-04-25 11:28:36 +01:00
Shahram Najm 02e934b688 Copyright updated 2019-04-15 14:44:45 +01:00
Shahram Najm 039ed1d201 Simplify rule re PRE RELEASE 2019-03-27 12:33:27 +00:00
Shahram Najm 2d6b08d9e0 ECC-886: Converting lambert_azimuthal_equal_area (Experimental) 2019-03-26 13:24:40 +00:00
Shahram Najm 0479c91ba9 Add support for pre-release mode 2019-03-26 12:02:57 +00:00
Shahram Najm 27f37da83b ECC-913: Tools: Add gts_count 2019-03-19 15:36:25 +00:00
Shahram Najm 79b1853de8 Windows: use binary open 2019-03-14 12:34:41 +00:00
Shahram Najm 5bac99bc73 Write errors to stderr not stdout. Also use const 2019-02-28 11:25:20 +00:00
Shahram Najm 6eb42de199 GCC 8.3.0: fix all sprintf buffer size issues 2019-02-22 18:07:46 +00:00
Shahram Najm 487ae774ac Message printed twice 2019-02-22 11:31:27 +00:00
Shahram Najm 3f83ce74c3 Refactoring 2019-02-20 17:54:43 +00:00
Shahram Najm 90ed04e9b1 ECC-846: grib_to_netcdf slow for high resolution data 2019-02-19 17:05:06 +00:00
Shahram Najm be0672322e Put back lost code 2019-02-19 15:31:42 +00:00
Stephan Siemen 7c4a7164cb Merge branch 'develop' of https://github.com/ecmwf/eccodes into develop
# Conflicts:
#	.travis.yml
#	README.md
#	tools/grib_tools.c
2019-02-19 13:28:10 +00:00
Shahram Najm fcf95a58d3 Experimental: Add case for TAF mode (e.g. grib_dump -TF) 2019-02-18 14:10:53 +00:00
Shahram Najm 60a5600db5 Documentation 2019-02-18 14:05:05 +00:00
Shahram Najm 5a6c0fded7 ECC-846: extra checks 2019-02-16 16:40:31 +00:00
Shahram Najm 477ad681e7 ECC-846: grib_to_netcdf slow for high resolution data (Part 1) 2019-02-16 14:56:14 +00:00
Shahram Najm ae85203ebd Further support for JSON output. bufr_ls also enabled 2019-02-15 16:20:44 +00:00
Shahram Najm cc098fc4f7 Merge develop into this branch 2019-02-15 15:32:32 +00:00
Shahram Najm 3f37b70fa4 ECC-886: Converting non-regular grib to netCDF file (Initial attempt) 2019-02-13 13:27:43 +00:00
Shahram Najm efe074293d Check the value passed to the grib_set -d option 2019-02-05 15:47:20 +00:00
Shahram Najm 2af77e41cc Documentation 2019-02-04 11:45:46 +00:00
Shahram Najm efb8ebd1ac ECC-880: grib_to_netcdf support for stepUnits of seconds 2019-02-01 19:52:30 +00:00
Shahram Najm 8c9c0eefd8 ECC-713 and ECC-880: grib_to_netcdf and stepUnits in minutes 2019-02-01 18:12:55 +00:00
Shahram Najm e07fe211b5 ECC-873: grib_ls with sorting: The 'count' key is wrong 2019-01-23 17:02:35 +00:00
Shahram Najm 399f7b4194 Compiler warnings and error with grib2ppm on reduced grids 2019-01-15 11:45:37 +00:00
Daniel Tipping 6c2e3db271 Close dir when we've finished scanning 2019-01-12 10:42:21 +00:00
Daniel Tipping 47d7085bc4 Windows: close dir when we've finished scanning 2019-01-12 10:42:17 +00:00
Shahram Najm 0e431eea67 Windows support: merge branch dtip-windows from Github 2019-01-11 12:49:31 +00:00
Daniel Tipping 6e97dc6858 Windows: refactor grib_tools.c scan 2019-01-10 17:42:10 +00:00
Daniel Tipping c0fbbba586 Windows: remove directory check
There's no directory check in the non-Windows code.
2019-01-10 17:38:36 +00:00
Daniel Tipping 1603eae822 Windows: fix usage of _findfirst 2019-01-10 17:37:27 +00:00
Daniel Tipping 496c8cf192 Remove dead code 2019-01-10 17:10:13 +00:00
Shahram Najm 26bb1b6b3d Formatting 2019-01-10 16:39:40 +00:00
Daniel Tipping 3b3c51a518 Windows: include stdint.h for int64_t 2019-01-07 18:50:24 +00:00
Daniel Tipping 287c0d5c81 Windows: remove redundant comments
I think the context makes it obvious that these changes are for MSVS.
2019-01-07 18:50:24 +00:00
Daniel Tipping a3853d6078 Windows: include wingetopt in codes_info.c 2019-01-07 18:50:24 +00:00
Daniel Tipping a475a413a3 Windows: add wingetopt.c to grib_tools sources 2019-01-07 18:50:24 +00:00
Shahram Najm f9aa4a12cd Windows support: merge branch dtip-windows from Github 2019-01-07 16:13:48 +00:00
Shahram Najm 76be63d054 Documentation 2018-12-28 12:00:18 +00:00
Shahram Najm a6aafe15b1 Clang warnings re shadowed variables 2018-12-20 13:30:43 +00:00
Shahram Najm 6a072cba32 Compiler warnings 2018-12-07 15:20:10 +00:00
Shahram Najm a774089f1f Improve the grib_check_gaussian_grid tool error reporting 2018-11-22 18:11:58 +00:00
Shahram Najm 2c62a25dad ECC-809: grib_get_data: add -s option to set keys 2018-11-19 18:03:38 +00:00
Shahram Najm e30031747c ECC-777: Compiling with gcc and -std=c99 fails 2018-11-15 13:25:06 +00:00
Shahram Najm 579da762e5 ECC-278: grib_ls -n namespace fails if namespace contains an array-type key 2018-11-07 17:20:56 +00:00
Shahram Najm e61224767a Fix error code incrementing 2018-11-01 12:55:47 +00:00
Shahram Najm 2819966c2d ECC-356: Fix for bufr_compare 2018-11-01 11:50:00 +00:00
Shahram Najm 7924c3f5a1 Clang static analysis fixes 2018-10-25 16:50:35 +01:00
Shahram Najm ac614014cf ECC-767: grib_dump -j produces invalid JSON when a file has multiple messages 2018-10-24 16:31:45 +01:00
Shahram Najm 717aa9853a Rename tool bufr_split_by_subtype to bufr_split_by_rdbSubtype 2018-09-19 11:42:53 +01:00
Shahram Najm 5a23010bbc Usage display 2018-09-19 11:42:21 +01:00
Shahram Najm f870417447 ECC-754: grib_to_netcdf unit for time does not comply to ISO8601 2018-09-17 17:49:27 +01:00
Shahram Najm e0f82b7288 ECC-748: better error messages 2018-09-07 17:12:24 +01:00
Shahram Najm 47accafef5 ECC-748: grib_get/bufr_get: infinite loop when a directory is passed in 2018-09-07 16:49:40 +01:00
Shahram Najm a21c62c820 bufr_dump -p performance: speed up by skipping extra key attributes 2018-09-07 12:24:07 +01:00
Shahram Najm 3eadeaa7be ECC-745: bufr_compare performance: speed up by skipping extra key attributes 2018-09-06 15:13:33 +01:00
Shahram Najm b59cc79a23 Fix GNU 7.3.0 warning re sprintf 2018-09-05 14:07:28 +01:00
Shahram Najm dc153462b1 Better error messages 2018-09-05 12:30:05 +01:00
Shahram Najm bef6728682 bufr_split_by_subtype updated after tests 2018-08-23 17:40:38 +01:00
Shahram Najm 2cb83cc93f ECC-740: bufr_dump: make output Python3 compatible 2018-08-23 12:05:29 +01:00
Shahram Najm d5c2eb0d31 First draft of new tool bufr_split_by_subtype 2018-08-22 16:42:39 +01:00
Shahram Najm 42226a8596 ECC-737: bufr_copy/grib_copy: add -X option to specify the offset in the input file 2018-08-22 12:39:40 +01:00
Shahram Najm 1a8ce77bd8 Documentation 2018-08-17 17:18:38 +01:00
Shahram Najm 148604189e Guard against buffer overrun 2018-08-07 15:16:50 +01:00
Shahram Najm 7c38b300e2 Clean up 2018-08-07 15:16:04 +01:00
Shahram Najm f2f9331914 Refactoring 2018-08-07 14:25:26 +01:00
Shahram Najm a72e9bf75a Tools: Remove unused options 2018-08-07 14:01:57 +01:00
Shahram Najm 3e4f38d4e8 Const correctness 2018-08-07 13:50:41 +01:00
Shahram Najm 5ddb597258 METAR: remove irrelevant options 2018-08-02 12:44:35 +01:00
Shahram Najm 62ccb1361e ECC-725: grib_to_netcdf: Does not preserve MARS type 2018-07-25 13:25:13 +01:00
Shahram Najm b0cd1e03d1 Enable -Werror=declaration-after-statement 2018-07-20 11:38:36 +01:00
Shahram Najm 6441cd786d ECC-723: bufr_dump: option '-f' should dump header if unpack fails 2018-07-18 13:43:19 +01:00
Shahram Najm f9c7e87c2f Merged feature/EFAS_development 2018-07-17 13:59:50 +01:00
Shahram Najm 25f3eb3d9f ECC-710: BUFR decode performance: bufr_compare 2018-06-29 15:21:10 +01:00
Shahram Najm cc04daf388 ECC-707: Key 'date' printed by grib_ls can be different from 'ls.date' 2018-06-25 17:01:42 +01:00
Shahram Najm 777cdc2ae8 ECC-706: bufr_dump: add -X option to specify the offset in the input file 2018-06-22 13:41:35 +01:00
Shahram Najm 23752d8e7f Documentation 2018-06-06 12:34:17 +01:00
Shahram Najm 4f5a5f9a41 Clang compiler warnings/type safety 2018-06-05 14:33:27 +01:00
Shahram Najm adf92e1047 ECC-694: grib_to_netcdf: fails compilation with NetCDF version 3 2018-05-29 13:52:44 +01:00
Shahram Najm c6319be92e Add more debug messages when ECCODES_DEBUG=-1 2018-05-18 13:58:37 +01:00
Shahram Najm f06331bd6c Documentation 2018-05-08 14:16:30 +01:00
Shahram Najm d0e0764a65 ECC-685: grib_to_netcdf: fails with GRIB message with almost constant values 2018-04-30 15:42:52 +01:00
Shahram Najm b3194458fb Documentation 2018-04-24 15:32:51 +01:00
Shahram Najm eebe44331a Debugging: print out Git SHA1 2018-04-20 16:48:06 +01:00
Shahram Najm afa42a29c3 ECC-651: Fix verbose option on two-way mode 2018-04-12 13:34:05 +01:00
Shahram Najm cf6cc9da82 ECC-658: bufr_compare: apply relative comparison (-R) to all ranks of a given key 2018-03-22 13:49:11 +00:00
Shahram Najm 4ea5400426 ECC-657: -p will not print the keys (no need to add -v) 2018-03-21 18:46:11 +00:00
Shahram Najm 5c0e660c27 ECC-657: Added note re using square brackets in output filename 2018-03-21 18:24:17 +00:00
Shahram Najm 42c724a4e9 ECC-656: bufr_compare: using relative comparison (-R) with 'all' does not work 2018-03-21 17:52:37 +00:00
Shahram Najm 2eb1b016e9 ECC-651: grib_compare/bufr_compare: Enable a 'two-way' switch for symmetric comparison 2018-03-13 15:56:11 +00:00
Shahram Najm dddd872c2e ECC-651: grib_compare/bufr_compare: Enable a 'two-way' switch for symmetric comparison 2018-03-13 15:48:00 +00:00
Shahram Najm de337d4cb7 Clang 5.0.1 2018-03-12 18:20:27 +00:00
Shahram Najm d1439b61e0 ECC-431: bufr_compare two way. Part 1 2018-03-12 15:51:04 +00:00
Shahram Najm a35e814154 Improve error message when fields are non-distinct 2018-03-06 13:23:57 +00:00
Shahram Najm 8517b20925 ECC-640: grib_ls -B crashes with non existent input file 2018-02-27 15:35:59 +00:00
Shahram Najm 022d086df7 Do not assert if input file nonexistent (grib_ls -Bx nonex) 2018-02-27 11:42:16 +00:00
Shahram Najm 748ed71ff1 ECC-638: grib_ls/grib_get -l using mask: nearest neighbour performance 2018-02-23 18:37:08 +00:00
Shahram Najm a1954c7a96 Documentation of codes_info 2018-02-15 13:01:51 +00:00
Shahram Najm af580420c4 Improvements to grib_check_gaussian_grid error reporting etc 2018-02-07 17:53:06 +00:00
Shahram Najm 6f52af4063 Compiler warnings for GNU C 7.3.0 2018-02-02 09:54:40 +00:00
Shahram Najm ea977d738a ECC-629: grib_ls and grib_count to read standard input instead of a filename 2018-02-01 11:00:58 +00:00
Shahram Najm 6713236e93 ECC-627: grib_to_netcdf: fails with less user-friendly error message on non-regular grid 2018-01-30 17:21:48 +00:00
Shahram Najm b2548e4a39 Documentation 2018-01-15 13:45:31 +00:00
Shahram Najm a62c3681da Compiler warnings 2018-01-03 16:41:06 +00:00
Shahram Najm 62cfacc0ae ECC-394: bufr_dump -E option: include keys whose values are MISSING 2018-01-02 16:32:55 +00:00
Shahram Najm 30b705b8da Update copyright notices: 2017 -> 2018 2018-01-02 11:31:02 +00:00
Shahram Najm ff3a2eded4 ECC-407: Add option to bufr_count/grib_count to count valid messages 2018-01-02 11:01:36 +00:00
Shahram Najm 39881a54eb Documentation for codes_split_file 2017-12-01 13:28:57 +00:00
Shahram Najm 6b9fbfd8cb Documentation 2017-11-30 17:54:20 +00:00
Shahram Najm f89f5c0f5d Documentation: related to ECC-594 2017-11-30 14:17:06 +00:00
Shahram Najm 80b4ee02ad Remove extraneous va_end 2017-11-23 14:51:45 +00:00
Shahram Najm 34bb6c8e14 ECC-567: codes_split_file: error handling 2017-10-27 19:05:50 +01:00
Shahram Najm d2b674e0f3 ECC-567: codes_split_file test/docs 2017-10-27 16:28:59 +01:00
Shahram Najm eb012451cc ECC-567: codes_split_file documentation 2017-10-27 14:50:59 +01:00
Shahram Najm bd4aece745 ECC-567: codes_split_file tool 2017-10-27 11:30:24 +01:00
Shahram Najm 26aaa2f68b Compiler warnings 2017-10-27 11:20:09 +01:00
Enrico Fucile 5e37b34a7a ECC-567 codes_split_file 2017-10-27 10:57:49 +01:00
Shahram Najm 2ae8885e1e ECC-565: grib_merge documentation (See GRIB-455) 2017-10-25 16:57:57 +01:00
Shahram Najm d5b88b571a ECC-565: grib_merge issues with Canadian GRIB1 GTS products 2017-10-25 16:21:38 +01:00
Shahram Najm 71f26b1858 Documentation of bufr_filter 2017-10-25 13:51:35 +01:00
Shahram Najm 14e38d6422 Documentation of grib_filter 2017-10-25 13:45:40 +01:00