spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

Bug in thm_load_asi_cal.pro #200

Open nickssl opened 1 week ago

nickssl commented 1 week ago

thm_load_asi_cal, 'atha chbg', cal_files

% Conflicting data structures: CAL_STRUC,CAL. % Execution halted at: THM_LOAD_ASI_CAL 137 /spedas_trunk/projects/themis/ground/thm_load_asi_cal.pro % $MAIN$

nickssl commented 1 week ago

Further investigation:

  1. It works with version 1 of these cal files: thm_load_asi_cal, 'atha chbg', cal_struc,file_version_in='01' thm_load_asi_cal, '*', cal_struc,file_version_in='01', /all

  2. But it has problems with some version 2 cal files: thm_load_asi_cal, '*', cal_struc, /all

In particular, it seems that the problem is with three cal files: atha, snkq, pina

The following gives an empty structure: thm_load_asi_cal, 'pina', cal_struc

The cal files for following two stations seem to produce structures a little different from all other stations: atha, snkq