Identify metabolic days in a time series based on sunrise and sunset times for a location and date. The metabolic day is considered the 24 hour period between sunsets for two adjacent calendar days. Sunrise and sunset times are estimated using sun_times.
Details
This function is only used within ecometab and should not be called explicitly.