utdf2gmns.func_lib.cvt_utdf_to_signal_intersection
- utdf2gmns.func_lib.cvt_utdf_to_signal_intersection(utdf_filename: str, *, output_dir: str = '', verbose: bool = False) bool[source]
Utilize sigma-X engine to process each signal intersection from Synchro UTDF file And save each signal intersection into a separate GMNS file.
- Parameters:
utdf_filename (str) – the path of Synchro UTDF file
output_dir (str) – the path of output directory. Defaults to “”. If not specified, the output directory will be the same as the input directory.
Example
>>> import utdf2gmns as ug >>> utdf_filename = "your utdf file, in csv format" >>> ug.cvt_utdf_to_signal_intersection(utdf_filename, output_dir="")
- Location:
utdf2gmns/func_lib/gmns/sigma_X_process_each_signal_intersection.cvt_utdf_to_signal_intersection
- Raises:
TypeError – If the input file is not a string or Path
FileNotFoundError – If the input file does not exist
- Returns:
True if success, False otherwise
- Return type:
bool