sot / starcheck

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Add a Python function to get KADI_SCENARIO for printing #394

Closed jeanconn closed 2 years ago

jeanconn commented 2 years ago

Description

Add a python function to get KADI_SCENARIO for printing

KADI_SCENARIO does not appear to be set in the environment from Perl, so https://github.com/sot/starcheck/pull/391/commits/c49696c65563dece0c05896d3db05428c5d604a9 did not work.

Interface impacts

Testing

Unit tests

Functional tests

Ran with and without KADI_SCENARIO set to flight in calc_ccd_temps and confirmed printing of None or flight.