ibfoamrig.core.find_time#
- ibfoamrig.core.find_time(case_path, time)[source]#
Finds the time directory for a given time.
A string is matched against the dictionary names exactly. A number is matched by value with a relative tolerance.
- Parameters:
- Returns:
The matching time directory.
- Raises:
CaseNotFoundError – If
case_pathis not a directory.TimeNotFoundError – If no time directory matches
time.
- Return type: