astropy.coordinates
Raised when an hour value is not in the range [0,24).
int
float
Examples
if not 0 <= hr < 24: raise IllegalHourError(hour)