Skip to content
Snippets Groups Projects
Commit 2c8f4de7 authored by Roberto Susino's avatar Roberto Susino
Browse files

Fix potential bug in make_bin_table.pro routine

parent 4032e245
Branches
No related tags found
No related merge requests found
...@@ -3,8 +3,9 @@ function make_bin_table, table ...@@ -3,8 +3,9 @@ function make_bin_table, table
gen_time = dblarr(n) gen_time = dblarr(n)
for k = 0, n - 1 do gen_time[k] = date_conv(table.gen_time[k], 'JULIAN') for k = 0, n - 1 do gen_time[k] = date_conv(table.gen_time[k], 'JULIAN')
w = where(table.eng_val.contains('N/A')) s = where(table.eng_val.contains('N/A'), count)
table.eng_val[w] = table.raw_val[w] if count gt 0 then table.eng_val[s] = table.raw_val[s]
par_names = table.par_name par_names = table.par_name
s = sort(par_names) s = sort(par_names)
par_names = par_names[s] par_names = par_names[s]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment