Skip to content

Commit

Permalink
Very rough example of Magnetics IDS mappings as an example
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-parker1 committed Oct 10, 2024
1 parent f854165 commit 51da730
Showing 1 changed file with 144 additions and 0 deletions.
144 changes: 144 additions & 0 deletions mappings/magnetics/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,149 @@
"ids_properties/homogeneous_time": {
"MAP_TYPE": "VALUE",
"VALUE": 0
},
"ids_properties/comment": {
"MAP_TYPE": "VALUE",
"VALUE": "JET data mapped using UDA and JSON Mapping Plugin"
},
"ids_properties/provider": {
"MAP_TYPE": "VALUE",
"VALUE": "Gabor Szepesi",
"COMMENT": "Automatic from PPF metadata"
},
"ids_properties/creation_date": {
"MAP_TYPE": "VALUE",
"VALUE": "TO BE ADDED",
"COMMENT": "Automatic from PPF metadata"
},
"ids_properties/node": {
"MAP_TYPE": "VALUE",
"VALUE": 1,
"COMMENT": "Provenance for the whole IDS"
},
"ip": {
"MAP_TYPE": "VALUE",
"VALUE":
},
"ip[#]": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "PPF/MAGN/IPLA"
}
},
"ip[#]/method_name": {
"MAP_TYPE": "VALUE",
"VALUE": "Line integral of IDCs"
},
"b_field_pol_probe": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ length(BPOL_PROBES) }}"
},
"b_field_pol_probe[#]/name": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ at(BPOL_PROBE, indices.0) }}"
},
"b_field_pol_probe[#]/identifier": {
"MAP_TYPE": "VALUE",
"VALUE": "BPOL_PROBE_{{ indices.0 + 1 }}"
},
"b_field_pol_probe[#]/type/name": {
"MAP_TYPE": "VALUE",
"VALUE": "mirnov"
},
"b_field_pol_probe[#]/type/index": {
"MAP_TYPE": "VALUE",
"VALUE": 2
},
"b_field_pol_probe[#]/type/description": {
"MAP_TYPE": "VALUE",
"VALUE": "Mirnov probe"
},
"b_field_pol_probe[#]/position/r": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ at(BPOL_R, indices.0) }}",
},
"b_field_pol_probe[#]/position/z": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ at(BPOL_Z, indices.0) }}",
},
"b_field_pol_probe[#]/position/phi": {
"MAP_TYPE": "VALUE",
"VALUE": 0
},
"b_field_pol_probe[#]/position/area": {
"MAP_TYPE": "VALUE",
"VALUE": 0.001
},
"b_field_pol_probe[#]/position/length": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ at(BPOL_LENGTH, indices.0) }}",
},
"_b_field_pol_probe[#]/turns": {
"MAP_TYPE": "VALUE",
"VALUE": "TO BE MAPPED"
},
"b_field_pol_probe[#]/field": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "%TDI%_aux=jet(\"PPF/MAGN/BPME\",{{ SHOT }}); _sig = BUILD_SIGNAL(value_of(_aux)[0:70,*],*,dim_of(_aux,0),dim_of(_aux,1))"
},
"COMMENT": "The final syntax of this string may change"
},
"b_field_pol_probe[#]/poloidal_angle": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ at(BPOL_POL, indices.0) }}"
},
"b_field_pol_probe[#]/toroidal_angle": {
"MAP_TYPE": "VALUE",
"VALUE": 0
},
"flux_loop": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ length(FLUX_LOOPS) }}"
},
"flux_loop[#]/name": {
"MAP_TYPE": "VALUE",
"VALUE": "{{ at(FLUX_LOOPS, indices.0) }}"
},
"flux_loop[#]/identifier": {
"MAP_TYPE": "VALUE",
"VALUE": "FLUX_LOOP_{{ indices.0 + 1 }}"
},
"flux_loop[#]/type/name": {
"MAP_TYPE": "VALUE",
"VALUE": "<INSERT>"
},
"flux_loop[#]/type/index": {
"MAP_TYPE": "VALUE",
"VALUE": "<INSERT>"
},
"flux_loop[#]/position": {
},
"flux_loop[#]/position[#]/r": {
"MAP_TYPE": "VALUE",
"VALUE": "<INSERT FROM FL_POSITION_R>"
},
"flux_loop[#]/position[#]/z": {
"MAP_TYPE": "VALUE",
"VALUE": "<INSERT FROM FL_POSITION_Z>"
},
"flux_loop[#]/flux": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "<INSERT SIGNAL STRING"
},
"COMMENT": "The final syntax of this string may change"
},
"flux_loop[#]/voltage": {
"MAP_TYPE": "PLUGIN",
"PLUGIN": "MDSPLUS",
"ARGS": {
"signal": "<INSERT SIGNAL STRING"
},
"COMMENT": "The final syntax of this string may change"
}
}

0 comments on commit 51da730

Please sign in to comment.