diff --git a/src/eccodes_prototypes.h b/src/eccodes_prototypes.h index 1e8a2539e..6f0294c4c 100644 --- a/src/eccodes_prototypes.h +++ b/src/eccodes_prototypes.h @@ -183,29 +183,6 @@ grib_viarray* grib_viarray_push(grib_viarray* v, grib_iarray* val); void grib_viarray_delete(grib_viarray* v); void grib_viarray_delete_content(grib_viarray* v); -/* grib_accessor_class_ascii.cc*/ - -/* grib_accessor_class_bit.cc*/ - -/* grib_accessor_class_bitmap.cc*/ - -/* grib_accessor_class_bits.cc*/ - -/* grib_accessor_class_bits_per_value.cc*/ - -/* grib_accessor_class_bufr_data_array.cc*/ - -/* grib_accessor_class_bufr_data_element.cc */ -//void accessor_bufr_data_element_set_index(grib_accessor* a, long index); -//void accessor_bufr_data_element_set_type(grib_accessor* a, int type); -//void accessor_bufr_data_element_set_numberOfSubsets(grib_accessor* a, long numberOfSubsets); -//void accessor_bufr_data_element_set_subsetNumber(grib_accessor* a, long subsetNumber); -//void accessor_bufr_data_element_set_compressedData(grib_accessor* a, int compressedData); -//void accessor_bufr_data_element_set_descriptors(grib_accessor* a, bufr_descriptors_array* descriptors); -//void accessor_bufr_data_element_set_numericValues(grib_accessor* a, grib_vdarray* numericValues); -//void accessor_bufr_data_element_set_stringValues(grib_accessor* a, grib_vsarray* stringValues); -//void accessor_bufr_data_element_set_elementsDescriptorsIndex(grib_accessor* a, grib_viarray* elementsDescriptorsIndex); - /* grib_accessor_class_bufr_elements_table.cc */ int bufr_descriptor_is_marker(bufr_descriptor* d); bufr_descriptor* accessor_bufr_elements_table_get_descriptor(grib_accessor* a, int code, int* err); @@ -241,9 +218,6 @@ grib_nearest* grib_nearest_new(const grib_handle* h, int* error); /* grib_accessor_class_g1_message_length.cc */ int grib_get_g1_message_size(grib_handle* h, grib_accessor* tl, grib_accessor* s4, long* total_length, long* sec4_len); -/* grib_accessor_class_variable.cc */ -//void accessor_variable_set_type(grib_accessor* a, int type); - /* grib_accessor_class_expanded_descriptors.cc */ int grib_accessor_class_expanded_descriptors_set_do_expand(grib_accessor* a, long do_expand); bufr_descriptors_array* grib_accessor_class_expanded_descriptors_get_expanded(grib_accessor* a, int* err); @@ -373,30 +347,6 @@ void grib_recompute_sections_lengths(grib_section* s); int grib_buffer_replace(grib_accessor* a, const unsigned char* data, size_t newsize, int update_lengths, int update_paddings); void grib_update_sections_lengths(grib_handle* h); -/* grib_dumper.cc */ -// void grib_init_dumper(grib_dumper* d); -// void grib_dumper_delete(grib_dumper* d); -// void grib_dump_long(grib_dumper* d, grib_accessor* a, const char* comment); -// void grib_dump_double(grib_dumper* d, grib_accessor* a, const char* comment); -// void grib_dump_string(grib_dumper* d, grib_accessor* a, const char* comment); -// void grib_dump_string_array(grib_dumper* d, grib_accessor* a, const char* comment); -// void grib_dump_label(grib_dumper* d, grib_accessor* a, const char* comment); -// void grib_dump_bytes(grib_dumper* d, grib_accessor* a, const char* comment); -// void grib_dump_bits(grib_dumper* d, grib_accessor* a, const char* comment); -// void grib_dump_section(grib_dumper* d, grib_accessor* a, grib_block_of_accessors* block); -// void grib_dump_values(grib_dumper* d, grib_accessor* a); -// void grib_dump_header(grib_dumper* d, const grib_handle* h); -// void grib_dump_footer(grib_dumper* d, const grib_handle* h); - -/* grib_dumper_class.cc */ -// grib_dumper* grib_dumper_factory(const char* op, const grib_handle* h, FILE* out, unsigned long option_flags, void* arg); -// void grib_dump_accessors_block(grib_dumper* dumper, grib_block_of_accessors* block); -// void grib_dump_accessors_list(grib_dumper* dumper, grib_accessors_list* al); -// int grib_print(grib_handle* h, const char* name, grib_dumper* d); -// void grib_dump_content(const grib_handle* h, FILE* f, const char* mode, unsigned long flags, void* data); -// void grib_dump_keys(grib_handle* h, FILE* f, const char* mode, unsigned long flags, void* data, const char** keys, size_t num_keys); -// grib_dumper* grib_dump_content_with_dumper(grib_handle* h, grib_dumper* dumper, FILE* f, const char* mode, unsigned long flags, void* data); -// void codes_dump_bufr_flat(grib_accessors_list* al, grib_handle* h, FILE* f, const char* mode, unsigned long flags, void* data); /* grib_context.cc */ size_t grib_context_read(const grib_context* c, void* ptr, size_t size, void* stream); @@ -789,22 +739,8 @@ grib_expression* new_string_expression(grib_context* c, const char* value); /* grib_expression_class_sub_string.cc */ grib_expression* new_sub_string_expression(grib_context* c, const char* value, size_t start, size_t length); -/* grib_nearest.cc */ -//int grib_nearest_find(grib_nearest* nearest, const grib_handle* h, double inlat, double inlon, unsigned long flags, double* outlats, double* outlons, double* values, double* distances, int* indexes, size_t* len); -//int grib_nearest_init(grib_nearest* i, grib_handle* h, grib_arguments* args); -//int grib_nearest_delete(grib_nearest* i); -//int grib_nearest_get_radius(grib_handle* h, double* radiusInKm); -//void grib_binary_search(const double xx[], const size_t n, double x, size_t* ju, size_t* jl); -//int grib_nearest_find_multiple(const grib_handle* h, int is_lsm, const double* inlats, const double* inlons, long npoints, double* outlats, double* outlons, double* values, double* distances, int* indexes); - /* grib_iterator.cc */ int grib_get_data(const grib_handle* h, double* lats, double* lons, double* values); -//int grib_iterator_next(grib_iterator* i, double* lat, double* lon, double* value); -//int grib_iterator_has_next(grib_iterator* i); -//int grib_iterator_previous(grib_iterator* i, double* lat, double* lon, double* value); -//int grib_iterator_reset(grib_iterator* i); -//int grib_iterator_init(grib_iterator* i, grib_handle* h, grib_arguments* args); -//int grib_iterator_delete(grib_iterator* i); /* grib_iterator_class.cc */ eccodes::geo_iterator::Iterator* grib_iterator_factory(grib_handle* h, grib_arguments* args, unsigned long flags, int* error); @@ -812,25 +748,6 @@ eccodes::geo_iterator::Iterator* grib_iterator_factory(grib_handle* h, grib_argu /* grib_iterator_class_gen.cc */ int transform_iterator_data(grib_context* c, double* data, long iScansNegatively, long jScansPositively, long jPointsAreConsecutive, long alternativeRowScanning, size_t numPoints, long nx, long ny); -/* grib_expression.cc */ -//int grib_expression_native_type(grib_handle* h, grib_expression* g); -//int grib_expression_evaluate_long(grib_handle* h, grib_expression* g, long* result); -//int grib_expression_evaluate_double(grib_handle* h, grib_expression* g, double* result); -//const char* grib_expression_evaluate_string(grib_handle* h, grib_expression* g, char* buf, size_t* size, int* err); -//const char* grib_expression_get_name(grib_expression* g); -//void grib_expression_print(grib_context* ctx, grib_expression* g, grib_handle* f, FILE*); -//void grib_expression_free(grib_context* ctx, grib_expression* g); -//void grib_expression_add_dependency(grib_expression* e, grib_accessor* observer); -//grib_arguments* grib_arguments_new(grib_context* c, grib_expression* g, grib_arguments* n); -//void grib_arguments_free(grib_context* c, grib_arguments* g); -//void grib_arguments_print(grib_context* c, grib_arguments* g, grib_handle* f); -//const char* grib_arguments_get_name(grib_handle* h, grib_arguments* args, int n); -//const char* grib_arguments_get_string(grib_handle* h, grib_arguments* args, int n); -//long grib_arguments_get_long(grib_handle* h, grib_arguments* args, int n); -//double grib_arguments_get_double(grib_handle* h, grib_arguments* args, int n); -//grib_expression* grib_arguments_get_expression(grib_handle* h, grib_arguments* args, int n); -//int grib_arguments_get_count(grib_arguments* args); - /* codes_util.cc */ double normalise_longitude_in_degrees(double lon); char get_dir_separator_char(void);