gordias.util.time_period.validate_time_bounds#

gordias.util.time_period.validate_time_bounds(cube: Cube, time_range: TimeRange) None#

Validate that the cube’s time range is inside the bounds of the time period.

Parameters:
Raises:

ValueError – If the bounds of the time range are outside of the cube’s time range.