Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop

This commit is contained in:
Shahram Najm 2016-10-26 14:34:40 +01:00
commit a653c27f3f
1 changed files with 13 additions and 0 deletions

View File

@ -270,6 +270,19 @@ static void search_from_accessors_list(grib_accessors_list* al,grib_accessors_li
}
al=al->next;
}
if (al==end && al->accessor) {
if (strcmp(al->accessor->name,accessor_name)==0) {
if (attribute_name[0]) {
accessor_result=grib_accessor_get_attribute(al->accessor,attribute_name);
} else {
accessor_result=al->accessor;
}
if (accessor_result) {
grib_accessors_list_push(result,accessor_result);
}
}
}
}
static void search_accessors_list_by_condition(grib_accessors_list* al,const char* name,codes_condition* condition,grib_accessors_list* result)