Commit Graph

381 Commits

Author SHA1 Message Date
Shahram Najm f9aa4a12cd Windows support: merge branch dtip-windows from Github 2019-01-07 16:13:48 +00:00
Shahram Najm 0cbfa864a5 ECC-856: BUFR - length of string attribute not correct if used with subset section 2018-12-18 11:16:34 +00:00
Shahram Najm 796f52f01d Merge from develop 2018-12-06 12:56:51 +00:00
Shahram Najm 07dbcf3b36 ECC-763: Break tests into two sets... 2018-10-23 16:33: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 76fd217e70 Remove environment variable. Add 'set -x' to print trace of commands 2018-08-15 12:00:07 +01:00
Shahram Najm 18a2c281de Merged develop into this branch 2018-08-07 16:00:29 +01:00
Shahram Najm eb7e4e0a58 Compiler warnings 2018-07-20 14:16:37 +01:00
Shahram Najm b0cd1e03d1 Enable -Werror=declaration-after-statement 2018-07-20 11:38:36 +01:00
Shahram Najm 75120573f7 cppcheck warnings 2018-07-12 17:54:32 +01:00
Shahram Najm 4b97f0de71 ECC-604: Verify output from test 2018-05-02 16:01:30 +01:00
Shahram Najm b35532d6a3 ECC-674: Examples: typo in bufr_read_scatterometer.f90 2018-04-14 17:09:42 +01:00
Shahram Najm 4f5d17f849 Compiler warnings 2018-01-19 16:20:59 +00:00
Shahram Najm 30b705b8da Update copyright notices: 2017 -> 2018 2018-01-02 11:31:02 +00:00
Shahram Najm d0d2832193 Testing: test must not pass if no data got downloaded 2017-12-18 17:11:42 +00:00
Shahram Najm 167f2918c4 ECC-590: add encoding in test 2017-11-21 13:07:17 +00:00
Shahram Najm 6038cc9062 ECC-590: Clang ThreadSanitizer error: data race on expanded_descriptor_list_push 2017-11-20 11:48:41 +00:00
Shahram Najm 944e9858cf Testing: add more output 2017-11-16 17:19:03 +00:00
Shahram Najm 754f2f767d Examples: Add BUFR get string array 2017-10-02 14:44:26 +01:00
Shahram Najm 58d343eb4f Examples: Add BUFR get string array 2017-10-02 14:28:12 +01:00
Shahram Najm 36411da09f ECC-544: Clean up 2017-09-22 14:25:21 +01:00
Shahram Najm 18640bcd47 Compiler warnings: Intel 2017-09-01 17:35:30 +01:00
Shahram Najm b291dc6b6f Clang compiler warnings 2017-08-25 17:26:08 +01:00
Shahram Najm fd81b9a736 Compiler warnings 2017-06-21 19:21:58 +01:00
Shahram Najm 3cee05a2d6 Compiler warnings 2017-05-02 17:59:04 +01:00
Shahram Najm 65583ffa4a Examples: missingValue and GRIB lat/lon iterator 2017-04-19 13:58:39 +01:00
Shahram Najm e3eccf1fe7 ECC-426: GRIB and BUFR centre: use common code tables C-1 and C-11 2017-02-16 18:08:25 +00:00
Shahram Najm 0294edc8f4 Examples: bufr_copy_data 2017-02-07 16:04:38 +00:00
Shahram Najm 947b4cd9b7 ECC-424: Allow for filtering the bufr_keys_iter flags (Future) 2017-02-06 16:47:23 +00:00
Shahram Najm e769ac8fd8 Clean up 2017-02-06 16:46:28 +00:00
Shahram Najm cedbb52292 ECC-424 2017-02-06 11:28:12 +00:00
Shahram Najm bce6d80376 ECC-424: codes_bufr_keys_iterator rework (part 1) 2017-02-03 15:44:03 +00:00
Florian Rathgeber 79e277db1a Remove trailing / from examples_dir 2017-02-03 14:37:12 +00:00
Florian Rathgeber 710d01c7bc Remove trailing / from tools_dir 2017-02-03 14:34:13 +00:00
Florian Rathgeber 32c8dc9325 ECC-106 Use ECCODES_{DEFINITION,SAMPLES}_SUFF in example scripts 2017-02-03 13:50:40 +00:00
Shahram Najm 804e9ac571 The keys iterator delete function should free the strings 2017-02-02 18:41:42 +00:00
Shahram Najm 940cee8c37 ECC-418: Fortran and Python codes_bufr_keys_iterator (Part 3: C example) 2017-01-26 17:45:46 +00:00
Shahram Najm 67df26b665 Examples: cleanup 2017-01-17 17:10:22 +00:00
Shahram Najm 66ff19382e Examples: use codes_ prefix 2017-01-12 17:46:58 +00:00
Shahram Najm 93502a13b0 Examples: use codes_ prefix 2017-01-11 13:58:06 +00:00
Shahram Najm 05c9bf5bc0 Example/Test: grib_get_double_elements 2017-01-05 13:50:08 +00:00
Shahram Najm cc73e100af Update copyright notices: 2016 -> 2017 2017-01-03 11:03:48 +00:00
Shahram Najm 45da446e2f ctest with valgrind. Env var ECCODES_TEST_WITH_VALGRIND 2016-12-30 14:28:43 +00:00
Shahram Najm c57a42f26f Testing with valgrind. Env var ECCODES_TEST_WITH_VALGRIND 2016-12-30 13:40:04 +00:00
Shahram Najm b467b01c3a Test clean ups 2016-12-30 11:48:55 +00:00
Shahram Najm 3a3255cd2f API example: grib_set_data for Fortran 2016-11-21 15:15:28 +00:00
Shahram Najm d36ea27f48 Pthread examples 2016-11-21 14:03:17 +00:00
Shahram Najm bd289bc8fd Documentation 2016-11-21 13:10:21 +00:00
Shahram Najm ff90dd1d08 ECC-387: Thread safety for BUFR decoding (Part 1) 2016-11-18 20:20:59 +00:00
Shahram Najm 76c9b0a383 BUFR decoding thread safety test 2016-11-18 18:09:15 +00:00
Shahram Najm c4b2515c07 BUFR decoding thread safety test 2016-11-18 18:09:04 +00:00
Shahram Najm 07b7d581db ECC-378: Added test 2016-11-04 17:53:49 +00:00
Shahram Najm c791ee1c82 Testing: add test for C ensemble index example 2016-11-04 17:11:30 +00:00
Shahram Najm 50a76b07b1 Use codes_ prefix rather than grib_ 2016-10-25 11:42:20 +01:00
Shahram Najm 53c28d9491 Clean up 2016-10-18 18:23:33 +01:00
Shahram Najm 96f2015f0b ECC-357: Added Python example 2016-10-18 17:59:04 +01:00
Shahram Najm 9eba55f1c2 Examples clean up 2016-10-18 11:55:14 +01:00
Enrico Fucile cc94b5a074 added C and F90 examples changed bufr_copy_data and added bufr_copy_data_return_copied_keys ECC-357 2016-10-18 11:43:42 +01:00
Shahram Najm 97e5cb9f2b ECC-331: grib_get_size returns incorrect size for GRIB 1 'reservedNeedNotBePresent' key 2016-09-15 15:03:33 +01:00
Shahram Najm c9004a56b6 Fix spelling errors in example code 2016-09-13 17:48:52 +01:00
Enrico Fucile d2b1d3e87b ECC-292 ECC-298 2016-07-19 11:52:55 +01:00
Shahram Najm 72fb322279 ECC-294: C function grib_get_data has unused argument 'size' 2016-07-06 15:10:20 +01:00
Shahram Najm e85e3e5790 Tests: Check output 2016-07-06 13:06:31 +01:00
Marijana Crepulja 3cecd2d0bb ECC-276 ECC-273 ECC-274: WMO v26 short name changes 2016-06-23 17:33:03 +01:00
Shahram Najm c72ff29aec Tests: don't suppress output 2016-06-01 18:20:19 +01:00
Shahram Najm 9215fd0905 No need for redirecting output. Ctest is silent by default 2016-06-01 17:51:31 +01:00
Shahram Najm 5beceb0b97 Clean up 2016-05-24 16:21:55 +01:00
Shahram Najm ef2cd675b6 Update Pthreads C example 2016-05-24 14:30:38 +01:00
Shahram Najm 7a4a3d12d0 Add Pthreads C example/test 2016-05-24 14:27:46 +01:00
Shahram Najm e5ee658dde Remove unused macros 2016-04-29 18:32:32 +01:00
Shahram Najm c942f1ccdc ECC-254: grib_handle_new_from_message should take const data pointer 2016-04-29 16:32:22 +01:00
Shahram Najm 800391d0ce Add copyright notice 2016-04-13 16:12:21 +01:00
Shahram Najm b479ed65d0 ECC-221: add tests for 'new_from_message' functions (Part 2) 2016-04-06 18:13:31 +01:00
Shahram Najm 363d3e2b7a Rename tests 2016-03-29 11:16:29 +01:00
Shahram Najm 583a6296d3 GRIB-932: Crash: using keys iterator with skip duplicates 2016-02-26 11:21:27 +00:00
Shahram Najm 1684f93b3c Fix incorrect bitwise OR operator 2016-02-25 17:45:09 +00:00
Shahram Najm a3b724b1c7 Fix compiler warnings (with NDEBUG) 2016-02-11 18:39:35 +00:00
Shahram Najm 007db04e67 Remove compiler warnings (unused-but-set-variable) 2016-01-22 15:56:02 +00:00
Shahram Najm ca80166107 Add more tests for setting bitmap 2016-01-05 14:32:24 +00:00
Shahram Najm 45badf3729 GRIB-902: Update copyright notices: 2015 -> 2016 2015-12-31 12:44:51 +00:00
Shahram Najm d1bc3de185 Improve examples 2015-12-29 16:37:03 +00:00
Shahram Najm c4a2f548f9 Cleanup 2015-12-22 17:55:45 +00:00
Shahram Najm 2a168ac30d Remove compiler warnings (using clang) and code clean up 2015-12-18 18:01:56 +00:00
Shahram Najm 161c8dfde1 Check package compiles and links with g++ 2015-12-03 14:35:55 +00:00
Shahram Najm 3e31de7a59 Add description to examples 2015-11-11 17:53:52 +00:00
Shahram Najm 0b275fe45d Add valgrind support (by default commented out) 2015-11-05 11:14:41 +00:00
Shahram Najm 72705b0e28 Fix compiler warning 2015-10-28 17:35:25 +00:00
Enrico Fucile 384164a9ca ECC-167 2015-10-28 16:07:41 +00:00
Enrico Fucile bd4385fce0 ECC-53 ECC-163 2015-10-28 11:46:53 +00:00
Shahram Najm f71808a281 Move check_gaussian_grid.c from examples to tools 2015-09-25 17:09:27 +01:00
Shahram Najm bcc33f4cfe Add check for reduced GG: iDirectionIncrement must be missing 2015-09-23 15:30:30 +01:00
Enrico Fucile fb7434b671 ECC-147 and part ECC-133 2015-09-03 15:49:24 +01:00
Enrico Fucile c67997cdcf ECC-137 2015-08-27 16:01:17 +01:00
Shahram Najm 36cca9a5a3 Use relative path for temp file 2015-08-14 11:39:10 +01:00
Shahram Najm 004460c333 Increase size of string array for gridType 2015-08-12 14:40:45 +01:00
Shahram Najm 03bdf4f77c GRIB-813: grib_nearest_find does not work on successive calls for Lambert grid 2015-08-11 14:00:45 +01:00
Shahram Najm 37611fcf71 CMake tests: prepend name of package 2015-07-14 17:11:57 +01:00
Shahram Najm a3be715b5c Refactoring C example 2015-07-07 17:50:09 +01:00
Shahram Najm 9e2af2f8e7 GRIB-786: Cmake performance 2015-07-02 13:02:54 +01:00
Shahram Najm 80f57efcb7 GRIB-786: cmake run is slow due to copying definitions to build dir 2015-06-30 17:18:51 +01:00
Shahram Najm e3389fe601 Fix compiler errors when using g++ 2015-06-01 16:59:48 +01:00
Shahram Najm 31b82ee08a C examples: Close input file handle asap 2015-05-26 14:40:27 +01:00
Shahram Najm 87ce084617 GRIB-744 use isOctahedral key 2015-05-26 14:17:57 +01:00
Sandor Kertesz 0443f8e0f4 Make C, Fortran and Python examples ECC-15 2015-03-26 13:08:22 +00:00
Sandor Kertesz 57048c342d Add BUFR examples for C, Fortran and Python 2015-03-25 17:39:58 +00:00
Enrico Fucile 9baba01364 merge 2015-03-25 11:51:12 +00:00
Sandor Kertesz 5e3a078f67 Merge branch 'eccodes' of ssh://software.ecmwf.int:7999/grib/grib_api into eccodes 2015-03-23 11:04:33 +00:00
Sandor Kertesz 236193de00 Add examples 2015-03-23 11:04:29 +00:00
Shahram Najm bb4d0e4044 Fix compiler warnings 2015-03-20 17:16:15 +00:00
Sandor Kertesz 4297cd350d Make C, Fortran and Python examples ECC-15 2015-03-20 10:41:01 +00:00
Shahram Najm de1b8016f6 Rationalize and clean up C examples 2015-03-18 14:35:13 +00:00
Shahram Najm e05a7aaae2 Added grib_index as C example 2015-03-18 13:48:30 +00:00
Shahram Najm bb347b1474 ECC-86: Rename all grib related API examples (Part 16) 2015-03-18 13:06:18 +00:00
Shahram Najm bbbf956cbd ECC-86: Rename all grib related API examples (Part 15) 2015-03-18 11:57:18 +00:00
Shahram Najm 6cac18ab21 ECC-86: Rename all grib related API examples (Part 14) 2015-03-18 11:44:55 +00:00
Shahram Najm 1743d505a1 ECC-86: Rename all grib related API examples (Part 13) 2015-03-17 17:39:55 +00:00
Shahram Najm a21744156d ECC-86: Rename all grib related API examples (Part 12) 2015-03-17 16:44:58 +00:00
Shahram Najm 50cb0c5f52 ECC-86: Rename all grib related API examples (Part 11) 2015-03-17 16:26:03 +00:00
Sandor Kertesz 06f1772ed9 Merge branch 'eccodes' of ssh://software.ecmwf.int:7999/grib/grib_api into eccodes
Conflicts:
	confluence/examples.par
	examples/F90/Makefile.am
	examples/python/Makefile.am
