From 3e2f1e80529527d24bb4fe9d109cae0bf60f1a71 Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Tue, 19 Nov 2024 07:24:52 +0100 Subject: [PATCH] add local mdsconnect and nel_v1 --- matlab/D3D/d3d_requests_mapping.m | 5 +++++ matlab/D3D/gdat_d3d.m | 1 + 2 files changed, 6 insertions(+) diff --git a/matlab/D3D/d3d_requests_mapping.m b/matlab/D3D/d3d_requests_mapping.m index 90695505..a40639a3 100644 --- a/matlab/D3D/d3d_requests_mapping.m +++ b/matlab/D3D/d3d_requests_mapping.m @@ -224,6 +224,11 @@ switch lower(data_request) mapping.label = 'NEBAR\_R0'; mapping.method = 'signal'; mapping.expression = [{'efit01'},{'\NEBAR_R0'}]; + case 'nel_v1' + mapping.timedim = 1; + mapping.label = 'NEBAR\_V1'; + mapping.method = 'signal'; + mapping.expression = [{'efit01'},{'\NEBAR_V1'}]; case {'ne', 'ne_rho'} mapping.timedim = 2; mapping.label = 'ne'; diff --git a/matlab/D3D/gdat_d3d.m b/matlab/D3D/gdat_d3d.m index 83e1daa7..cb99b07a 100644 --- a/matlab/D3D/gdat_d3d.m +++ b/matlab/D3D/gdat_d3d.m @@ -49,6 +49,7 @@ function [gdat_data,gdat_params,error_status,varargout] = gdat_d3d(shot,data_req % a5=gdat(32827,'ip'); % standard call % a6=gdat(32827,'ip','Opt1',123,'Doplot',1,'opt2','Abc'); % standard call with a few options (note all lowercase in output) % +% From local: mdsconnect('atlas.gat.com'); mdsvalue('1+3') % From remote: % ssh -p 2039 -C -l sautero -L 8002:atlas.gat.com:8000 cybele.gat.com % And in another session in matlab: -- GitLab