diff --git a/crpptbx/TCV/gdat_tcv.m b/crpptbx/TCV/gdat_tcv.m index 3b3aed5cf67f255378ac108f081a4d4385f43925..56637e10510691f8df6bbec8cf92b77a19ee9a6d 100644 --- a/crpptbx/TCV/gdat_tcv.m +++ b/crpptbx/TCV/gdat_tcv.m @@ -651,14 +651,18 @@ elseif strcmp(mapping_for_tcv.method,'switchcase') try time=mdsdata('\results::thomson:times'); catch - warning('Problems with \results::thomson:times') - disp(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + if (nverbose>=1) && shot<100000 + warning('Problems with \results::thomson:times') + disp(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + end return end if isempty(time) || ischar(time) - thomsontimes=time - warning('!!!!!!!!!!!!!!!!!!!!!!!!!\results::thomson:times is empty? Check') - disp(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + thomsontimes=time; + if (nverbose>=1) && shot<100000 + warning('!!!!!!!!!!!!!!!!!!!!!!!!!\results::thomson:times is empty? Check') + disp(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + end return end if strcmp(data_request_eff(1:2),'ne') @@ -682,14 +686,18 @@ elseif strcmp(mapping_for_tcv.method,'switchcase') try time=mdsdata('\results::thomson:times'); catch - warning('Problems with \results::thomson:times') - warning(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + if (nverbose>=1) && shot<100000 + warning('Problems with \results::thomson:times') + warning(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + end return end if isempty(time) || ischar(time) - thomsontimes=time - warning('!!!!!!!!!!!!!!!!!!!!!!!!!\results::thomson:times is empty? Check') - disp(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + thomsontimes=time; + if (nverbose>=1) && shot<100000 + warning('!!!!!!!!!!!!!!!!!!!!!!!!!\results::thomson:times is empty? Check') + disp(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff]) + end return end zshift = 0.;