imas_paraview.cli.parse_time¶
- imas_paraview.cli.parse_time(ids_times, time)¶
Parses the time parameter and returns a list of IDS time indices to convert. Either a single float ("5.0"), a list of integers ("2.0,3,4.4") or a range of floats ("2.3:4.3") may be provided. If the specified time step is not found in the IDS, the closest earlier time step will be converted instead.
- Parameters:
- time¶
String containing either a single time step, a list of time steps or a range of time steps.
- Returns:
A list containing the time indices to convert.
Last update:
2026-03-11