Skip to content

Add schema for corsika limits table.#2203

Open
GernotMaier wants to merge 8 commits into
mainfrom
corsika-limits-metadata
Open

Add schema for corsika limits table.#2203
GernotMaier wants to merge 8 commits into
mainfrom
corsika-limits-metadata

Conversation

@GernotMaier
Copy link
Copy Markdown
Contributor

Add a schema for the CORSIKA limits output table. Remove obsolete event_files column from the tables.

@GernotMaier GernotMaier self-assigned this May 26, 2026
Copy link
Copy Markdown
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 a dedicated schema file for the production_derive_corsika_limits output table and aligns generated outputs/documentation by removing the obsolete event_data_file column from the produced limits table.

Changes:

  • Added corsika_limits_table.schema.yml describing the CORSIKA limits ECSV output table columns and units.
  • Removed event_data_file from the derived limits result columns and updated unit tests accordingly.
  • Updated the application’s documented output-column list and added a changelog fragment.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/unit_tests/production_configuration/test_derive_corsika_limits.py Updates expectations to confirm event_data_file is no longer written to the results table.
src/simtools/schemas/corsika_limits_table.schema.yml New schema describing the production_derive_corsika_limits output table structure.
src/simtools/production_configuration/derive_corsika_limits.py Drops event_data_file from the output table column list.
src/simtools/applications/production_derive_corsika_limits.py Removes event_data_file from the documented output table columns.
docs/changes/2203.feature.md Changelog fragment for the new schema addition.

@GernotMaier GernotMaier marked this pull request as ready for review May 26, 2026 13:00
@GernotMaier GernotMaier requested a review from tobiaskleiner May 26, 2026 13:16
@ctao-sonarqube
Copy link
Copy Markdown

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