Class FilePaths
Defined in File FilePaths.h
Class Documentation
-
class FilePaths
Class that returns the file system paths used for output data products.
Public Functions
-
FilePaths(const std::string &base_path)
Construct a new File Paths object.
- Parameters
base_path – base path to which the file paths are relative
-
FilePaths(std::filesystem::path base_path)
Construct a new File Paths object.
- Parameters
base_path – base path to which the file paths are relative
-
std::filesystem::path get_scan_product_path(const std::string &eb_id, const std::string &telescope, const std::string &scan_id)
Get the path for scan data products, relative to the base_path.
- Parameters
eb_id – execution block id
telescope – name of the telescope [SKALow or SKAMid]
scan_id – scan id
- Returns
std::filesystem::path the data product path, relative to the base_path
Public Static Functions
-
static std::string get_subsystem_from_telescope(const std::string &telescope)
Get the subsystem id from telescope.
- Parameters
telescope – the telescope name [SKALow or SKAMid]
- Returns
std::string the subsystem id matching the telescope name
-
FilePaths(const std::string &base_path)