searchVar (pyleoclim.utils.lipdutils.searchVar)
- pyleoclim.utils.lipdutils.searchVar(timeseries_list, key, exact=True, override=True)[source]
This function searched for keywords (exact match) for a variable
- Parameters
timeseries_list (list) – A list of available series
key (list) – A list of keys to search
exact (bool) – if True, looks for an exact match.
override (bool) – if True, override the exact match if no match is found
- Returns
match – A list of keys for the timeseries that match the selection criteria.
- Return type
list