This commit is contained in:
Shahram Najm 2023-06-26 19:27:37 +01:00
parent c23156bdbe
commit 8b1e519ac3
4 changed files with 8 additions and 9 deletions

View File

@ -443,8 +443,8 @@ static int unpack_float(grib_accessor* a, float* val, size_t* len)
static int get_native_type(grib_accessor* a)
{
/* grib_accessor_data_apply_bitmap* self = (grib_accessor_data_apply_bitmap*)a;
return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));*/
//grib_accessor_data_apply_bitmap* self = (grib_accessor_data_apply_bitmap*)a;
//return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));
return GRIB_TYPE_DOUBLE;
}

View File

@ -504,8 +504,8 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
static int get_native_type(grib_accessor* a)
{
/* grib_accessor_data_apply_boustrophedonic_bitmap* self = (grib_accessor_data_apply_boustrophedonic_bitmap*)a;
return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));*/
//grib_accessor_data_apply_boustrophedonic_bitmap* self = (grib_accessor_data_apply_boustrophedonic_bitmap*)a;
//return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));
return GRIB_TYPE_DOUBLE;
}

View File

@ -289,8 +289,8 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
static int get_native_type(grib_accessor* a)
{
/* grib_accessor_data_apply_gdsnotpresent* self = (grib_accessor_data_apply_gdsnotpresent*)a;
return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));*/
// grib_accessor_data_apply_gdsnotpresent* self = (grib_accessor_data_apply_gdsnotpresent*)a;
// return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));
return GRIB_TYPE_DOUBLE;
}

View File

@ -215,8 +215,7 @@ static int unpack_double(grib_accessor* a, double* val, size_t* len)
static int get_native_type(grib_accessor* a)
{
/* grib_accessor_data_secondary_bitmap* self = (grib_accessor_data_secondary_bitmap*)a;
return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));*/
// grib_accessor_data_secondary_bitmap* self = (grib_accessor_data_secondary_bitmap*)a;
//return grib_accessor_get_native_type(grib_find_accessor(grib_handle_of_accessor(a),self->coded_values));
return GRIB_TYPE_DOUBLE;
}