Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gdat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Merge requests
!23
Small fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Small fixes
small_fixes
into
master
Overview
0
Commits
6
Pipelines
2
Changes
9
Merged
Olivier Sauter
requested to merge
small_fixes
into
master
5 years ago
Overview
0
Commits
6
Pipelines
2
Changes
9
Expand
0
0
Merge request reports
Compare
master
version 2
09103348
5 years ago
version 1
09103348
5 years ago
master (base)
and
latest version
latest version
0d410ab5
6 commits,
5 years ago
version 2
09103348
6 commits,
5 years ago
version 1
09103348
6 commits,
5 years ago
9 files
+
52
−
26
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
matlab/TCV_IMAS/tcv2ids2database.m
+
12
−
1
Options
@@ -98,7 +98,18 @@ params_not_in_tcv2ids = {'run_out','occurence','tree_user','tree_tokamak','tree_
params_tcv2ids
=
rmfield
(
params_tcv2ids2database
,
params_not_in_tcv2ids
);
[
ids_from_tcv
,
idsok
]
=
tcv2ids
(
shot
,
params_tcv2ids
);
ids_from_tcv
.
params_tcv2ids2database
=
params_tcv2ids2database
;
ids_from_tcv
.
params_tcv2ids2database
% check that coreprofiles is ok, could mean anaprofs did not succeed
if
isfield
(
ids_from_tcv
,
'core_profiles'
)
if
isempty
(
ids_from_tcv
.
core_profiles
.
time
)
warning
([
char
(
10
)
'*************'
char
(
10
)
...
'core_profiles.time is empty, probably no data in CONF nodes for TCV, check with hldsi(shot) command on SPC-EPFL lacs computers'
...
char
(
10
)
'*************'
char
(
10
)]);
return
end
end
%% can plot with: [plotids_H] = plotids([],idsok.ids{1},idsok.ids{2});
if
isfield
(
ids_from_tcv
,
'tf'
)
% avoid present problem of not saving data if ids_from_tcv.tf.field_map{1}.time is not set
Loading