From 4ded321aabba368001f51ff96baab37532e25e3f Mon Sep 17 00:00:00 2001 From: shahramn Date: Wed, 21 Aug 2024 22:45:38 +0100 Subject: [PATCH] Dead code removal: Accessor for gds_not_present --- src/CMakeLists.txt | 1 - src/accessor_class_hierarchy.txt | 1 - ...ccessor_class_gds_not_present_bitmap.1.cc} | 0 ...ib_accessor_class_gds_not_present_bitmap.h | 0 src/grib_accessor_class.h | 1 - src/grib_accessor_classes_hash.cc | 705 +++++++++--------- src/grib_accessor_factory.h | 1 - src/grib_accessor_factory_hash_list | 1 - tests/grib1_gds_not_present.sh | 9 + 9 files changed, 370 insertions(+), 349 deletions(-) rename src/{accessor/grib_accessor_class_gds_not_present_bitmap.cc => deprecated/grib_accessor_class_gds_not_present_bitmap.1.cc} (100%) rename src/{accessor => deprecated}/grib_accessor_class_gds_not_present_bitmap.h (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3a4146b3b..2f6a232fb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -217,7 +217,6 @@ list( APPEND eccodes_src_files accessor/grib_accessor_class_data_raw_packing.cc accessor/grib_accessor_class_data_complex_packing.cc accessor/grib_accessor_class_data_g1complex_packing.cc - accessor/grib_accessor_class_gds_not_present_bitmap.cc accessor/grib_accessor_class_gds_is_present.cc accessor/grib_accessor_class_select_step_template.cc accessor/grib_accessor_class_local_definition.cc diff --git a/src/accessor_class_hierarchy.txt b/src/accessor_class_hierarchy.txt index 78f67c6fa..78eaf2530 100644 --- a/src/accessor_class_hierarchy.txt +++ b/src/accessor_class_hierarchy.txt @@ -85,7 +85,6 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh |---grib_accessor_class_g2_mars_labeling |---grib_accessor_class_g2step_range |---grib_accessor_class_gaussian_grid_name - |---grib_accessor_class_gds_not_present_bitmap |---grib_accessor_class_group |---grib_accessor_class_hash_array |---grib_accessor_class_headers_only diff --git a/src/accessor/grib_accessor_class_gds_not_present_bitmap.cc b/src/deprecated/grib_accessor_class_gds_not_present_bitmap.1.cc similarity index 100% rename from src/accessor/grib_accessor_class_gds_not_present_bitmap.cc rename to src/deprecated/grib_accessor_class_gds_not_present_bitmap.1.cc diff --git a/src/accessor/grib_accessor_class_gds_not_present_bitmap.h b/src/deprecated/grib_accessor_class_gds_not_present_bitmap.h similarity index 100% rename from src/accessor/grib_accessor_class_gds_not_present_bitmap.h rename to src/deprecated/grib_accessor_class_gds_not_present_bitmap.h diff --git a/src/grib_accessor_class.h b/src/grib_accessor_class.h index a3ddf6b21..46ae9fce0 100644 --- a/src/grib_accessor_class.h +++ b/src/grib_accessor_class.h @@ -102,7 +102,6 @@ extern grib_accessor_class* grib_accessor_class_g2lon; extern grib_accessor_class* grib_accessor_class_g2step_range; extern grib_accessor_class* grib_accessor_class_gaussian_grid_name; extern grib_accessor_class* grib_accessor_class_gds_is_present; -extern grib_accessor_class* grib_accessor_class_gds_not_present_bitmap; extern grib_accessor_class* grib_accessor_class_gen; extern grib_accessor_class* grib_accessor_class_getenv; extern grib_accessor_class* grib_accessor_class_global_gaussian; diff --git a/src/grib_accessor_classes_hash.cc b/src/grib_accessor_classes_hash.cc index d9e78851b..247b091b9 100644 --- a/src/grib_accessor_classes_hash.cc +++ b/src/grib_accessor_classes_hash.cc @@ -37,12 +37,12 @@ #line 6 "accessor_class_list.gperf" struct accessor_class_hash { const char *name; grib_accessor_class **cclass;}; -#define TOTAL_KEYWORDS 206 +#define TOTAL_KEYWORDS 205 #define MIN_WORD_LENGTH 1 #define MAX_WORD_LENGTH 44 #define MIN_HASH_VALUE 1 -#define MAX_HASH_VALUE 545 -/* maximum key range = 545, duplicates = 0 */ +#define MAX_HASH_VALUE 665 +/* maximum key range = 665, duplicates = 0 */ #ifdef __GNUC__ @@ -55,32 +55,32 @@ static unsigned int grib_accessor_classes_get_id (const char *str, size_t len) { static const unsigned short asso_values[] = { - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 0, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 1, 145, - 23, 6, 2, 546, 4, 546, 1, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 0, 546, 0, 69, 84, - 0, 0, 200, 24, 219, 1, 8, 6, 87, 102, - 13, 51, 6, 546, 118, 1, 40, 59, 171, 0, - 28, 11, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, - 546, 546, 546, 546, 546, 546 + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 0, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 1, 189, + 23, 11, 4, 666, 10, 666, 0, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 0, 666, 0, 69, 85, + 0, 0, 175, 24, 230, 1, 0, 4, 74, 223, + 13, 50, 6, 666, 129, 1, 40, 71, 191, 0, + 52, 5, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, + 666, 666, 666, 666, 666, 666 }; unsigned int hval = len; @@ -117,30 +117,30 @@ static const struct accessor_class_hash classes[] = #line 9 "accessor_class_list.gperf" {" "}, {""}, {""}, {""}, {""}, -#line 180 "accessor_class_list.gperf" +#line 179 "accessor_class_list.gperf" {"size", &grib_accessor_class_size}, #line 12 "accessor_class_list.gperf" {"ascii", &grib_accessor_class_ascii}, -#line 177 "accessor_class_list.gperf" +#line 176 "accessor_class_list.gperf" {"signed", &grib_accessor_class_signed}, -#line 157 "accessor_class_list.gperf" +#line 156 "accessor_class_list.gperf" {"pad", &grib_accessor_class_pad}, -#line 183 "accessor_class_list.gperf" +#line 182 "accessor_class_list.gperf" {"spd", &grib_accessor_class_spd}, - {""}, {""}, {""}, -#line 178 "accessor_class_list.gperf" +#line 76 "accessor_class_list.gperf" + {"dirty", &grib_accessor_class_dirty}, + {""}, {""}, +#line 177 "accessor_class_list.gperf" {"signed_bits", &grib_accessor_class_signed_bits}, {""}, #line 67 "accessor_class_list.gperf" {"data_raw_packing", &grib_accessor_class_data_raw_packing}, -#line 76 "accessor_class_list.gperf" - {"dirty", &grib_accessor_class_dirty}, - {""}, {""}, + {""}, {""}, {""}, #line 73 "accessor_class_list.gperf" {"data_simple_packing", &grib_accessor_class_data_simple_packing}, #line 69 "accessor_class_list.gperf" {"data_secondary_bitmap", &grib_accessor_class_data_secondary_bitmap}, -#line 171 "accessor_class_list.gperf" +#line 170 "accessor_class_list.gperf" {"section", &grib_accessor_class_section}, #line 44 "accessor_class_list.gperf" {"data_apply_bitmap", &grib_accessor_class_data_apply_bitmap}, @@ -148,40 +148,40 @@ static const struct accessor_class_hash classes[] = #line 75 "accessor_class_list.gperf" {"dictionary", &grib_accessor_class_dictionary}, {""}, -#line 113 "accessor_class_list.gperf" +#line 112 "accessor_class_list.gperf" {"gen", &grib_accessor_class_gen}, #line 65 "accessor_class_list.gperf" {"data_jpeg2000_packing", &grib_accessor_class_data_jpeg2000_packing}, #line 66 "accessor_class_list.gperf" {"data_png_packing", &grib_accessor_class_data_png_packing}, -#line 173 "accessor_class_list.gperf" +#line 172 "accessor_class_list.gperf" {"section_padding", &grib_accessor_class_section_padding}, -#line 174 "accessor_class_list.gperf" +#line 173 "accessor_class_list.gperf" {"section_pointer", &grib_accessor_class_section_pointer}, #line 45 "accessor_class_list.gperf" {"data_apply_boustrophedonic", &grib_accessor_class_data_apply_boustrophedonic}, {""}, {""}, {""}, {""}, {""}, -#line 158 "accessor_class_list.gperf" +#line 157 "accessor_class_list.gperf" {"padding", &grib_accessor_class_padding}, #line 46 "accessor_class_list.gperf" {"data_apply_boustrophedonic_bitmap", &grib_accessor_class_data_apply_boustrophedonic_bitmap}, #line 111 "accessor_class_list.gperf" {"gds_is_present", &grib_accessor_class_gds_is_present}, -#line 170 "accessor_class_list.gperf" +#line 169 "accessor_class_list.gperf" {"second_order_bits_per_value", &grib_accessor_class_second_order_bits_per_value}, -#line 172 "accessor_class_list.gperf" +#line 171 "accessor_class_list.gperf" {"section_length", &grib_accessor_class_section_length}, -#line 114 "accessor_class_list.gperf" +#line 113 "accessor_class_list.gperf" {"getenv", &grib_accessor_class_getenv}, #line 58 "accessor_class_list.gperf" {"data_g22order_packing", &grib_accessor_class_data_g22order_packing}, -#line 192 "accessor_class_list.gperf" +#line 191 "accessor_class_list.gperf" {"time", &grib_accessor_class_time}, {""}, #line 62 "accessor_class_list.gperf" {"data_g2shsimple_packing", &grib_accessor_class_data_g2shsimple_packing}, {""}, -#line 156 "accessor_class_list.gperf" +#line 155 "accessor_class_list.gperf" {"packing_type", &grib_accessor_class_packing_type}, #line 63 "accessor_class_list.gperf" {"data_g2simple_packing", &grib_accessor_class_data_g2simple_packing}, @@ -195,173 +195,204 @@ static const struct accessor_class_hash classes[] = {"g2end_step", &grib_accessor_class_g2end_step}, #line 99 "accessor_class_list.gperf" {"g2_eps", &grib_accessor_class_g2_eps}, -#line 143 "accessor_class_list.gperf" +#line 142 "accessor_class_list.gperf" {"nearest", &grib_accessor_class_nearest}, -#line 81 "accessor_class_list.gperf" - {"expanded_descriptors", &grib_accessor_class_expanded_descriptors}, -#line 159 "accessor_class_list.gperf" +#line 158 "accessor_class_list.gperf" {"padto", &grib_accessor_class_padto}, -#line 190 "accessor_class_list.gperf" - {"sum", &grib_accessor_class_sum}, - {""}, + {""}, {""}, {""}, #line 108 "accessor_class_list.gperf" {"g2lon", &grib_accessor_class_g2lon}, -#line 204 "accessor_class_list.gperf" - {"uint8", &grib_accessor_class_uint8}, - {""}, -#line 189 "accessor_class_list.gperf" + {""}, {""}, +#line 188 "accessor_class_list.gperf" {"step_in_units", &grib_accessor_class_step_in_units}, #line 64 "accessor_class_list.gperf" {"data_g2simple_packing_with_preprocessing", &grib_accessor_class_data_g2simple_packing_with_preprocessing}, -#line 202 "accessor_class_list.gperf" - {"uint64", &grib_accessor_class_uint64}, #line 48 "accessor_class_list.gperf" {"data_complex_packing", &grib_accessor_class_data_complex_packing}, -#line 200 "accessor_class_list.gperf" - {"uint32", &grib_accessor_class_uint32}, + {""}, {""}, #line 13 "accessor_class_list.gperf" {"bit", &grib_accessor_class_bit}, #line 15 "accessor_class_list.gperf" {"bits", &grib_accessor_class_bits}, -#line 49 "accessor_class_list.gperf" - {"data_dummy_field", &grib_accessor_class_data_dummy_field}, +#line 189 "accessor_class_list.gperf" + {"sum", &grib_accessor_class_sum}, #line 14 "accessor_class_list.gperf" {"bitmap", &grib_accessor_class_bitmap}, -#line 125 "accessor_class_list.gperf" - {"julian_day", &grib_accessor_class_julian_day}, -#line 124 "accessor_class_list.gperf" - {"julian_date", &grib_accessor_class_julian_date}, -#line 144 "accessor_class_list.gperf" +#line 203 "accessor_class_list.gperf" + {"uint8", &grib_accessor_class_uint8}, +#line 143 "accessor_class_list.gperf" {"non_alpha", &grib_accessor_class_non_alpha}, - {""}, {""}, -#line 68 "accessor_class_list.gperf" - {"data_run_length_packing", &grib_accessor_class_data_run_length_packing}, + {""}, +#line 29 "accessor_class_list.gperf" + {"bytes", &grib_accessor_class_bytes}, +#line 124 "accessor_class_list.gperf" + {"julian_day", &grib_accessor_class_julian_day}, +#line 123 "accessor_class_list.gperf" + {"julian_date", &grib_accessor_class_julian_date}, #line 109 "accessor_class_list.gperf" {"g2step_range", &grib_accessor_class_g2step_range}, #line 16 "accessor_class_list.gperf" {"bits_per_value", &grib_accessor_class_bits_per_value}, +#line 81 "accessor_class_list.gperf" + {"expanded_descriptors", &grib_accessor_class_expanded_descriptors}, {""}, -#line 29 "accessor_class_list.gperf" - {"bytes", &grib_accessor_class_bytes}, - {""}, {""}, {""}, -#line 168 "accessor_class_list.gperf" +#line 49 "accessor_class_list.gperf" + {"data_dummy_field", &grib_accessor_class_data_dummy_field}, +#line 201 "accessor_class_list.gperf" + {"uint64", &grib_accessor_class_uint64}, +#line 199 "accessor_class_list.gperf" + {"uint32", &grib_accessor_class_uint32}, + {""}, +#line 167 "accessor_class_list.gperf" {"scale", &grib_accessor_class_scale}, - {""}, -#line 186 "accessor_class_list.gperf" +#line 185 "accessor_class_list.gperf" {"statistics", &grib_accessor_class_statistics}, #line 103 "accessor_class_list.gperf" {"g2date", &grib_accessor_class_g2date}, -#line 146 "accessor_class_list.gperf" - {"number_of_points", &grib_accessor_class_number_of_points}, +#line 68 "accessor_class_list.gperf" + {"data_run_length_packing", &grib_accessor_class_data_run_length_packing}, #line 101 "accessor_class_list.gperf" {"g2bitmap", &grib_accessor_class_g2bitmap}, - {""}, #line 61 "accessor_class_list.gperf" {"data_g2secondary_bitmap", &grib_accessor_class_data_g2secondary_bitmap}, #line 59 "accessor_class_list.gperf" {"data_g2bifourier_packing", &grib_accessor_class_data_g2bifourier_packing}, -#line 112 "accessor_class_list.gperf" - {"gds_not_present_bitmap", &grib_accessor_class_gds_not_present_bitmap}, -#line 123 "accessor_class_list.gperf" + {""}, +#line 122 "accessor_class_list.gperf" {"iterator", &grib_accessor_class_iterator}, -#line 187 "accessor_class_list.gperf" +#line 178 "accessor_class_list.gperf" + {"simple_packing_error", &grib_accessor_class_simple_packing_error}, +#line 186 "accessor_class_list.gperf" {"statistics_spectral", &grib_accessor_class_statistics_spectral}, + {""}, #line 47 "accessor_class_list.gperf" {"data_ccsds_packing", &grib_accessor_class_data_ccsds_packing}, -#line 147 "accessor_class_list.gperf" - {"number_of_points_gaussian", &grib_accessor_class_number_of_points_gaussian}, -#line 207 "accessor_class_list.gperf" - {"unsigned", &grib_accessor_class_unsigned}, -#line 139 "accessor_class_list.gperf" - {"md5", &grib_accessor_class_md5}, {""}, {""}, +#line 145 "accessor_class_list.gperf" + {"number_of_points", &grib_accessor_class_number_of_points}, #line 97 "accessor_class_list.gperf" {"g2_aerosol", &grib_accessor_class_g2_aerosol}, -#line 140 "accessor_class_list.gperf" - {"message", &grib_accessor_class_message}, -#line 208 "accessor_class_list.gperf" - {"unsigned_bits", &grib_accessor_class_unsigned_bits}, -#line 175 "accessor_class_list.gperf" + {""}, {""}, {""}, {""}, +#line 174 "accessor_class_list.gperf" {"select_step_template", &grib_accessor_class_select_step_template}, -#line 137 "accessor_class_list.gperf" - {"mars_param", &grib_accessor_class_mars_param}, -#line 205 "accessor_class_list.gperf" - {"unexpanded_descriptors", &grib_accessor_class_unexpanded_descriptors}, -#line 194 "accessor_class_list.gperf" +#line 193 "accessor_class_list.gperf" {"to_integer", &grib_accessor_class_to_integer}, -#line 179 "accessor_class_list.gperf" - {"simple_packing_error", &grib_accessor_class_simple_packing_error}, - {""}, {""}, {""}, -#line 188 "accessor_class_list.gperf" - {"step_human_readable", &grib_accessor_class_step_human_readable}, -#line 141 "accessor_class_list.gperf" - {"message_copy", &grib_accessor_class_message_copy}, -#line 164 "accessor_class_list.gperf" - {"raw", &grib_accessor_class_raw}, - {""}, {""}, -#line 203 "accessor_class_list.gperf" - {"uint64_little_endian", &grib_accessor_class_uint64_little_endian}, - {""}, -#line 201 "accessor_class_list.gperf" - {"uint32_little_endian", &grib_accessor_class_uint32_little_endian}, -#line 115 "accessor_class_list.gperf" +#line 114 "accessor_class_list.gperf" {"global_gaussian", &grib_accessor_class_global_gaussian}, +#line 146 "accessor_class_list.gperf" + {"number_of_points_gaussian", &grib_accessor_class_number_of_points_gaussian}, +#line 206 "accessor_class_list.gperf" + {"unsigned", &grib_accessor_class_unsigned}, {""}, {""}, -#line 77 "accessor_class_list.gperf" - {"divdouble", &grib_accessor_class_divdouble}, - {""}, -#line 176 "accessor_class_list.gperf" +#line 175 "accessor_class_list.gperf" {"sexagesimal2decimal", &grib_accessor_class_sexagesimal2decimal}, -#line 100 "accessor_class_list.gperf" - {"g2_mars_labeling", &grib_accessor_class_g2_mars_labeling}, + {""}, #line 79 "accessor_class_list.gperf" {"element", &grib_accessor_class_element}, -#line 161 "accessor_class_list.gperf" - {"padtomultiple", &grib_accessor_class_padtomultiple}, -#line 128 "accessor_class_list.gperf" +#line 207 "accessor_class_list.gperf" + {"unsigned_bits", &grib_accessor_class_unsigned_bits}, +#line 127 "accessor_class_list.gperf" {"latitudes", &grib_accessor_class_latitudes}, -#line 165 "accessor_class_list.gperf" - {"rdbtime_guess_date", &grib_accessor_class_rdbtime_guess_date}, - {""}, {""}, {""}, -#line 195 "accessor_class_list.gperf" - {"to_string", &grib_accessor_class_to_string}, -#line 133 "accessor_class_list.gperf" + {""}, +#line 204 "accessor_class_list.gperf" + {"unexpanded_descriptors", &grib_accessor_class_unexpanded_descriptors}, + {""}, {""}, +#line 132 "accessor_class_list.gperf" {"long", &grib_accessor_class_long}, -#line 19 "accessor_class_list.gperf" - {"bufr_data_array", &grib_accessor_class_bufr_data_array}, +#line 77 "accessor_class_list.gperf" + {"divdouble", &grib_accessor_class_divdouble}, #line 78 "accessor_class_list.gperf" {"double", &grib_accessor_class_double}, -#line 20 "accessor_class_list.gperf" - {"bufr_data_element", &grib_accessor_class_bufr_data_element}, +#line 187 "accessor_class_list.gperf" + {"step_human_readable", &grib_accessor_class_step_human_readable}, +#line 163 "accessor_class_list.gperf" + {"raw", &grib_accessor_class_raw}, +#line 100 "accessor_class_list.gperf" + {"g2_mars_labeling", &grib_accessor_class_g2_mars_labeling}, + {""}, {""}, {""}, {""}, {""}, {""}, +#line 194 "accessor_class_list.gperf" + {"to_string", &grib_accessor_class_to_string}, + {""}, +#line 202 "accessor_class_list.gperf" + {"uint64_little_endian", &grib_accessor_class_uint64_little_endian}, +#line 200 "accessor_class_list.gperf" + {"uint32_little_endian", &grib_accessor_class_uint32_little_endian}, + {""}, #line 106 "accessor_class_list.gperf" {"g2latlon", &grib_accessor_class_g2latlon}, - {""}, {""}, -#line 26 "accessor_class_list.gperf" - {"bufr_simple_thinning", &grib_accessor_class_bufr_simple_thinning}, - {""}, -#line 138 "accessor_class_list.gperf" - {"mars_step", &grib_accessor_class_mars_step}, - {""}, -#line 116 "accessor_class_list.gperf" - {"group", &grib_accessor_class_group}, - {""}, -#line 28 "accessor_class_list.gperf" - {"bufrdc_expanded_descriptors", &grib_accessor_class_bufrdc_expanded_descriptors}, -#line 162 "accessor_class_list.gperf" - {"position", &grib_accessor_class_position}, - {""}, {""}, {""}, +#line 160 "accessor_class_list.gperf" + {"padtomultiple", &grib_accessor_class_padtomultiple}, #line 17 "accessor_class_list.gperf" {"blob", &grib_accessor_class_blob}, +#line 164 "accessor_class_list.gperf" + {"rdbtime_guess_date", &grib_accessor_class_rdbtime_guess_date}, + {""}, {""}, {""}, +#line 119 "accessor_class_list.gperf" + {"ibmfloat", &grib_accessor_class_ibmfloat}, +#line 126 "accessor_class_list.gperf" + {"label", &grib_accessor_class_label}, +#line 161 "accessor_class_list.gperf" + {"position", &grib_accessor_class_position}, +#line 19 "accessor_class_list.gperf" + {"bufr_data_array", &grib_accessor_class_bufr_data_array}, + {""}, +#line 20 "accessor_class_list.gperf" + {"bufr_data_element", &grib_accessor_class_bufr_data_element}, + {""}, {""}, {""}, +#line 26 "accessor_class_list.gperf" + {"bufr_simple_thinning", &grib_accessor_class_bufr_simple_thinning}, + {""}, {""}, +#line 115 "accessor_class_list.gperf" + {"group", &grib_accessor_class_group}, + {""}, {""}, +#line 28 "accessor_class_list.gperf" + {"bufrdc_expanded_descriptors", &grib_accessor_class_bufrdc_expanded_descriptors}, + {""}, {""}, {""}, {""}, #line 110 "accessor_class_list.gperf" {"gaussian_grid_name", &grib_accessor_class_gaussian_grid_name}, -#line 198 "accessor_class_list.gperf" +#line 197 "accessor_class_list.gperf" {"trim", &grib_accessor_class_trim}, - {""}, {""}, -#line 120 "accessor_class_list.gperf" - {"ibmfloat", &grib_accessor_class_ibmfloat}, - {""}, {""}, -#line 196 "accessor_class_list.gperf" + {""}, {""}, {""}, {""}, {""}, +#line 195 "accessor_class_list.gperf" {"transient", &grib_accessor_class_transient}, + {""}, {""}, +#line 39 "accessor_class_list.gperf" + {"concept", &grib_accessor_class_concept}, + {""}, +#line 166 "accessor_class_list.gperf" + {"round", &grib_accessor_class_round}, + {""}, +#line 196 "accessor_class_list.gperf" + {"transient_darray", &grib_accessor_class_transient_darray}, + {""}, +#line 18 "accessor_class_list.gperf" + {"budgdate", &grib_accessor_class_budgdate}, + {""}, {""}, +#line 144 "accessor_class_list.gperf" + {"number_of_coded_values", &grib_accessor_class_number_of_coded_values}, + {""}, {""}, {""}, +#line 183 "accessor_class_list.gperf" + {"spectral_truncation", &grib_accessor_class_spectral_truncation}, +#line 40 "accessor_class_list.gperf" + {"constant", &grib_accessor_class_constant}, +#line 210 "accessor_class_list.gperf" + {"values", &grib_accessor_class_values}, + {""}, {""}, +#line 150 "accessor_class_list.gperf" + {"octet_number", &grib_accessor_class_octet_number}, +#line 135 "accessor_class_list.gperf" + {"lookup", &grib_accessor_class_lookup}, +#line 184 "accessor_class_list.gperf" + {"sprintf", &grib_accessor_class_sprintf}, + {""}, {""}, {""}, +#line 134 "accessor_class_list.gperf" + {"longitudes", &grib_accessor_class_longitudes}, + {""}, {""}, {""}, +#line 162 "accessor_class_list.gperf" + {"proj_string", &grib_accessor_class_proj_string}, + {""}, +#line 190 "accessor_class_list.gperf" + {"suppressed", &grib_accessor_class_suppressed}, #line 56 "accessor_class_list.gperf" {"data_g1shsimple_packing", &grib_accessor_class_data_g1shsimple_packing}, {""}, {""}, @@ -369,263 +400,249 @@ static const struct accessor_class_hash classes[] = {"data_g1simple_packing", &grib_accessor_class_data_g1simple_packing}, #line 50 "accessor_class_list.gperf" {"data_g1complex_packing", &grib_accessor_class_data_g1complex_packing}, -#line 167 "accessor_class_list.gperf" - {"round", &grib_accessor_class_round}, -#line 197 "accessor_class_list.gperf" - {"transient_darray", &grib_accessor_class_transient_darray}, -#line 18 "accessor_class_list.gperf" - {"budgdate", &grib_accessor_class_budgdate}, -#line 211 "accessor_class_list.gperf" - {"values", &grib_accessor_class_values}, -#line 145 "accessor_class_list.gperf" - {"number_of_coded_values", &grib_accessor_class_number_of_coded_values}, -#line 127 "accessor_class_list.gperf" - {"label", &grib_accessor_class_label}, - {""}, {""}, -#line 39 "accessor_class_list.gperf" - {"concept", &grib_accessor_class_concept}, +#line 192 "accessor_class_list.gperf" + {"to_double", &grib_accessor_class_to_double}, + {""}, {""}, {""}, +#line 27 "accessor_class_list.gperf" + {"bufr_string_values", &grib_accessor_class_bufr_string_values}, {""}, -#line 184 "accessor_class_list.gperf" - {"spectral_truncation", &grib_accessor_class_spectral_truncation}, +#line 130 "accessor_class_list.gperf" + {"library_version", &grib_accessor_class_library_version}, + {""}, +#line 138 "accessor_class_list.gperf" + {"md5", &grib_accessor_class_md5}, +#line 131 "accessor_class_list.gperf" + {"local_definition", &grib_accessor_class_local_definition}, {""}, {""}, +#line 139 "accessor_class_list.gperf" + {"message", &grib_accessor_class_message}, #line 84 "accessor_class_list.gperf" {"g1_message_length", &grib_accessor_class_g1_message_length}, - {""}, -#line 191 "accessor_class_list.gperf" - {"suppressed", &grib_accessor_class_suppressed}, - {""}, {""}, {""}, {""}, -#line 181 "accessor_class_list.gperf" - {"smart_table", &grib_accessor_class_smart_table}, - {""}, -#line 40 "accessor_class_list.gperf" - {"constant", &grib_accessor_class_constant}, - {""}, {""}, -#line 163 "accessor_class_list.gperf" - {"proj_string", &grib_accessor_class_proj_string}, -#line 151 "accessor_class_list.gperf" - {"octet_number", &grib_accessor_class_octet_number}, -#line 182 "accessor_class_list.gperf" - {"smart_table_column", &grib_accessor_class_smart_table_column}, - {""}, +#line 102 "accessor_class_list.gperf" + {"g2bitmap_present", &grib_accessor_class_g2bitmap_present}, #line 136 "accessor_class_list.gperf" - {"lookup", &grib_accessor_class_lookup}, + {"mars_param", &grib_accessor_class_mars_param}, +#line 213 "accessor_class_list.gperf" + {"when", &grib_accessor_class_when}, +#line 120 "accessor_class_list.gperf" + {"ieeefloat", &grib_accessor_class_ieeefloat}, +#line 151 "accessor_class_list.gperf" + {"offset_file", &grib_accessor_class_offset_file}, + {""}, {""}, {""}, {""}, +#line 140 "accessor_class_list.gperf" + {"message_copy", &grib_accessor_class_message_copy}, + {""}, {""}, +#line 208 "accessor_class_list.gperf" + {"validity_date", &grib_accessor_class_validity_date}, +#line 209 "accessor_class_list.gperf" + {"validity_time", &grib_accessor_class_validity_time}, +#line 21 "accessor_class_list.gperf" + {"bufr_elements_table", &grib_accessor_class_bufr_elements_table}, +#line 212 "accessor_class_list.gperf" + {"vector", &grib_accessor_class_vector}, {""}, #line 95 "accessor_class_list.gperf" {"g1step_range", &grib_accessor_class_g1step_range}, -#line 74 "accessor_class_list.gperf" - {"decimal_precision", &grib_accessor_class_decimal_precision}, {""}, -#line 135 "accessor_class_list.gperf" - {"longitudes", &grib_accessor_class_longitudes}, +#line 34 "accessor_class_list.gperf" + {"closest_date", &grib_accessor_class_closest_date}, +#line 71 "accessor_class_list.gperf" + {"data_sh_unpacked", &grib_accessor_class_data_sh_unpacked}, +#line 36 "accessor_class_list.gperf" + {"codetable", &grib_accessor_class_codetable}, + {""}, {""}, +#line 159 "accessor_class_list.gperf" + {"padtoeven", &grib_accessor_class_padtoeven}, +#line 72 "accessor_class_list.gperf" + {"data_shsimple_packing", &grib_accessor_class_data_shsimple_packing}, {""}, -#line 27 "accessor_class_list.gperf" - {"bufr_string_values", &grib_accessor_class_bufr_string_values}, -#line 199 "accessor_class_list.gperf" - {"uint16", &grib_accessor_class_uint16}, - {""}, {""}, {""}, #line 87 "accessor_class_list.gperf" {"g1date", &grib_accessor_class_g1date}, {""}, #line 86 "accessor_class_list.gperf" {"g1bitmap", &grib_accessor_class_g1bitmap}, - {""}, #line 55 "accessor_class_list.gperf" {"data_g1secondary_bitmap", &grib_accessor_class_data_g1secondary_bitmap}, -#line 193 "accessor_class_list.gperf" - {"to_double", &grib_accessor_class_to_double}, -#line 102 "accessor_class_list.gperf" - {"g2bitmap_present", &grib_accessor_class_g2bitmap_present}, {""}, -#line 214 "accessor_class_list.gperf" - {"when", &grib_accessor_class_when}, -#line 209 "accessor_class_list.gperf" - {"validity_date", &grib_accessor_class_validity_date}, -#line 210 "accessor_class_list.gperf" - {"validity_time", &grib_accessor_class_validity_time}, +#line 133 "accessor_class_list.gperf" + {"long_vector", &grib_accessor_class_long_vector}, + {""}, {""}, +#line 198 "accessor_class_list.gperf" + {"uint16", &grib_accessor_class_uint16}, {""}, -#line 185 "accessor_class_list.gperf" - {"sprintf", &grib_accessor_class_sprintf}, -#line 213 "accessor_class_list.gperf" - {"vector", &grib_accessor_class_vector}, -#line 85 "accessor_class_list.gperf" - {"g1_section4_length", &grib_accessor_class_g1_section4_length}, -#line 142 "accessor_class_list.gperf" - {"multdouble", &grib_accessor_class_multdouble}, +#line 128 "accessor_class_list.gperf" + {"latlon_increment", &grib_accessor_class_latlon_increment}, + {""}, +#line 30 "accessor_class_list.gperf" + {"cf_var_name", &grib_accessor_class_cf_var_name}, +#line 137 "accessor_class_list.gperf" + {"mars_step", &grib_accessor_class_mars_step}, +#line 211 "accessor_class_list.gperf" + {"variable", &grib_accessor_class_variable}, #line 53 "accessor_class_list.gperf" {"data_g1second_order_general_packing", &grib_accessor_class_data_g1second_order_general_packing}, -#line 131 "accessor_class_list.gperf" - {"library_version", &grib_accessor_class_library_version}, +#line 85 "accessor_class_list.gperf" + {"g1_section4_length", &grib_accessor_class_g1_section4_length}, {""}, #line 54 "accessor_class_list.gperf" {"data_g1second_order_row_by_row_packing", &grib_accessor_class_data_g1second_order_row_by_row_packing}, - {""}, {""}, -#line 160 "accessor_class_list.gperf" - {"padtoeven", &grib_accessor_class_padtoeven}, + {""}, +#line 25 "accessor_class_list.gperf" + {"bufr_group", &grib_accessor_class_bufr_group}, + {""}, #line 51 "accessor_class_list.gperf" {"data_g1second_order_constant_width_packing", &grib_accessor_class_data_g1second_order_constant_width_packing}, {""}, #line 52 "accessor_class_list.gperf" {"data_g1second_order_general_extended_packing", &grib_accessor_class_data_g1second_order_general_extended_packing}, -#line 71 "accessor_class_list.gperf" - {"data_sh_unpacked", &grib_accessor_class_data_sh_unpacked}, - {""}, {""}, {""}, {""}, -#line 72 "accessor_class_list.gperf" - {"data_shsimple_packing", &grib_accessor_class_data_shsimple_packing}, -#line 21 "accessor_class_list.gperf" - {"bufr_elements_table", &grib_accessor_class_bufr_elements_table}, - {""}, {""}, {""}, {""}, -#line 155 "accessor_class_list.gperf" +#line 154 "accessor_class_list.gperf" {"pack_bufr_values", &grib_accessor_class_pack_bufr_values}, -#line 36 "accessor_class_list.gperf" - {"codetable", &grib_accessor_class_codetable}, -#line 132 "accessor_class_list.gperf" - {"local_definition", &grib_accessor_class_local_definition}, + {""}, {""}, {""}, {""}, +#line 168 "accessor_class_list.gperf" + {"scale_values", &grib_accessor_class_scale_values}, {""}, -#line 25 "accessor_class_list.gperf" - {"bufr_group", &grib_accessor_class_bufr_group}, - {""}, -#line 89 "accessor_class_list.gperf" - {"g1end_of_interval_monthly", &grib_accessor_class_g1end_of_interval_monthly}, -#line 148 "accessor_class_list.gperf" +#line 147 "accessor_class_list.gperf" {"number_of_values", &grib_accessor_class_number_of_values}, + {""}, {""}, {""}, {""}, {""}, #line 24 "accessor_class_list.gperf" {"bufr_extract_subsets", &grib_accessor_class_bufr_extract_subsets}, -#line 121 "accessor_class_list.gperf" - {"ieeefloat", &grib_accessor_class_ieeefloat}, -#line 152 "accessor_class_list.gperf" - {"offset_file", &grib_accessor_class_offset_file}, -#line 34 "accessor_class_list.gperf" - {"closest_date", &grib_accessor_class_closest_date}, -#line 154 "accessor_class_list.gperf" - {"optimal_step_units", &grib_accessor_class_optimal_step_units}, -#line 22 "accessor_class_list.gperf" - {"bufr_extract_area_subsets", &grib_accessor_class_bufr_extract_area_subsets}, -#line 212 "accessor_class_list.gperf" - {"variable", &grib_accessor_class_variable}, -#line 134 "accessor_class_list.gperf" - {"long_vector", &grib_accessor_class_long_vector}, -#line 169 "accessor_class_list.gperf" - {"scale_values", &grib_accessor_class_scale_values}, -#line 23 "accessor_class_list.gperf" - {"bufr_extract_datetime_subsets", &grib_accessor_class_bufr_extract_datetime_subsets}, - {""}, {""}, -#line 129 "accessor_class_list.gperf" - {"latlon_increment", &grib_accessor_class_latlon_increment}, - {""}, {""}, {""}, -#line 149 "accessor_class_list.gperf" - {"number_of_values_data_raw_packing", &grib_accessor_class_number_of_values_data_raw_packing}, - {""}, -#line 80 "accessor_class_list.gperf" - {"evaluate", &grib_accessor_class_evaluate}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, #line 11 "accessor_class_list.gperf" {"abstract_vector", &grib_accessor_class_abstract_vector}, - {""}, {""}, {""}, {""}, -#line 42 "accessor_class_list.gperf" - {"count_missing", &grib_accessor_class_count_missing}, -#line 206 "accessor_class_list.gperf" - {"unpack_bufr_values", &grib_accessor_class_unpack_bufr_values}, -#line 117 "accessor_class_list.gperf" - {"gts_header", &grib_accessor_class_gts_header}, - {""}, -#line 30 "accessor_class_list.gperf" - {"cf_var_name", &grib_accessor_class_cf_var_name}, - {""}, {""}, {""}, #line 37 "accessor_class_list.gperf" {"codetable_title", &grib_accessor_class_codetable_title}, - {""}, {""}, {""}, -#line 90 "accessor_class_list.gperf" - {"g1fcperiod", &grib_accessor_class_g1fcperiod}, - {""}, {""}, {""}, {""}, {""}, -#line 126 "accessor_class_list.gperf" - {"ksec1expver", &grib_accessor_class_ksec1expver}, - {""}, {""}, -#line 107 "accessor_class_list.gperf" - {"g2level", &grib_accessor_class_g2level}, #line 43 "accessor_class_list.gperf" {"count_total", &grib_accessor_class_count_total}, +#line 89 "accessor_class_list.gperf" + {"g1end_of_interval_monthly", &grib_accessor_class_g1end_of_interval_monthly}, +#line 22 "accessor_class_list.gperf" + {"bufr_extract_area_subsets", &grib_accessor_class_bufr_extract_area_subsets}, + {""}, +#line 116 "accessor_class_list.gperf" + {"gts_header", &grib_accessor_class_gts_header}, + {""}, +#line 23 "accessor_class_list.gperf" + {"bufr_extract_datetime_subsets", &grib_accessor_class_bufr_extract_datetime_subsets}, + {""}, +#line 148 "accessor_class_list.gperf" + {"number_of_values_data_raw_packing", &grib_accessor_class_number_of_values_data_raw_packing}, +#line 152 "accessor_class_list.gperf" + {"offset_values", &grib_accessor_class_offset_values}, +#line 80 "accessor_class_list.gperf" + {"evaluate", &grib_accessor_class_evaluate}, {""}, {""}, {""}, +#line 74 "accessor_class_list.gperf" + {"decimal_precision", &grib_accessor_class_decimal_precision}, +#line 180 "accessor_class_list.gperf" + {"smart_table", &grib_accessor_class_smart_table}, +#line 205 "accessor_class_list.gperf" + {"unpack_bufr_values", &grib_accessor_class_unpack_bufr_values}, +#line 118 "accessor_class_list.gperf" + {"headers_only", &grib_accessor_class_headers_only}, +#line 35 "accessor_class_list.gperf" + {"codeflag", &grib_accessor_class_codeflag}, +#line 107 "accessor_class_list.gperf" + {"g2level", &grib_accessor_class_g2level}, +#line 121 "accessor_class_list.gperf" + {"ifs_param", &grib_accessor_class_ifs_param}, + {""}, +#line 181 "accessor_class_list.gperf" + {"smart_table_column", &grib_accessor_class_smart_table_column}, + {""}, {""}, {""}, {""}, +#line 129 "accessor_class_list.gperf" + {"latlonvalues", &grib_accessor_class_latlonvalues}, + {""}, #line 70 "accessor_class_list.gperf" {"data_sh_packed", &grib_accessor_class_data_sh_packed}, #line 38 "accessor_class_list.gperf" {"codetable_units", &grib_accessor_class_codetable_units}, -#line 119 "accessor_class_list.gperf" - {"headers_only", &grib_accessor_class_headers_only}, - {""}, -#line 130 "accessor_class_list.gperf" - {"latlonvalues", &grib_accessor_class_latlonvalues}, - {""}, -#line 153 "accessor_class_list.gperf" - {"offset_values", &grib_accessor_class_offset_values}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, -#line 122 "accessor_class_list.gperf" - {"ifs_param", &grib_accessor_class_ifs_param}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, #line 10 "accessor_class_list.gperf" {"abstract_long_vector", &grib_accessor_class_abstract_long_vector}, -#line 35 "accessor_class_list.gperf" - {"codeflag", &grib_accessor_class_codeflag}, - {""}, {""}, {""}, -#line 118 "accessor_class_list.gperf" - {"hash_array", &grib_accessor_class_hash_array}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, +#line 90 "accessor_class_list.gperf" + {"g1fcperiod", &grib_accessor_class_g1fcperiod}, {""}, -#line 31 "accessor_class_list.gperf" - {"change_alternative_row_scanning", &grib_accessor_class_change_alternative_row_scanning}, - {""}, {""}, {""}, {""}, {""}, {""}, -#line 32 "accessor_class_list.gperf" - {"change_scanning_direction", &grib_accessor_class_change_scanning_direction}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, -#line 150 "accessor_class_list.gperf" - {"octahedral_gaussian", &grib_accessor_class_octahedral_gaussian}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, #line 41 "accessor_class_list.gperf" {"count_file", &grib_accessor_class_count_file}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, +#line 117 "accessor_class_list.gperf" + {"hash_array", &grib_accessor_class_hash_array}, +#line 31 "accessor_class_list.gperf" + {"change_alternative_row_scanning", &grib_accessor_class_change_alternative_row_scanning}, +#line 153 "accessor_class_list.gperf" + {"optimal_step_units", &grib_accessor_class_optimal_step_units}, + {""}, {""}, {""}, +#line 141 "accessor_class_list.gperf" + {"multdouble", &grib_accessor_class_multdouble}, + {""}, +#line 32 "accessor_class_list.gperf" + {"change_scanning_direction", &grib_accessor_class_change_scanning_direction}, + {""}, {""}, {""}, {""}, {""}, {""}, +#line 149 "accessor_class_list.gperf" + {"octahedral_gaussian", &grib_accessor_class_octahedral_gaussian}, + {""}, +#line 125 "accessor_class_list.gperf" + {"ksec1expver", &grib_accessor_class_ksec1expver}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, +#line 42 "accessor_class_list.gperf" + {"count_missing", &grib_accessor_class_count_missing}, + {""}, {""}, {""}, {""}, {""}, {""}, +#line 82 "accessor_class_list.gperf" + {"from_scale_factor_scaled_value", &grib_accessor_class_from_scale_factor_scaled_value}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, +#line 83 "accessor_class_list.gperf" + {"g1_half_byte_codeflag", &grib_accessor_class_g1_half_byte_codeflag}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, #line 92 "accessor_class_list.gperf" {"g1monthlydate", &grib_accessor_class_g1monthlydate}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, {""}, {""}, {""}, {""}, -#line 83 "accessor_class_list.gperf" - {"g1_half_byte_codeflag", &grib_accessor_class_g1_half_byte_codeflag}, {""}, -#line 82 "accessor_class_list.gperf" - {"from_scale_factor_scaled_value", &grib_accessor_class_from_scale_factor_scaled_value}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, -#line 166 "accessor_class_list.gperf" - {"reference_value_error", &grib_accessor_class_reference_value_error}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, #line 33 "accessor_class_list.gperf" {"check_internal_version", &grib_accessor_class_check_internal_version}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, {""}, {""}, {""}, {""}, -#line 98 "accessor_class_list.gperf" - {"g2_chemical", &grib_accessor_class_g2_chemical}, - {""}, {""}, {""}, {""}, {""}, + {""}, {""}, +#line 165 "accessor_class_list.gperf" + {"reference_value_error", &grib_accessor_class_reference_value_error}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, #line 88 "accessor_class_list.gperf" {"g1day_of_the_year_date", &grib_accessor_class_g1day_of_the_year_date}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, {""}, {""}, {""}, {""}, -#line 91 "accessor_class_list.gperf" - {"g1forecastmonth", &grib_accessor_class_g1forecastmonth}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, +#line 96 "accessor_class_list.gperf" + {"g1verificationdate", &grib_accessor_class_g1verificationdate}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, +#line 98 "accessor_class_list.gperf" + {"g2_chemical", &grib_accessor_class_g2_chemical}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, + {""}, {""}, {""}, {""}, {""}, #line 94 "accessor_class_list.gperf" {"g1number_of_coded_values_sh_simple", &grib_accessor_class_g1number_of_coded_values_sh_simple}, #line 93 "accessor_class_list.gperf" {"g1number_of_coded_values_sh_complex", &grib_accessor_class_g1number_of_coded_values_sh_complex}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, - {""}, {""}, -#line 96 "accessor_class_list.gperf" - {"g1verificationdate", &grib_accessor_class_g1verificationdate} +#line 91 "accessor_class_list.gperf" + {"g1forecastmonth", &grib_accessor_class_g1forecastmonth} }; static const struct accessor_class_hash* grib_accessor_classes_hash(const char *str, size_t len) diff --git a/src/grib_accessor_factory.h b/src/grib_accessor_factory.h index 13716e28f..9455ca024 100644 --- a/src/grib_accessor_factory.h +++ b/src/grib_accessor_factory.h @@ -101,7 +101,6 @@ { "g2step_range", &grib_accessor_class_g2step_range, }, { "gaussian_grid_name", &grib_accessor_class_gaussian_grid_name, }, { "gds_is_present", &grib_accessor_class_gds_is_present, }, -{ "gds_not_present_bitmap", &grib_accessor_class_gds_not_present_bitmap, }, { "gen", &grib_accessor_class_gen, }, { "getenv", &grib_accessor_class_getenv, }, { "global_gaussian", &grib_accessor_class_global_gaussian, }, diff --git a/src/grib_accessor_factory_hash_list b/src/grib_accessor_factory_hash_list index ebb16f62f..eae0e2406 100644 --- a/src/grib_accessor_factory_hash_list +++ b/src/grib_accessor_factory_hash_list @@ -102,7 +102,6 @@ g2lon, &grib_accessor_class_g2lon g2step_range, &grib_accessor_class_g2step_range gaussian_grid_name, &grib_accessor_class_gaussian_grid_name gds_is_present, &grib_accessor_class_gds_is_present -gds_not_present_bitmap, &grib_accessor_class_gds_not_present_bitmap gen, &grib_accessor_class_gen getenv, &grib_accessor_class_getenv global_gaussian, &grib_accessor_class_global_gaussian diff --git a/tests/grib1_gds_not_present.sh b/tests/grib1_gds_not_present.sh index 36fffae56..9ce644cbf 100755 --- a/tests/grib1_gds_not_present.sh +++ b/tests/grib1_gds_not_present.sh @@ -17,7 +17,16 @@ tempGrib=temp.$label.grib input=$data_dir/reduced_latlon_surface.grib1 ${tools_dir}/grib_set -s gridDescriptionSectionPresent=0 $input $tempGrib +result=`${tools_dir}/grib_get -fp Ni,Nj $tempGrib` +[ "$result" = "not_found not_found" ] + ${tools_dir}/grib_dump $tempGrib > $REDIRECT 2>&1 +# ${tools_dir}/grib_get -n statistics $tempGrib + +max=`${tools_dir}/grib_get -F%.3f -p max $input` +min=`${tools_dir}/grib_get -F%.3f -p min $input` +[ "$max" = "12.597" ] +[ "$min" = "0.019" ] # Clean up rm -f $tempGrib