Skip to content
Snippets Groups Projects
Commit 4ba17e86 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

treat no rho as empty in _rho case

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5095 d63d8f72-b253-0410-a779-e742ad2e26cf
parent 7dc10ac7
Branches
Tags
No related merge requests found
......@@ -849,7 +849,8 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
rho(ir,:)= sqrt(1.-psiscatvol.data(:,ir)./psi_max.data(:))';
end
else
rho=NaN;
if gdat_params.nverbose>=1; warning(['psiscatvol empty?, no rho calculated for data_request = ' data_request_eff]); end
rho=[];
end
gdat_data.dim{1}=rho;
gdat_data.dimunits=[{'sqrt(psi_norm)'} ; {'time [s]'}];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment