Skip to content

Add decliniation line support in production grid#2075

Open
tobiaskleiner wants to merge 22 commits intomainfrom
production-grid-radec
Open

Add decliniation line support in production grid#2075
tobiaskleiner wants to merge 22 commits intomainfrom
production-grid-radec

Conversation

@tobiaskleiner
Copy link
Collaborator

@tobiaskleiner tobiaskleiner commented Mar 12, 2026

Adds RA/Dec declination-line support to production grid generation and introduces a new plotting utility to visualize production-grid points in both local Alt/Az and equatorial RA/Dec projections.

@tobiaskleiner tobiaskleiner marked this pull request as draft March 12, 2026 12:05
@tobiaskleiner tobiaskleiner requested a review from Copilot March 24, 2026 09:18
@tobiaskleiner tobiaskleiner marked this pull request as ready for review March 24, 2026 09:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds RA/Dec declination-line support to production grid generation and introduces a new plotting utility to visualize production-grid points in both local Alt/Az and equatorial RA/Dec projections.

Changes:

  • Extend GridGeneration to support coordinate_system="ra_dec" with (a) native declination-line/hour-angle sampling and (b) explicit RA/Dec axes mode.
  • Add ProductionGridPlotter plus new CLI entrypoint simtools-plot-production-grid, including docs and integration configs.
  • Add/extend unit tests and test resources for RA/Dec grid generation and production-grid plotting.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/simtools/production_configuration/generate_production_grid.py Adds RA/Dec grid generation modes and lookup-table interpolation path for RA/Dec workflows.
src/simtools/production_configuration/plot_production_grid.py New plotting module for production-grid sky projections with optional RA/Dec guide tracks.
src/simtools/applications/plot_production_grid.py New CLI application wiring site metadata + plotter invocation.
src/simtools/applications/production_generate_grid.py Updates CLI docs/help to describe new RA/Dec behavior.
tests/unit_tests/production_configuration/test_generate_production_grid.py Adds RA/Dec-mode unit tests and refactors GridGeneration setup in tests.
tests/unit_tests/production_configuration/test_plot_production_grid.py New unit tests covering normalization, inferred tracks, and output generation.
tests/resources/production_grid_generation_axes_definition_radec.yml New RA/Dec axes definition fixture for tests/integration.
tests/integration_tests/config/production_generate_grid_radec.yml New integration workflow for RA/Dec grid generation.
tests/integration_tests/config/plot_production_grid.yml New integration workflow for plotting production grids.
docs/source/user-guide/applications/simtools-plot-production-grid.rst New user-guide stub for the plotting CLI.
docs/source/user-guide/applications.md Adds the new plotting CLI to the applications list.
docs/source/api-reference/production_configuration.md Adds API docs entry for production_configuration.plot_production_grid.
pyproject.toml Registers simtools-plot-production-grid console script.

@ctao-sonarqube
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants