Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gdat
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
gdat
Commits
6d4c1c0c
Commit
6d4c1c0c
authored
3 years ago
by
Olivier Sauter
Browse files
Options
Downloads
Patches
Plain Diff
minor fixes
parent
f024cf0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!107
change to mdsconnect('ssh://' jet_user '@mdsplus.jetdata.eu');
Pipeline
#77715
passed with stage
in 2 minutes and 32 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/TCV/gdat_tcv.m
+9
-3
9 additions, 3 deletions
matlab/TCV/gdat_tcv.m
matlab/TCV_IMAS/tcv2ids.m
+2
-2
2 additions, 2 deletions
matlab/TCV_IMAS/tcv2ids.m
with
11 additions
and
5 deletions
matlab/TCV/gdat_tcv.m
+
9
−
3
View file @
6d4c1c0c
...
...
@@ -966,7 +966,9 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
gdat_data
.
gdat_params
.
source
=
source
;
if
isfield
(
params_eff
,
'cxrs_time_interval'
)
&&
~
isempty
(
params_eff
.
cxrs_time_interval
)
&&
length
(
params_eff
.
cxrs_time_interval
)
>=
2
cxrs_time_interval
=
params_eff
.
cxrs_time_interval
;
cxrs_plot
=
1
;
if
~
isfield
(
params_eff
,
'cxrs_plot'
)
cxrs_plot
=
1
;
end
else
cxrs_time_interval
=
[];
end
...
...
@@ -3562,8 +3564,12 @@ gdat_data.x = gdat_data.dim{1};
gdat_data
.
t
=
time
;
gdat_data
.
system
=
vertcat
(
data_tmp
.
system
);
if
status_any
,
gdat_data
.
units
=
data_tmp
(
isys_ref
)
.
units
;
end
r_thomson
=
arrayfun
(
@
(
x
)
x
.
r_thomson
,
data_tmp
,
'UniformOutput'
,
false
);
gdat_data
.
r_thomson
=
vertcat
(
r_thomson
{:});
if
isfield
(
data_tmp
,
'r_thomson'
)
r_thomson
=
arrayfun
(
@
(
x
)
x
.
r_thomson
,
data_tmp
,
'UniformOutput'
,
false
);
gdat_data
.
r_thomson
=
vertcat
(
r_thomson
{:});
else
gdat_data
.
r_thomson
=
[];
end
% add fir if ne requested
if
strcmp
(
data_request_eff
(
1
:
2
),
'ne'
)
...
...
This diff is collapsed.
Click to expand it.
matlab/TCV_IMAS/tcv2ids.m
+
2
−
2
View file @
6d4c1c0c
function
[
ids_from_tcv
,
varargout
]
=
tcv2ids
(
shot
,
varargin
);
%
% [ids_from_tcv,
varargout
] = tcv2ids(shot,varargin);
% [ids_from_tcv,
ids_aos
] = tcv2ids(shot,varargin);
%
% Assumes you have done:
% >> addpath ~g2osaute/public/matlab9_11_2016 (on the gateway)
...
...
@@ -131,4 +131,4 @@ if nargout>=2
varargout
{
1
}
=
[];
disp
(
'problems to fill in varargout'
)
end
end
\ No newline at end of file
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment