earthdaily.earthdatastore.apply_single_condition

earthdaily.earthdatastore.apply_single_condition(item_value, condition_op, condition_value)[source]

Apply a single comparison condition to an item’s property value.

Parameters:
  • item_value (any) – The value of the property in the item.

  • condition_op (str) – The comparison operator (e.g., ‘lt’, ‘gt’, ‘eq’).

  • condition_value ([any, list[any]]) – The value or list of values to compare against.

Returns:

True if the condition is met, False otherwise.

Return type:

bool