mirror of https://github.com/ecmwf/eccodes.git
Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop
This commit is contained in:
commit
a653c27f3f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue