chandra-mta / MTA

0 stars 0 forks source link

(SIM) - plot_sim_temp_data.py #38

Open william-aaron-CFA opened 6 months ago

william-aaron-CFA commented 6 months ago

Periodically, the plot_sim_temp_data.py script, which is part of the SIM temperature monitoring script /data/mta/Script/SIM/Scripts/sim_temp_wrap_script, will stall out from its cronjob run on mta@boba-v

This stall is not prevented by the lock files generated before the regular main function run, which means that the stall occurs in the initialization step. It is likely a result of a known sporadic issue with importing custom MTA library functions as this script imports two MTA packages, mta_common_functions and robust_linear.

it is recommended that to prevent these stalls in the future, the functionality offered by these custom packages should be handled by separately tested packages such as calendar, Chandra.Time, numpy, math, ect.