2015-03-17 16:20:35 +00:00
Shahram Najm 81011ca5a1 ECC-86: Rename all grib related API examples (Part 10) 2015-03-17 16:17:33 +00:00
Sandor Kertesz 9cebda8b47 Make C, Fortran and Python examples ECC-15 2015-03-17 16:13:20 +00:00
Shahram Najm 9574a7689d ECC-86: Rename all grib related API examples (Part 9) 2015-03-17 15:55:36 +00:00
Shahram Najm 8cd3291a25 ECC-86: Rename all grib related API examples (Part 8) 2015-03-17 15:41:04 +00:00
Shahram Najm b2719ca8f2 ECC-86: Rename all grib related API examples (Part 7) 2015-03-17 15:23:16 +00:00
Shahram Najm dc1a3d85d2 ECC-86: Rename all grib related API examples (Part 6) 2015-03-17 15:01:07 +00:00
Shahram Najm b5a20adfcd ECC-86: Rename all grib related API examples (Part 5) 2015-03-17 14:46:35 +00:00
Shahram Najm b0fca1d510 ECC-86: Rename all grib related API examples (Part 4) 2015-03-17 14:40:42 +00:00
Shahram Najm 34592d71c5 ECC-86: Rename all grib related API examples (Part 3) 2015-03-17 14:21:14 +00:00
Shahram Najm 7fd8826789 ECC-86: Rename all grib related API examples (Part 2) 2015-03-17 14:01:14 +00:00
Shahram Najm 0769393ee5 Clean up 2015-03-17 13:36:47 +00:00
Shahram Najm ee2ab390b9 ECC-86: Rename all grib related API examples (Part 1) 2015-03-17 13:19:09 +00:00
Sandor Kertesz 0f6111abea Make C, Fortran and Python examples ECC-15 2015-03-17 10:39:22 +00:00
Sandor Kertesz e220456317 Make C, Fortran and Python examples ECC-15 2015-03-17 09:14:03 +00:00
Sandor Kertesz 09a3156f6e Make C, Fortran and Python examples ECC-15 2015-03-16 17:44:37 +00:00
Sandor Kertesz a03f6b08f7 Make C, Fortran and Python examples ECC-15 2015-03-16 15:58:38 +00:00
Sandor Kertesz d3a85082e8 Make C, Fortran and Python examples ECC-15 2015-03-16 14:28:55 +00:00
Shahram Najm cb77f3eabc Cleanup 2015-03-12 17:38:43 +00:00
Shahram Najm 45c828d07e ECC-80: Add examples/tests for processing different messages inside one file 2015-03-12 12:54:18 +00:00
Shahram Najm 49f3e1a0b3 Fix path to tools when in a bundle project 2015-03-10 18:19:51 +00:00
Shahram Najm 549fc7fa3a GRIB-711: CMake build: should not need to download data to compile 2015-03-10 15:52:33 +00:00
Shahram Najm cd4926d964 Use PROJECT_BINARY_DIR instead of CMAKE_BINARY_DIR for tool invocation 2015-03-09 16:22:55 +00:00
Enrico Fucile be19a51199 fixed ECC-77 and changed example 2015-03-09 09:54:26 +00:00
Shahram Najm 71228ccc12 Fix cppcheck warnings 2015-03-05 15:00:55 +00:00
Sandor Kertesz 5fb6d4a402 Make C, Fortran and Python examples ECC-15 2015-03-05 11:05:18 +00:00
Sandor Kertesz 8c57fff608 Resolve key name conflict between BUFR headers and data ECC-69 2015-03-04 17:15:48 +00:00
Sandor Kertesz e30c1949ec Make C, Fortran and Python examples ECC-15 2015-03-04 15:45:05 +00:00
Sandor Kertesz 2147d6b009 Make C, Fortran and Python examples ECC-15 2015-03-03 15:49:27 +00:00
Shahram Najm 18c0ed93b9 Fix compiler warnings 2015-02-27 18:10:39 +00:00
Sandor Kertesz e235318c6e Make C, Fortran and Python examples ECC-15 2015-02-27 12:50:03 +00:00
Sandor Kertesz cf7e85b5d1 Make C, Fortran and Python examples ECC-15 2015-02-25 12:19:18 +00:00
Shahram Najm 47085c545f ECC-63: Change name of the library (autotools) 2015-02-14 16:22:49 +00:00
Shahram Najm f0ea1ec12f ECC-63: Change name of the library 2015-02-13 18:04:42 +00:00
Shahram Najm 04c5e03d77 ECC-10: Creating a handle from a file 2015-02-12 18:32:04 +00:00
Shahram Najm e8d9223c62 ECC-10: Creating a handle from a file 2015-02-12 17:34:01 +00:00
Shahram Najm af59f7af69 ECC-60: Rename API functions which are GRIB specific 2015-02-11 14:32:39 +00:00
Shahram Najm d1e074ada8 GRIB-704: Support Octahedral Gaussian grids 2015-02-11 13:07:22 +00:00
Shahram Najm 9f18935216 ECC-49: codes_bufr_new_from_file should be defined in the C API 2015-02-10 18:02:22 +00:00
Sandor Kertesz c45e49eb67 Add C, F90 and python examples ECC-15 2015-02-10 15:43:47 +00:00
Shahram Najm 2557619391 Merge branch 'eccodes' of ssh://software.ecmwf.int:7999/GRIB/grib_api into eccodes 2015-02-09 16:44:55 +00:00
Sandor Kertesz be4fce642c Add C, F90 and python examples ECC-15 2015-02-09 16:39:14 +00:00
Shahram Najm be2a747d64 cppcheck: resource leak 2015-02-09 16:27:44 +00:00
Sandor Kertesz 4836cc1039 Add C, F90 and python examples ECC-15 2015-02-09 15:41:15 +00:00
Sandor Kertesz 968e15d806 Add C,F90 and python examples ECC-15 2015-02-09 12:30:11 +00:00
Shahram Najm 8d86117cdb Clean up 2015-02-06 17:48:47 +00:00
Sandor Kertesz 20d42db995 Add C and F90 examples ECC-15 2015-02-06 16:38:23 +00:00
Sandor Kertesz 4b4325d6f1 Add C and F90 examples ECC-15 2015-02-06 14:47:34 +00:00
Sandor Kertesz 143aeec037 merge 2015-02-06 14:40:42 +00:00
Sandor Kertesz 4c3563b10a Add C and F90 examples ECC-15 2015-02-06 14:23:28 +00:00
Shahram Najm 358f1da3b7 Run C examples thru cppcheck and clean up 2015-02-06 13:34:28 +00:00
Sandor Kertesz d0f931c9fa Add C and F90 examples ECC-15 2015-02-06 11:44:01 +00:00
Sandor Kertesz 956a3671ae Add C and F90 examples ECC-15 2015-02-06 09:32:42 +00:00
Sandor Kertesz dc10064c37 Add bufr_exapnded and bufr_subset examples ECC-15 2015-02-05 16:29:49 +00:00
Sandor Kertesz e4069a0422 Add bufr_clone F90 example ECC-15 2015-02-04 16:32:00 +00:00
Sandor Kertesz 5791d19cff Add bufr_clone C example ECC-15 2015-02-04 15:58:52 +00:00
Sandor Kertesz 52de2b4686 Add bufr_print_header example ECC-15 2015-02-04 15:43:49 +00:00
Shahram Najm 22e488425d Clean up 2015-02-03 18:38:20 +00:00
Sandor Kertesz 156a2dcdd6 Make C, Fortran and Python examples ECC-15 2015-02-03 16:31:51 +00:00
Sandor Kertesz aad2fe1bbe Add bufr_read_header example to F90 and python 2015-01-30 10:42:34 +00:00
Sandor Kertesz 23a02e9cc6 Add bufr_read_header example to F90 and python 2015-01-30 09:23:16 +00:00
Shahram Najm 108ed9cce1 GRIB-527: prepare for parallel test runs 2015-01-26 18:48:19 +00:00
Shahram Najm 1fca46dfb4 Testing: add env var to allow verbose output 2015-01-26 17:26:18 +00:00
Shahram Najm b5808e8dbd GRIB-527: prepare for parallel test runs 2015-01-26 14:54:48 +00:00
Shahram Najm e5585348ed Moved bufr_read_header to examples/C 2015-01-24 19:00:15 +00:00
Shahram Najm 8e3f489091 ECC-28: Change the prefix of all environment variables 2015-01-23 22:47:51 +00:00
Shahram Najm 6dcb518b5f ECC-19: Rename grib_info to codes_info 2015-01-22 16:44:59 +00:00
Shahram Najm 188c7f3d3c Update Copyright notice to 2015 2015-01-05 15:45:46 +00:00
Shahram Najm f53142e1c2 ecCodes/ECC-1: made all C examples use the codes_ prefix 2014-12-23 10:16:21 +00:00
Shahram Najm 8f6f9541e7 GRIB-666: Compile errors with -Werror=format-security 2014-12-22 16:50:54 +00:00
Shahram Najm 8892ba4491 Add the 'points' example to noinst_PROGRAMS 2014-12-18 13:03:46 +00:00
Shahram Najm 9cb28f51ce Do not install the C example 'points' executable 2014-12-18 11:32:07 +00:00
Shahram Najm 563b7ba211 GRIB-648: grib_get_string: Clarify C example 2014-11-25 13:01:15 +00:00
Shahram Najm 4dc78d8c68 GRIB-635: Missing function prototypes in grib_api.h 2014-11-18 10:59:44 +00:00
Shahram Najm 37578a16db Add the call to grib samples path 2014-11-04 16:09:45 +00:00
Enrico Fucile f22153bd1a created class for descriptors. Improved design and performance (see
tests/bufrdc_ref.sh)
2014-11-04 13:59:20 +00:00
Shahram Najm 091e8cdc2b GRIB-622: Add test for gaussian grid sample files 2014-10-28 11:31:32 +00:00
Shahram Najm f66768db60 Add call to grib_samples_path in examples/C 2014-10-24 13:36:09 +01:00
Shahram Najm ba8b648c42 GRIB-588: compile grib_api with a C++ compiler - Part 1 2014-10-01 17:43:23 +01:00
Shahram Najm 7e4f4a47bc Clean up of C example 2014-09-22 16:51:27 +01:00
Shahram Najm 3a3bcdb3aa Add C example for indexing 2014-09-22 15:58:31 +01:00
Shahram Najm 5af26fa272 CMake formatting 2014-07-28 10:27:13 +01:00