pub fn read_time_slice_info(model_dir: &Path) -> Result<TimeSliceInfo>
Read time slices from a CSV file.
model_dir
This function returns a TimeSliceInfo struct or, if the file doesn’t exist, a single time slice covering the whole year (see TimeSliceInfo::default()).
TimeSliceInfo
TimeSliceInfo::default()