measurement_path
- specatalog.data_management.measurement_management.measurement_path(base_dir, ms_id)[source]
Create the absolute path to a measurement folder with the ID ms_id.
- Parameters:
base_dir (str) – Path to the root-folder of the archive.
ms_id (int) – Number of the measurement.
- Raises:
FileNotFoundError – An error is raised if the measurement folder does not exist.
- Returns:
path – Absolute path to the measurement.
- Return type:
Path