Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SPC
gdat
Commits
9569692a
Commit
9569692a
authored
Oct 21, 2021
by
Matteo Vallar
Browse files
handling error ala gdat
parent
1ac7fb07
Pipeline
#94731
passed with stages
in 4 minutes and 44 seconds
Changes
1
Pipelines
105
Hide whitespace changes
Inline
Side-by-side
matlab/TCV_IMAS/tcv_get_ids_nbi.m
View file @
9569692a
...
...
@@ -87,6 +87,9 @@ for iunit=1:nb_units
%% power
params_eff
.
data_request
=
[
'\results::'
results_subname
{
iunit
}
':powr_tcv'
];
pow
=
gdat_tcv
(
shot
,
params_eff
);
if
ischar
(
pow
.
data
)
pow
.
data
=
0
;
end
ids_nbi
.
unit
{
iunit
}
.
power_launched
.
data
=
pow
.
data
*
1e6
;
ids_nbi
.
unit
{
iunit
}
.
power_launched
.
time
=
pow
.
t
;
ids_nbi_description
.
unit
{
iunit
}
.
power_launched
=
params_eff
.
data_request
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment