check_unit#
- static geetools.ee_date.DateAccessor.check_unit(unit)#
Check if the provided value is a valid time unit.
- Parameters:
unit (str) – The unit to check.
- Raises:
ValueError – If the unit is not valid.
- Return type:
None
Check if the provided value is a valid time unit.
unit (str) – The unit to check.
ValueError – If the unit is not valid.
None