Request change in references to 'sky'

Issue #27 resolved
Thomas Glanzman created an issue

phoSim currently uses files in the <release_dir>/data/sky directory but references them as <sed_dir>/../sky. This poses a problem when using external SEDs, specified with phosim.py's "--sed" option, if those external SEDs are part of some other (immutable) software distribution, e.g., lsst_sims package of DM.

One possible solution would be to change references from <sed_dir>/../sky to <release_dir>/data/sky. If, however, the ability to override files in 'sky' is important, it would be better to create a new phosim.py option, "--sky", analogous to the "--sed" option to explicitly specify the desired directory.

Comments (3)

  1. John Peterson

    this was fixed in v3.6.1. just keep the sky directory with the distribution and all should be well.

  2. Log in to comment