Resolve "core_profiles.profiles_1d[0].ion[0].label"
Closes #37 (closed) #36
Edited by Olivier Sauter
Merge request reports
Activity
L 46 of tcv_get_ids_summary it tries to remove the offsets with this lines
params_eff.data_request='ip_trapeze'; ip_trapeze = gdat(params_summary.shot,params_eff); ipsign = mdsvalue('\pcs::data:iohfb'); i_t_end = find(ipsign.*ip_trapeze.data(end:-1:1) > 5e3); % an offset might cause a problem... i_t_end = length(ip_trapeze.t)-i_t_end(1)+2; t_end = ip_trapeze.t(i_t_end);
This gives me errors when doing
[ids_from_tcv,varargout] = tcv2ids(68587, 'time_out', [1, 1.1, 1.2, 1.3]);
Index exceeds matrix dimensions. Error in tcv_get_ids_summary (line 47) t_end = ip_trapeze.t(i_t_end);
Why is this line
i_t_end = length(ip_trapeze.t)-i_t_end(1)+2;
not like this?
i_t_end = length(ip_trapeze.t)-i_t_end(1)+1;
added 1 commit
- df21c210 - correct index search for end of Iptraeze, as well as label pisitioning in ion core_profiles
Please register or sign in to reply