env op• Data kinds: any × scalar × scalar → table
• Call: import fullseye as fs; fs.ledger.sun_at(when, lat: 'float', lon: 'float', *, refraction: 'bool' = True) -> 'Dict[str, float]' (to call the implementation directly, import driveenv; driveenv.sun_at(when, lat: 'float', lon: 'float', *, refraction: 'bool' = True) -> 'Dict[str, float]'; from the registry, opsdrive.get("sun_at"))
Solar altitude and azimuth for a date/time (a timezone-aware datetime or a Julian day). The formulas are taken as is from geocam.sun_position (NOAA solar position equations = low-precision version of Meeus "Astronomical Algorithms" Chapter 25, NOAA refraction), adding the date/time handling and the Earth–Sun distance.
> The detailed description below is the original text — the summary and the headings are translated.
dict : elevation(度、refraction なら大気差つきの見かけ)、elevation_geometric、azimuth(北から時計回り 度)、
declination、eq_time(均時差 分)、hour_angle(度)、jd、distance_au、semidiameter(度)。
NOAA が述べる精度は、日の出入りの時刻で緯度 ±72° 以内 1 分以内(1800〜2100 年)。
Raises ValueError: 素朴な datetime・範囲外の緯度経度。
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• poc_driving_weather — py -3.11 examples/poc_driving_weather.py
table as input)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
env)julian_day · sun_events · sun_vector · sun_illuminance · koschmieder · mor_from_beta · beta_from_mor · road_row_distance
*Provenance: driveenv.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.