Observer horizon has no effect on sunrise and sunset

Open Beginner friendly
#143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
julia
Domain
backend

Research direction

Start in src/Utilities/spa.jl and locate _transit_sunrise_sunset_impl, where the fixed -0.8333° altitude is used. Update the calculation to account for the observer horizon and verify that sunrise and sunset results change appropriately for non-default horizons while existing behavior remains correct.

Written by the indexing model from the issue text.

Description

_transit_sunrise_sunset_impl still uses a fixed altitude of -0.8333° in src/Utilities/spa.jl,

Dominant language
Julia
Stars
21
Forks
4
Avg merge
1d 23h
Merged PRs (30d)
3

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaAstro/SolarPosition.jl

All issues in JuliaAstro/SolarPosition.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.