Skip to content

Commit ebc037e

Browse files
committed
Remove unused _match_query_value method
1 parent ea943b6 commit ebc037e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

satpy/dataset/dataid.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -379,16 +379,6 @@ def filter_dataids(self, dataid_container):
379379
keys = list(filter(self.__eq__, dataid_container))
380380
return keys
381381

382-
def _match_query_value(self, key, id_val):
383-
val = self._dict[key]
384-
if val == "*":
385-
return True
386-
if isinstance(id_val, tuple) and isinstance(val, (tuple, list)):
387-
return tuple(val) == id_val
388-
if not isinstance(val, list):
389-
val = [val]
390-
return id_val in val
391-
392382
def sort_dataids_with_preference(self, all_ids, preference):
393383
"""Sort `all_ids` given a sorting `preference` (DataQuery or None)."""
394384
try:

0 commit comments

Comments
 (0)