Browse Source

ecl process logdata script always use correct check_level_dict path

sbg
Daniel Agar 7 years ago
parent
commit
2e207801d8
  1. 6
      Tools/ecl_ekf/process_logdata_ekf.py

6
Tools/ecl_ekf/process_logdata_ekf.py

@ -1309,8 +1309,12 @@ test_results['filter_faults_max'][0] = np.amax(estimator_status['filter_fault_fl @@ -1309,8 +1309,12 @@ test_results['filter_faults_max'][0] = np.amax(estimator_status['filter_fault_fl
# calculate a master status - Fail, Warning, Pass
# get the dictionary of fail and warning test thresholds from a csv file
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
filename = "check_level_dict.csv"
file = open(filename)
file = open(os.path.join(__location__, filename));
check_levels = { }
for line in file:
x = line.split(",")

Loading…
Cancel
Save