-
Notifications
You must be signed in to change notification settings - Fork 3
Add illuminator_telescope_visibility model parameter schema #2220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
orelgueta
wants to merge
2
commits into
main
Choose a base branch
from
illuminator_table_schema
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add illuminator_telescope_visibility model parameter schema |
37 changes: 37 additions & 0 deletions
37
src/simtools/schemas/model_parameters/illuminator_telescope_visibility.schema.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| title: Schema for illuminator_telescope_visibility model parameter | ||
| schema_version: 0.1.0 | ||
| meta_schema: simpipe-schema | ||
| meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/src/simtools/schemas/model_parameter_and_data_schema.metaschema.yml | ||
| meta_schema_version: 0.1.0 | ||
| name: illuminator_telescope_visibility | ||
| description: |- | ||
| Illumination status table for telescope-illuminator pairs. | ||
| Defines which telescopes can be illuminated by each illuminator at a site, | ||
| accounting for shadowing, blocking, topography, and distance constraints. | ||
| developer_note: |- | ||
| Telescope columns are site-specific and defined in the ECSV file header. | ||
| North site has ~13 telescope columns (LSTN-01 to LSTN-04, MSTN-01 to MSTN-15). | ||
| South site has ~60 telescope columns (LSTS-01 to LSTS-04, MSTS-01 to MSTS-14, SSTS-01 to SSTS-42). | ||
| Each site must have at least 2 illuminators and their respective telescopes. | ||
| All telescope columns must be boolean type (true=illuminated, false=shadowed/blocked). | ||
| The ECSV file contains: | ||
| - illuminator_name column (string): Illuminator identifier | ||
| - Multiple telescope columns (boolean): One column per telescope, indicating illumination status | ||
| Column names match expected telescope naming conventions (LSTN/MSTN for North, LSTS/MSTS/SSTS for South). | ||
| data: | ||
| - type: file | ||
| unit: dimensionless | ||
| default: null | ||
| instrument: | ||
| class: Site | ||
| activity: | ||
| setting: | ||
| - SetParameterFromExternal | ||
| validation: | ||
| - ValidateParameterByExpert | ||
| source: | ||
| - Calibration | ||
| simulation_software: | ||
| - name: simtools | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.