Commit Graph

411 Commits

Author SHA1 Message Date
Shahram Najm 836a0cd7c9 Clean up 2016-06-21 16:37:14 +01:00
Shahram Najm bfcc2e150f Python example: Add assert for Ni/Nj before allocating 2016-06-21 16:37:04 +01:00
Shahram Najm 9b2f4ac26e Fortran examples: remove unused variables 2016-06-21 14:58:04 +01:00
Shahram Najm a45fe9dca0 ECC-277: F90 Examples: replace 'double precision' with 'real(8)' 2016-06-21 11:02:46 +01:00
Enrico Fucile b4561a903c improved comments in example 2016-06-17 09:46:44 +01:00
Enrico Fucile 26a7a59e69 Added new fortran function codes_get_string_array and example/F90/bufr_get_string_array.f90 ECC-269 2016-06-16 11:47:16 +01:00
Shahram Najm 0ba065f462 Python3 initial support. Writing to stderr 2016-06-14 11:55:48 +01:00
Shahram Najm d684bd7860 Python example: improve documentation 2016-06-03 11:28:00 +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 922e65f3b8 Initial support for Python3: use 'as' for exception catching 2016-06-01 16:15:50 +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 6db3a825b3 GRIB-576: grib_close_file() segmentation fault when closing a file 2016-04-28 12:31:11 +01:00
Shahram Najm 68583c900a Rename test in makefile 2016-04-27 17:41:41 +01:00
Shahram Najm d6520bc3d4 Rename Python test: count_messages -> grib_count_messages 2016-04-27 17:32:11 +01:00
Shahram Najm 719c76f177 Rename F90 test: count_messages -> grib_count_messages 2016-04-27 17:23:14 +01:00
Shahram Najm 50418a0634 GRIB-395: example 2016-04-27 17:03:24 +01:00
Shahram Najm f3cb55b49e GRIB-395: grib_count_in_file() function does not support multi-field messages 2016-04-27 16:50:17 +01:00
Shahram Najm 800391d0ce Add copyright notice 2016-04-13 16:12:21 +01:00
Shahram Najm dee9bd014b Fix compiler warnings (using INTEL) 2016-04-13 14:50:27 +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 63b58cb710 Fixes for F90 example and python setup 2016-04-04 16:53:25 +01:00
Shahram Najm c52a42ac77 Rename test 2016-03-30 10:37:34 +01:00
Shahram Najm cbe07a5456 ECC-221: add tests for 'new_from_message' functions (Part 1) 2016-03-29 18:56:11 +01:00
Shahram Najm 128d233f3f ECC-237: eccodes interface incompatible with grib_api (allocatable) 2016-03-29 15:47:55 +01:00
Shahram Najm 363d3e2b7a Rename tests 2016-03-29 11:16:29 +01:00
Shahram Najm 1ebdc3a54d Add descripton to example 2016-03-10 15:49:04 +00:00
Shahram Najm 1e0e71c1c4 GRIB-944: Add Python example showing how to query the bitmap array 2016-03-10 15:40:18 +00: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 c47980458b Removed obsolete F77 examples (no more support for Fortran 77) 2016-02-16 16:09:16 +00:00
Shahram Najm a3b724b1c7 Fix compiler warnings (with NDEBUG) 2016-02-11 18:39:35 +00:00
Marijana Crepulja 1ef7c0d743 ECC-214 BUFR WMO tables version 25 2016-02-11 16:39:01 +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 c268cc8122 Clean up F90 examples and add test for setting bitmap 2015-12-30 16:37:45 +00:00
Shahram Najm f614084a28 GRIB-903: Fortran test fails when using gfortran with option -frecursive 2015-12-30 11:21:32 +00:00
Shahram Najm 8709afdc78 Fortran examples: add test 2015-12-29 17:29:00 +00:00
Shahram Najm d1bc3de185 Improve examples 2015-12-29 16:37:03 +00:00
Shahram Najm d6ffb1f0fb PEP8ify python example 2015-12-29 13:53:51 +00:00
Marijana Crepulja 9e4056bd6a Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2015-12-23 15:26:04 +00:00
Marijana Crepulja 7a541afa92 tropical cyclone example in python ECC-190 2015-12-23 15:25:57 +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 96c7846fc3 Suppress error output from tests 2015-12-17 14:01:19 +00:00
Marijana Crepulja 550c3a5cee Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2015-12-16 11:03:56 +00:00
Marijana Crepulja 981845c12c tc in python ECC-190 2015-12-16 11:03:37 +00:00
Shahram Najm cfef150e19 ECC-196: Update the bufr_read_temp example 2015-12-11 14:14:41 +00:00
Shahram Najm 161c8dfde1 Check package compiles and links with g++ 2015-12-03 14:35:55 +00:00
Sandor Kertesz 67e7f2e9e1 Adjust scripts generating confluence doc 2015-11-26 09:31:45 +00:00
Shahram Najm 97399653ed Fix F90 cray compile error 2015-11-25 13:08:04 +00:00
Shahram Najm a7078f5951 F90 examples: move reference data into separate file 2015-11-24 16:29:43 +00:00
Shahram Najm 5cd554b570 Fix comments spelling etc 2015-11-19 15:37:17 +00:00
Shahram Najm 5bf9108ed6 Fix autotools check 2015-11-18 15:48:59 +00:00
Enrico Fucile c74339c796 fixed comments in bufr_read_tropical_cyclone.f90 2015-11-18 15:12:29 +00:00
Enrico Fucile e39463c3db fixed examples/F90/Makefile.am 2015-11-18 14:58:51 +00:00
Enrico Fucile bde213f9dc Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2015-11-18 14:40:42 +00:00
Enrico Fucile dfb1863d63 ECC-109 2015-11-18 14:40:34 +00:00
Shahram Najm dc90e539e8 Moved Python example for tropical cyclone into subdir to resurrect later 2015-11-18 11:13:05 +00:00
Shahram Najm 9f4a97fa47 Indentation 2015-11-18 10:10:20 +00:00
Shahram Najm 358a8a598e PEP8ify python example 2015-11-18 09:53:03 +00:00
Marijana Crepulja cdcf04a6f8 ECC 109 Add description to examples 2015-11-17 14:29:55 +00:00
Marijana Crepulja 35c46307db ECC 109 shell wrapper for python 2015-11-17 14:24:37 +00:00
Marijana Crepulja 6bd79781e3 ECC 109 example for reading tropical cyclone in python 2015-11-17 14:23:30 +00:00
Marijana Crepulja cd5ad41d46 ECC-109 shell wrapper 2015-11-17 10:37:03 +00:00
Marijana Crepulja a0d4c5408e ECC-109 example for reading tropical cyclone 2015-11-17 10:32:01 +00:00
Shahram Najm 92e07e5a38 Clean up python 2015-11-16 14:38:51 +00:00
Shahram Najm 24e1f9ab51 ECC-152: Crash: python codes_set_array() instead of codes_set_double_array() 2015-11-16 12:44:38 +00:00
Shahram Najm 37df7d250f Add the VERBOSE variable 2015-11-16 10:54:07 +00:00
Florian Rathgeber 2c0e9406bc ECC-188 PEP8ify python examples 2015-11-12 15:16:42 +00:00
Enrico Fucile d2309250a1 used BufrTemplate in bufr_encode_flight 2015-11-12 14:24:30 +00:00
Florian Rathgeber 9223729592 ECC-184 Parse first two column as date and time 2015-11-12 13:58:43 +00:00
Florian Rathgeber 19ccb6b296 ECC-184 PEP8ify bufr_encode_flight example 2015-11-12 13:58:25 +00:00
Shahram Najm a01bdaf146 Python examples: PEP8ify 2015-11-11 18:20:31 +00:00
Shahram Najm 3e31de7a59 Add description to examples 2015-11-11 17:53:52 +00:00
Shahram Najm c00cb92f0a ECC-184: rename python example 2015-11-11 10:30:40 +00:00
Shahram Najm a52fda2727 ECC-184: improve python flight encoding example 2015-11-11 10:24:37 +00:00
Shahram Najm 9afebc4ca1 ECC-184: Create python example to read CSV and encode BUFR 2015-11-10 20:45:59 +00:00
Shahram Najm 5d58da9af0 F90 codes_dump for GRIB and BUFR (debugging aid) 2015-11-10 11:21:44 +00:00
Shahram Najm bc2d1d67db ECC-180: Test failure with cray intel compiler: bufr_subset.sh 2015-11-06 17:35:12 +00:00
Shahram Najm 3615479033 Add valgrind support (by default commented out) 2015-11-05 11:30:46 +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 a278f01138 Python examples: No need to copy python files to build area 2015-10-16 18:17:30 +01:00
Shahram Najm b6b84114f0 Add the Fortran grib_dump call 2015-10-02 17:03:26 +01: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
Shahram Najm 53de0863c4 Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2015-08-27 16:06:49 +01:00
Shahram Najm e072d9ca9f Tests: clean up and remove unnecessary redirection to /dev/null 2015-08-27 16:06:43 +01:00
Enrico Fucile c67997cdcf ECC-137 2015-08-27 16:01:17 +01:00
Shahram Najm 79664ea975 Cleanup 2015-08-25 11:22:19 +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 0de8534b85 Add tropical cyclone test 2015-07-29 15:48:10 +01:00
Marijana Crepulja 3c5f89b649 Tropical cyclone python test added for BUFR 2015-07-29 14:42:51 +01:00
Shahram Najm eb3d1862a0 CMake tests: prepend name of package 2015-07-14 17:50:28 +01:00
Shahram Najm 37611fcf71 CMake tests: prepend name of package 2015-07-14 17:11:57 +01:00
Shahram Najm 74ecaedb89 Add grib_clone.sh 2015-07-09 14:11:13 +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 76bd03e33a CMake: fortran and examples features 2015-06-09 14:50:51 +01:00
Shahram Najm e3389fe601 Fix compiler errors when using g++ 2015-06-01 16:59:48 +01:00
Shahram Najm eff8dc5090 GRIB-774: Leak in example 2015-06-01 14:27:47 +01:00
Enrico Fucile da1afef0a0 hopefully final fix for scatterometer failing 2015-05-28 16:42:26 +01:00
Enrico Fucile d9118d21c7 fix for bufr scatterometer example failing on some platfomrs 2015-05-28 16:02:32 +01:00
Enrico Fucile a25a368214 fixed problem with failing scatterometer test on some platforms 2015-05-28 15:25:25 +01:00
Enrico Fucile b5709af577 ECC-129 fixed 2015-05-28 09:56:33 +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
Shahram Najm 5b36903347 ECC-117: Eliminate function codes_is_defined (Part 1) 2015-05-13 13:00:31 +01:00
Enrico Fucile 5f8f69908b solved ECC-85, ECC-118 2015-05-11 14:58:23 +01:00
Shahram Najm 94cba0999a Added python metar test to build 2015-04-22 18:11:56 +01:00
Shahram Najm a11654746a Metar example: metar_get_keys.py 2015-04-22 17:58:21 +01:00
Shahram Najm ce4635c3be Python example: Added shell wrapper script 2015-04-22 12:49:18 +01:00
Enrico Fucile 0067ecc483 added gts_new function in python. Added python gts example. 2015-04-22 11:17:20 +01:00
Shahram Najm 397bc05d6c Valgrind: uninitialised value 2015-04-14 11:00:05 +01:00
Sandor Kertesz 2591bdc6d3 Make C, Fortran and Python examples ECC-15 2015-03-27 09:35:04 +00: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 a09159f54c changed fortran examples. 2015-03-25 13:41:19 +00:00
Enrico Fucile 9baba01364 merge 2015-03-25 11:51:12 +00:00
Enrico Fucile d3f86e6402 fortran get_array functions allocate when not allocated. Changed two examples 2015-03-25 11:09:02 +00:00
Sandor Kertesz ef6941fded Make C, Fortran and Python examples ECC-15 2015-03-23 17:35:23 +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
Enrico Fucile cc35c36b78 changed exception handling in python example 2015-03-23 08:45:18 +00:00
Shahram Najm e8e7365a5c Tests: make ref files optional 2015-03-20 19:10:26 +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 6fe515c665 ECC-86: Rename all grib related API examples (Part 17) 2015-03-18 13:24:48 +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 45402275f3 ECC-86: Rename all grib related API examples (Part 14) 2015-03-18 11:48:23 +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 53db8aed2b Pylint 2015-03-18 10:36:56 +00:00
Shahram Najm 19bc51c40d Fix F90 example names 2015-03-17 17:50:35 +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 9e742ccadd Fix conflicts 2015-03-17 16:48:41 +00:00