Skip to content
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

simulate_light_emission with issue on observatory altitude? #1287

Open
GernotMaier opened this issue Dec 18, 2024 · 2 comments
Open

simulate_light_emission with issue on observatory altitude? #1287

GernotMaier opened this issue Dec 18, 2024 · 2 comments

Comments

@GernotMaier
Copy link
Contributor

Running

python src/simtools/applications/simulate_light_emission.py --config tests/integration_tests/config/simulate_light_emission_variable.yml

results in a log file entry by sim_telarray of

Warning: problematic transmission between telescope and observation level.
Evaluation was between observation layer at 2150.000000 m a.s.l.
and 0.000000 m above, plus 16.000000 m in the telescope.
Lookup in transmission table in wavelength range from 200 to 1000 nm,
   altitude range from 2.156000 to 100.000000 km a.s.l.,
   for wavelength 400 nm from 2.150000 km a.s.l., for airmass factor 1.000000
Starting altitude of 2.150000 km is out of range (2.156000 to 100.000000 km).
This is either an underground installation or the wrong transmission table.
At 400 nm we get a transm. of 0.000000 between tel. and obs.lev., and 0.000000 inside tel.
Your transmission table might not be appropriate for the given site.
We are ignoring this problematic part now but you should fix your set-up.

Assume that this is an issue with elevations?

Attached the full log.
logfile.log

@orelgueta
Copy link
Contributor

Yes, looks like the input in CORSIKA is for a telescope with z=0. There's also a warning about shower simulations are for 2150 m rather than 2156 m, though I can't tell from the configuration file where the former comes from. @tobiaskleiner, do you know why CORSIKA is set for z=0?

@tobiaskleiner
Copy link
Collaborator

The xyzls light emission application sets the observation level to 2150 by default. We could set this to the telescope height or we could see if we add the option in the file to accept the telescope positions (I realized now that there is also the option to accept a telpos-file, which could be generated on the fly with the coordinates of the telescope needed).

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

No branches or pull requests

3 participants