Skip to content

Commit

Permalink
now using another variant with EXPR type assuming the indexing works.…
Browse files Browse the repository at this point in the history
…....beats me...only way to figure it out is having a UDA server+client to play with....done for now...
  • Loading branch information
rui-coelho committed Oct 15, 2024
1 parent 5560c1a commit 8173334
Showing 1 changed file with 57 additions and 31 deletions.
88 changes: 57 additions & 31 deletions mappings/thomson_scattering/mappings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ids_properties/homogeneous_time": {
"MAP_TYPE": "VALUE",
"VALUE": 0
"VALUE": 1
},
"ids_properties/comment": {
"MAP_TYPE": "VALUE",
Expand Down Expand Up @@ -30,6 +30,38 @@
},
"COMMENT": "The final syntax of this string may change"
},
"_z": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/Z\",{{ SHOT }}); _sig = value_of(_aux)"
},
"COMMENT": "The final syntax of this string may change"
},
"_t_e": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/TE\",{{ SHOT }}); _sig = value_of(_aux)"
},
"COMMENT": "The final syntax of this string may change"
},
"_n_e": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/NE\",{{ SHOT }}); _sig = value_of(_aux)"
},
"COMMENT": "The final syntax of this string may change"
},
"time": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/NE\",{{ SHOT }}); _sig = dim_of(_aux,1)"
},
"COMMENT": "The final syntax of this string may change"
},
"channel": {
"MAP_TYPE": "DIMENSION",
"DIM_PROBE": "_r"
Expand All @@ -40,55 +72,49 @@
"COMMENT": "The array defined in globals is oversized since i have no clue what is the total number of channels for each shot before reading the PPF. If only i had a dynamical string array generator..."
},
"channel[#]/position/r": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/TE\",{{ SHOT }}); _sig = dim_of(_aux,0)"
"MAP_TYPE": "EXPR",
"PARAMETERS": {
"X": "_r[#]"
},
"COMMENT": "The final syntax of this string may change"
"EXPR":"X"
},
"channel[#]/position/z": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/Z\",{{ SHOT }}); _sig = value_of(_aux)"
"MAP_TYPE": "EXPR",
"PARAMETERS": {
"X": "_z[#]"
},
"COMMENT": "The final syntax of this string may change"
"EXPR":"X"
},
"channel[#]/position/phi": {
"MAP_TYPE": "VALUE",
"VALUE": 0
},
"channel[#]/t_e/data": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/TE\",{{ SHOT }}); _sig = value_of(_aux)"
"MAP_TYPE": "EXPR",
"PARAMETERS": {
"X": "_t_e[#]"
},
"COMMENT": "The final syntax of this string may change"
"EXPR":"X"
},
"channel[#]/t_e/time": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/TE\",{{ SHOT }}); _sig = dim_of(_aux,1)"
"MAP_TYPE": "EXPR",
"PARAMETERS": {
"X": "time"
},
"COMMENT": "The final syntax of this string may change"
"EXPR":"X"
},
"channel[#]/n_e/data": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/NE\",{{ SHOT }}); _sig = value_of(_aux)"
"MAP_TYPE": "EXPR",
"PARAMETERS": {
"X": "_n_e[#]"
},
"COMMENT": "The final syntax of this string may change"
"EXPR":"X"
},
"channel[#]/n_e/time": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/HRTS/NE\",{{ SHOT }}); _sig = dim_of(_aux,1)"
"MAP_TYPE": "EXPR",
"PARAMETERS": {
"X": "time"
},
"COMMENT": "The final syntax of this string may change"
"EXPR":"X"
}
}

0 comments on commit 8173334

Please sign in to comment.