day_light_hours

Luo_Suppe2026-08-15

gma.climet.astronomy.day_light_hours

[function] day_light_hours(day, lat):

Calculate daylight hours (h) based on the method recommended by FAO-56.

Parameters:

day: int||array.

Day of year. 1-365 (normal year) or 366 (leap year).

lat: float||array.

Latitude (��).

Returns:

Type: array.

Last Updated 8/19/2026, 6:10:59 AM