Daily light integral
get_daily_light_integralClear-sky Daily Light Integral in mol/m²/day for each day in a range: photosynthetically active radiation integrated from sunrise to sunset. Use it to plan crop growth or supplemental greenhouse lighting; it assumes cloudless skies, so treat it as the ceiling for the site. Pass from and to together for a range of UTC days, or neither for today. Requires an API key on a paid Solar plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last UTC day, YYYY-MM-DD. Requires from. | |
| lat | Yes | Latitude in decimal degrees. | |
| lon | Yes | Longitude in decimal degrees. | |
| from | No | First UTC day, YYYY-MM-DD. Requires to. | |
| elevation | No | Metres above sea level. Supply it when known: at altitude the sun rises measurably earlier than the sea-level answer. Omit only if the elevation is genuinely unknown. |