gsolve.tide.earth_tide._decimal_hour_of_day#
- gsolve.tide.earth_tide._decimal_hour_of_day(date_time)[source]#
Compute time of day in decimal hours.
- Parameters:
- date_timestr, datetime, array-like
The date-times to be processed. Can be any format parsable by pandas.to_datetime() method.
- Returns:
- hourndarray or scalar
The decimal hour. This is a scalar if
date_timeis a single value.