DeliveryTripEnds.read_parameters#

classmethod DeliveryTripEnds.read_parameters(path)[source]#

Extract expected parameters from the given spreadsheet.

Parameters:

path (Path) – Path to the Excel Workbook containing a sheet with the delivery segment parameters.

Returns:

Delivery parameters with their corresponding values.

Return type:

DeliveryParameters

Raises:

errors.MissingDataError – If any parameters are missing from the spreadsheet.

See also

PARAMETERS_SHEET

Expected name of the sheet in the workbook.

PARAMETERS_HEADER

Expected column names and types in the sheet.