docs: update test_last_full_moon.py README entry for full pipeline
Clarifies the script runs the complete production path including east verification, and is equivalent to moon-phase-monthly.sh --phase full --no-upload with a fixed output path. https://claude.ai/code/session_01JieSeNQZ3X6fhsb11YyJrK
This commit is contained in:
@@ -301,15 +301,12 @@ python3 test_last_full_moon.py
|
||||
# Output: test_last_full_moon_out.jpg
|
||||
```
|
||||
|
||||
`test_last_full_moon.py` runs the same pipeline as `moon-phase-monthly.sh --phase full` but
|
||||
skips the east-frame witness step, so it works any time without captured frames. It:
|
||||
|
||||
1. Finds the most recent full moon (within 35 days)
|
||||
2. Prints illumination, phase angle, alt/az, and parallactic angle
|
||||
3. Lists sunrise/sunset for that day via `sun_events_in_range()` — regression check for the bare-topos fix
|
||||
4. Fetches the NASA SVS Dial-a-Moon render for that hour (cached under `moon-ref/dialamoon/`)
|
||||
5. Renders a 1920×1080 composite with the phase label, % lit, local time, and NASA attribution
|
||||
6. Writes `test_last_full_moon_out.jpg` to the sky-cam directory
|
||||
`test_last_full_moon.py` is equivalent to `moon-phase-monthly.sh --phase full --no-upload` for
|
||||
the most recent full moon, with the output redirected to `test_last_full_moon_out.jpg`. It runs
|
||||
the complete production pipeline: dark-window filtering, east-frame moon detection, NASA
|
||||
Dial-a-Moon fetch, and `render_phase_closeup` with the full caption. It also calls
|
||||
`sun_events_in_range()` explicitly before the main pipeline as a regression check for the
|
||||
bare-topos fix.
|
||||
|
||||
Useful after updating skyfield, changing `LATITUDE`/`LONGITUDE`, or touching the compositing code.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user