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
Commits
9eaa2de7
Commit
9eaa2de7
authored
5 years ago
by
Francesco Carpanese
Committed by
Olivier Sauter
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
LIUQE expects COCOS17 IDS. COCOS11 to COCOS17 is done before hand.
parent
b7b79499
No related branches found
No related tags found
1 merge request
!41
Add corsica liuqe complete ids from meq
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
IDS/complete_IDS_CORSICA.m
+4
-4
4 additions, 4 deletions
IDS/complete_IDS_CORSICA.m
with
4 additions
and
4 deletions
IDS/complete_IDS_CORSICA.m
+
4
−
4
View file @
9eaa2de7
...
@@ -107,7 +107,7 @@ tmp = data_Bm();
...
@@ -107,7 +107,7 @@ tmp = data_Bm();
for
ii
=
1
:
numel
(
tmp
.
name
)
for
ii
=
1
:
numel
(
tmp
.
name
)
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
position
.
r
=
tmp
.
r
(
ii
);
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
position
.
r
=
tmp
.
r
(
ii
);
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
position
.
z
=
tmp
.
z
(
ii
);
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
position
.
z
=
tmp
.
z
(
ii
);
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
poloidal_angle
=
tmp
.
am
(
ii
);
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
poloidal_angle
=
-
tmp
.
am
(
ii
);
% Correct the sign to be consistent with COCOS 11
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
name
=
tmp
.
name
{
ii
};
IDS
.
magnetics
.
bpol_probe
{
ii
}
.
name
=
tmp
.
name
{
ii
};
end
end
...
@@ -126,9 +126,9 @@ IDS.tf.b_field_tor_vacuum_r.time = LXC.t;
...
@@ -126,9 +126,9 @@ IDS.tf.b_field_tor_vacuum_r.time = LXC.t;
IDS
.
tf
.
b_field_tor_vacuum_r
.
data
=
LXC
.
rBt
;
IDS
.
tf
.
b_field_tor_vacuum_r
.
data
=
LXC
.
rBt
;
%% Convert from 11 to 17
%% Convert from 11 to 17
IDS
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
magnetics
,
'magnetics'
,
11
,
17
);
IDS
.
magnetics
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
magnetics
,
'magnetics'
,
11
,
17
);
IDS
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
magnetics
,
'pf_active'
,
11
,
17
);
IDS
.
pf_active
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
pf_active
,
'pf_active'
,
11
,
17
);
IDS
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
magnetics
,
'tf'
,
11
,
17
);
IDS
.
tf
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
tf
,
'tf'
,
11
,
17
);
%% Store the resulting data
%% Store the resulting data
save
(
data_path_out
,
'-struct'
,
'IDS'
)
save
(
data_path_out
,
'-struct'
,
'IDS'
)
...
...
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