Commit Graph

3802 Commits

Author SHA1 Message Date
shahramn 8473df1df8 ECC-1926: GRIB2: Incorrect decoding of data values when packingType=grid_complex_spatial_differencing 2024-09-27 16:35:39 +01:00
Eugen Betke 2122cd6ef9 Modernisation: Introduce namespaces and change class names 2024-09-24 11:04:11 +02:00
shahramn a0023ff079 ECC-1920: Concepts: Also allow namespaces 2024-09-23 16:58:53 +01:00
shahramn e55c99bb37 HEALPix: Cosmetics 2024-09-23 16:16:11 +01:00
shahramn a0080468f4 ECC-1921: grib_util_set_spec: Print a warning 2024-09-23 12:17:26 +01:00
Eugen Betke 1afda19f17 Modernisation: C++ iterators 2024-09-21 17:54:46 +02:00
shahramn 9126a814f3 ECC-1921: grib_util_set_spec: Failure with input spectral_ieee and bitsPerValue=64 2024-09-20 17:09:00 +01:00
Eugen Betke a8e68a4fd1 Modernisation: Remove unused file 2024-09-20 15:59:58 +02:00
Eugen Betke 859399da2c Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-20 15:36:37 +02:00
shahramn 2b8c39e21d ECC-1920: Concepts: Allow passing a key as the basename 2024-09-20 14:29:26 +01:00
Eugen Betke 15a818c23a Modernisation: Make member variables in base classes private or
protected
2024-09-20 15:02:16 +02:00
Eugen Betke 428896d964 Modernisation: Make member variables private (partially) in complex
packing
2024-09-20 14:11:57 +02:00
Eugen Betke 60f22641e7 Modernisation: Make member variables private in bitmap class 2024-09-20 13:53:35 +02:00
Eugen Betke 56cae37287 Modernisation: Simplify make_clone() in bufr_data_element 2024-09-20 13:45:30 +02:00
Eugen Betke 4133a399d9 Modernisation: Shorter getter names in bufr_data_element 2024-09-20 13:34:22 +02:00
Eugen Betke 2a773489c4 Modernisation: Make table_ in codetable a private member variable 2024-09-20 13:27:56 +02:00
Eugen Betke 95ecb8cb59 Modernisation: Make table_ private 2024-09-20 13:24:55 +02:00
Eugen Betke f81db533c7 Modernisation: Make member variables private in expanded_descriptors 2024-09-20 13:21:09 +02:00
Eugen Betke 6503514cb1 Modernisation: Make member variables private in bufrdc_expanded_descriptors 2024-09-20 11:50:29 +02:00
Eugen Betke b627525f52 Modernisation: Make member variables private in bufr_extract_subsets 2024-09-20 11:43:43 +02:00
Eugen Betke 0b2eb92ba5 Modernisation: Make member variables private in
bufr_extract_datetime_subsets
2024-09-20 11:41:27 +02:00
Eugen Betke 7c3506c8a8 Modernisation: Make member variables private in bufr_extract_area_subsets 2024-09-20 11:38:52 +02:00
Eugen Betke eeb687f84d Modernisation: Make member variables private in data_element class 2024-09-20 11:34:50 +02:00
Eugen Betke 24f5b85c10 Modernisation: Fix merge errors 2024-09-19 17:40:35 +02:00
Eugen Betke b8f53148f3 Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-19 17:38:03 +02:00
Eugen Betke 3a52f55e46 Modernisation: Private member variables in bufr_data_array 2024-09-19 17:34:41 +02:00
shahramn b2168380a9 Data quality checks comments 2024-09-19 13:37:57 +01:00
shahramn aa27ff9825 Data quality checks 2024-09-19 13:11:09 +01:00
shahramn b605be1e37 Accessor: Remove unused argument 2024-09-18 14:25:19 +01:00
shahramn 97d5e44d5a Compiler warnings 2024-09-18 14:25:02 +01:00
Eugen Betke faf8197aad Modernisation: Make accessor member variables private (except BURF and base classes) 2024-09-18 13:59:39 +02:00
shahramn 552b348117 Harmonise struct names 2024-09-18 11:31:28 +01:00
shahramn 5fae926992 Data quality checks 2024-09-17 12:56:22 +01:00
shahramn 11d4f0ba6f Dumper: Add missing methods 2024-09-17 11:37:39 +01:00
shahramn fa83e2d0bd Dumper: Labels etc 2024-09-17 09:57:57 +01:00
Eugen Betke aae525df01 Modernisation: Clean-up 2024-09-16 18:04:08 +02:00
Eugen Betke 115d264c33 Modernisation: Fix unpack_double() in Spherical Harmonics 2024-09-16 17:34:47 +02:00
Eugen Betke 0627b526fe Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-13 15:02:27 +02:00
shahramn 6924dc014a Const correctness 2024-09-06 14:59:39 +01:00
shahramn fc73927c42 Const correctness 2024-09-06 14:44:02 +01:00
shahramn 6115373ce4 cppcheck warning: Member variables 'offset' and 'length' also defined in base class 2024-09-06 14:40:17 +01:00
shahramn 1f2fbf4710 Const correctness 2024-09-06 14:39:45 +01:00
shahramn d48e3f7fcc Const correctness 2024-09-06 14:14:33 +01:00
shahramn ac4dc27fed cppcheck warning: Member variable 'name' also defined in base class 2024-09-06 14:14:24 +01:00
shahramn da32d6d8da Remove grib_emoslib.h 2024-09-05 17:48:54 +01:00
shahramn 845a461665 Compiler warnings 2024-09-05 16:49:41 +01:00
shahramn 23651d524f Dead code removal 2024-09-05 16:41:05 +01:00
shahramn 2db38ede1c Const correctness 2024-09-05 11:37:47 +01:00
Eugen Betke 16c4797aee Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-09-04 16:56:29 +02:00
Shahram Najm 9179608c88 Testing: Fix for METAR 2024-09-01 15:57:35 +00:00
shahramn fbe2d513b0 Testing: dumping actions 2024-09-01 16:42:00 +01:00
shahramn d53a873485 Const correctness 2024-08-31 13:19:02 +01:00
shahramn 1f8206a111 Compiler warnings 2024-08-30 15:27:35 +01:00
shahramn 987b0d612d Cosmetics 2024-08-28 11:44:04 +01:00
shahramn 5880696173 Features: Rework 2024-08-28 11:28:46 +01:00
shahramn 3badf33169 Compiler warnings 2024-08-27 20:13:37 +01:00
shahramn ccdd815841 Features: List of enabled ones 2024-08-27 17:48:39 +01:00
shahramn c4a8ab1be2 Cosmetics 2024-08-27 17:06:17 +01:00
shahramn a6da895ecc Testing: Features 2024-08-27 16:23:22 +01:00
shahramn f693e0033a Feature enabled/disabled 2024-08-27 14:53:26 +01:00
Shahram Najm 302f7bc93c Compiler warnings 2024-08-26 11:00:05 +00:00
shahramn 0cf898b592 Dead code removal 2024-08-25 16:39:56 +01:00
shahramn 8bf440d850 Dead code removal 2024-08-25 16:33:37 +01:00
shahramn 061dc1b77f Testing: Lambert/SpaceView error conditions 2024-08-22 14:41:45 +01:00
shahramn 4e71ddcb06 Dead code removal 2024-08-22 14:14:24 +01:00
shahramn 4ded321aab Dead code removal: Accessor for gds_not_present 2024-08-21 22:45:38 +01:00
shahramn f1377122fb Dead code removal 2024-08-21 18:22:42 +01:00
shahramn a874ad0cc4 Do not fail if local def number does not exist 2024-08-20 16:14:15 +01:00
shahramn 2349dc3e7c Dead code removal 2024-08-19 17:20:35 +01:00
shahramn f688cce574 Testing: grib_dump plain for flags 2024-08-19 12:35:59 +01:00
shahramn 1b532e9260 Dead code removal 2024-08-18 12:50:08 +01:00
shahramn 11ea6745c3 Dead code removal 2024-08-18 11:37:45 +01:00
shahramn f08321e392 Testing: hash_array unpacking 2024-08-17 14:10:47 +01:00
shahramn 6c444f8cd1 ECC-1905: GRIB: Speed up getting shortName/paramId 2024-08-16 17:10:11 +01:00
shahramn 837c9afc4e ECC-1904: API function to get the git branch 2024-08-15 12:28:29 +01:00
Eugen Betke 3fa3938250 Fix member name 2024-08-15 13:21:39 +02:00
Eugen Betke 0f9f35780e Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-08-15 13:20:20 +02:00
Shahram Najm d1835db760 Unused data member 2024-08-13 16:54:07 +00:00
Eugen Betke e7d593f76b ECC-1900: Fixed uninitialized value 2024-08-13 13:30:49 +02:00
Shahram Najm 9b203f1184 Change assertion into proper error 2024-08-12 11:12:46 +00:00
Eugen Betke ad9edbe114 Modernisation: Remove unused variables 2024-08-12 02:21:03 +02:00
Eugen Betke cf3f40fab6 Merge branch 'develop' into feature/modernisation_merge_accessor_classes 2024-08-12 02:00:44 +02:00
Eugen Betke 26f586f7c1 Modernisation: Merge accessor classes 2024-08-12 01:54:29 +02:00
shahramn 29f64e6cf3 Cosmetics 2024-08-11 12:27:10 +01:00
shahramn a210b14ec6 Cosmetics 2024-08-10 20:25:07 +01:00
shahramn 137136b893 ECC-1899: Functor for filter 2024-08-09 16:00:32 +01:00
shahramn eac06e8853 ECC-1899: API function to allow setting debug level 2024-08-09 14:27:16 +01:00
shahramn f50d2c5884 ECC-1858: Allow user to control encoding via optimizeScaleFactor (by default 0) 2024-08-08 13:37:07 +01:00
shahramn 4b197520e3 Testing: Increase coverage 2024-08-03 16:56:29 +01:00
shahramn c81b491edc Testing: Increase coverage 2024-08-03 16:48:50 +01:00
shahramn c1ecf95334 Cosmetics 2024-08-03 15:59:26 +01:00
shahramn fe5a4b168c ECC-1897: GRIB2: Print a warning if the packing type template is experimental or deprecated 2024-08-03 14:44:40 +01:00
Shahram Najm 43dac51b42 Fix Windows build (take 2) 2024-08-01 15:05:12 +00:00
Shahram Najm 8cf449a8da Fix Windows build 2024-08-01 14:44:58 +00:00
Shahram Najm 4f35b2ac20 Filter: 'contains' for string keys to mimic strstr/strcasestr 2024-08-01 14:05:07 +00:00
shahramn 86dc278ee3 Formatting and cleanups 2024-07-31 13:27:52 +01:00
shahramn 2554d17256 Formatting and cleanups 2024-07-31 13:12:01 +01:00
Eugen Betke 7053d3b72e ECC-1858: Data encodings parameters are always re-computed 2024-07-30 18:30:46 +01:00
shahramn da159759db ECC-1886: Definitions: cfVarName key should be based on the shortName (part 2) 2024-07-29 16:14:59 +01:00
shahramn eea658f3cb ECC-1886: Definitions: cfVarName key should be based on the shortName (part 1) 2024-07-29 16:08:23 +01:00
shahramn b1dbd4f2cf Formatting and cleanups 2024-07-29 11:55:30 +01:00
shahramn 36223c395f Formatting and cleanups 2024-07-29 11:51:54 +01:00
shahramn 177b1d8c07 Formatting 2024-07-27 19:25:31 +01:00
shahramn d098b362be Formatting and cleanups 2024-07-27 14:20:23 +01:00
shahramn 52ba802da4 ECC-1885: GRIB: The 'dirty_statistics' key is always 1 2024-07-26 14:19:39 +01:00
shahramn 2d28023aba Cleanup 2024-07-26 12:41:32 +01:00
shahramn e319ebe442 GRIB2 template selection 2024-07-25 17:46:55 +01:00
shahramn 84a2997883 Remove unnecessary grib2 product template setting 2024-07-25 15:44:19 +01:00
shahramn 5cc5a6ad1c New function grib2_choose_PDTN 2024-07-25 15:43:37 +01:00
Shahram Najm 9f31ef8a39 ECC-1883: Better error message when accessor not found 2024-07-25 10:55:06 +00:00
shahramn dd0a0d3685 Formatting 2024-07-24 14:43:34 +01:00
shahramn 99ff9f49a9 Const correctness and cppcheck warnings 2024-07-24 13:54:27 +01:00
shahramn 90d462870a ECC-1881: Performance: Computation of distinctLatitudes/distinctLongitudes 2024-07-24 13:06:36 +01:00
shahramn aa48f21a71 Performance: Local static functions 2024-07-24 11:59:09 +01:00
shahramn b3de64188b Enable the 'inline' directive based on ECCODES_HAVE_C_INLINE 2024-07-23 13:16:17 +01:00
shahramn 47258f4920 Performance: Local static function 2024-07-23 11:38:32 +01:00
shahramn 2aa60b84e2 Refactoring: Remove shared_functions files. Use grib_bits.cc instead 2024-07-22 17:17:23 +01:00
shahramn c9a8a876d9 Refactoring: Move convert_to_minutes to utils 2024-07-22 16:47:44 +01:00
Shahram Najm 5efdd28777 Threads: Rename init to init_mutex for clarity 2024-07-22 14:22:39 +00:00
Shahram Najm 809fb99728 ECC-1879: Cannot build with ENABLE_ECCODES_OMP_THREADS=ON: multiple definition of thread_init() 2024-07-22 12:03:32 +00:00
shahramn 03be2c92a2 Switch: Cosmetics 2024-07-19 13:17:03 +01:00
shahramn a11a425487 Expression: Print based on type of expression 2024-07-19 13:08:57 +01:00
shahramn 58e733e4c4 ECC-1878: Add test 2024-07-19 11:11:46 +01:00
Shahram Najm 1aba5b3059 ECC-1878: grib_filter/bufr_filter: Add a '=' specifier for the print statement 2024-07-19 09:54:33 +00:00
shahramn 608cfd507a Expression: Printing should allow stream to be set 2024-07-18 15:39:29 +01:00
shahramn 9dc8fc792e Debugging: When triggers 2024-07-18 12:44:46 +01:00
shahramn 0e40c948a3 Merge branch 'bugfix/ECC-1875-unwanted-pdt-change' into develop 2024-07-17 16:19:45 +01:00
shahramn 5b2e13fd82 ECC-1875: GRIB2: Unwanted PDT change if setting localDefinitionNumber 2024-07-17 15:28:11 +01:00
Shahram Najm 71c601989f Merge branch 'develop' into feature/ECC-1868-geography-option 2024-07-17 13:58:43 +00:00
shahramn 4f78b500f7 Testing: grib_dump with code/flag tables 2024-07-17 13:26:38 +01:00
Shahram Najm e93d6379c7 Fix broken grib_dump output for flag tables 2024-07-17 10:24:51 +00:00
shahramn 3eab57596b Merge branch 'develop' into feature/ECC-1868-geography-option 2024-07-17 10:39:01 +01:00
shahramn 52c846e6ec Formatting 2024-07-16 15:55:06 +01:00
shahramn 928e3eb4a5 Merge develop 2024-07-16 12:40:04 +01:00
shahramn f10d3f3c1b Formatting 2024-07-16 10:56:48 +01:00
shahramn 711a8f372a ECC-1871: grib_index_rewind 2024-07-16 10:39:48 +01:00
shahramn 56a7dc39a1 Formatting 2024-07-13 13:10:08 +01:00
shahramn 39f73fda5c ECC-1868: Nearest neighbour 2024-07-12 20:08:03 +01:00
shahramn 1f3aac3b53 ECC-1867: GRIB: Unexpected PDT change for GRIB2 wave template for ensemble DA streams 2024-07-12 14:37:29 +01:00
shahramn 9808b03d76 ECC-1868: CMake: Add option for enabling the Geoiterator and nearest neighbour functionality 2024-07-12 09:51:12 +01:00
shahramn 3ac0b7f2b1 Formatting 2024-07-11 10:04:23 +01:00
shahramn 5a5eac1b36 ECC-1866: GRIB: Setting step on interval-based message with dataDate=0 2024-07-10 13:10:56 +01:00
shahramn 73e0b82417 Debugging messages 2024-07-08 15:47:40 +01:00
Eugen Betke 3ac41d63fd Merge branch 'develop' into bugfix/ECC-1855_bad_step_initialisation 2024-07-05 07:53:28 +00:00
shahramn 53e202a2ee ECC-1860: Definition language: Add 'isnot' operator for strings 2024-07-04 15:54:59 +01:00
shahramn 7280121094 ECC-1859: Compile error: grib_accessor_class_data_g2bifourier_packing.cc 2024-07-04 12:15:39 +01:00
Eugen Betke 5a932544af ECC-1855: Fix step initialisation 2024-07-02 19:29:17 +00:00
shahramn f4e9528f73 Formatting 2024-06-28 17:07:46 +01:00
Shahram Najm 0dfbe96e50 ECC-1853: GRIB: Lambert conformal longitudes greater than 360 2024-06-28 15:04:47 +00:00
shahramn 482c26ef35 Cosmetics 2024-06-28 13:12:18 +01:00
Eugen Betke bfccddac23 ECC-1228: Add support for step range for instantaneous data 2024-06-27 12:56:44 +01:00
shahramn 0c2d677c33 Use the better key name numberOfTimeRanges 2024-06-26 18:08:59 +01:00
shahramn d5ecfd8743 ECC-1706 2024-06-12 11:50:53 +01:00
shahramn 411b76211a ECC-1706: Hadley Centre 2024-06-12 11:11:53 +01:00
shahramn eb0080fe0d ECC-1706: KNMI fixed 2024-06-12 10:58:49 +01:00
Eugen Betke 3699fac49e ECC-1802: Relaxed step units rule 2024-06-11 12:14:41 +01:00
shahramn bfd47cf18b ECC-782: Multi-field GRIB: crash in grib_handle_new_from_file_multi 2024-05-16 15:59:27 +01:00
shahramn 22bd62c276 Cosmetics 2024-05-10 16:53:58 +01:00
shahramn ac80478fa4 Cosmetics 2024-05-10 16:15:08 +01:00
shahramn 80d3a68ad1 Cosmetics 2024-05-10 16:05:15 +01:00
shahramn 98cf979823 ECC-1820: grib_accessors_list.rank made private 2024-05-10 15:59:41 +01:00
Shahram Najm 5661700367 ECC-1820: Use 'pragma once' in all header files 2024-05-10 11:05:29 +00:00
shahramn afb4271f49 Cosmetics 2024-05-09 13:23:08 +01:00
shahramn e47f0922f4 Move functions from header to local static. Use 'pragma once' 2024-05-09 12:51:25 +01:00
shahramn d397f5867a ECC-1820: Local static functions 2024-05-08 15:54:40 +01:00
shahramn 915935d512 ECC-1820: Remove unused files 2024-05-08 13:11:39 +01:00
shahramn f0b68e4b15 ECC-1820: Accessor hash 2024-05-08 13:05:36 +01:00
shahramn e0f2213627 ECC-1820: Remove unnecessary header files 2024-05-08 12:12:18 +01:00
Eugen Betke 0d802de270 Fix grib_accessor_class_gen definition 2024-05-08 09:35:23 +00:00
shahramn cf72dca971 Move function from header to local static. Use pragma once 2024-05-08 10:16:12 +01:00
Eugen Betke ce1aac2d28 Merge branch 'feature/modernisation-inheritance' of github.com:ecmwf/eccodes into feature/modernisation-inheritance 2024-05-07 16:35:41 +00:00
Eugen Betke 6aa4be2084 Remove unnecessary includes 2024-05-07 16:35:10 +00:00
Eugen Betke 1a3e11e67f Better commment 2024-05-07 15:59:20 +00:00
Eugen Betke 6b1dae3e55 Cleanup 2024-05-07 15:58:49 +00:00
shahramn 41c513e7d9 ECC-1820: Remove duplicate entry 2024-05-07 16:47:42 +01:00
Eugen Betke 45b5d55623 Merge branch 'feature/modernisation-inheritance' of github.com:ecmwf/eccodes into feature/modernisation-inheritance 2024-05-07 15:13:43 +00:00
Eugen Betke 867da9928c Cleanup 2024-05-07 15:12:50 +00:00
shahramn 481c78c227 ECC-1820: Fix CCSDS class when -DENABLE_AEC=OFF 2024-05-07 16:03:20 +01:00
shahramn 677f73f3c8 ECC-1820: Fix Windows build 2024-05-07 15:51:08 +01:00
Eugen Betke 5d63a54fd9 Merge branch 'develop' into feature/modernisation-inheritance 2024-05-07 11:17:03 +00:00
Eugen Betke 7ddc88a430 Fix py_bufr_ecc-869.py test 2024-05-07 10:03:49 +00:00
shahramn 599fbbf375 ECC-1819: GRIB: Keys iScansPositively and jScansNegatively should be read-only 2024-05-04 14:33:13 +01:00
shahramn 4f577fea52 Expression: unary op name 2024-05-03 17:32:10 +01:00
shahramn 908a6d367c
Merge pull request #208 from ecmwf/bugfix/ECC-1813_setting_stepunits_has_no_effect
ECC-1813: Setting stepunits has no effect
2024-05-03 15:30:41 +01:00
Eugen Betke 97294f6b50 ECC-1813: Init local variables, add comment, improve test 2024-05-03 13:49:22 +00:00
Eugen Betke ea6fca236e Initialisation of accessors lists 2024-05-03 12:41:00 +00:00
shahramn ea073235d2 Error messages: Samples path 2024-05-03 09:56:40 +01:00
Eugen Betke 33dbaa5db9 Fix reflection 2024-05-02 17:26:22 +00:00
Eugen Betke 4735c01df5 Simplify generic pack_double function 2024-05-02 16:10:38 +00:00
Eugen Betke 41a7e62306 Merge branch 'develop' into feature/modernisation-inheritance 2024-05-02 12:38:21 +00:00
Shahram Najm c04bc4fa03 ECC-1818: GRIB Geoiterator issues for Lambert azimuthal equal area 2024-05-02 10:25:11 +00:00
Eugen Betke 3630e3bfab Merge branch 'develop' into feature/modernisation-inheritance 2024-04-30 13:24:09 +00:00
shahramn b250b23246 Cosmetics 2024-04-29 16:51:26 +01:00
shahramn f6d42954d2 Initialize all data members 2024-04-27 14:39:23 +01:00
shahramn 78578782f7 Remove unnecessary header files 2024-04-27 14:27:04 +01:00
shahramn bbcf302f48 Copyright notices 2024-04-27 13:54:06 +01:00
shahramn 6018a0acc7 Fix the includes: Do not use .. 2024-04-27 13:40:39 +01:00
shahramn aca85e100e C++: Move function from header to local static. Use pragma once 2024-04-27 13:32:14 +01:00
shahramn 82cb39cc55 C++: Move function from header to local static 2024-04-27 13:13:31 +01:00
shahramn 17e250b7d3 Cleanup 2024-04-27 12:55:21 +01:00