...
Write a quantity given as array to a given IDS slot, attaching it to a grid subset with a given name. The array size must coincide with the size of the grid subset.
Argument | Type | Intent | Description |
---|---|---|---|
quantity | type(eirene_data) | result | structure holding the obtained quantity |
ids_slot | type(ids_generic_grid_scalar) | out | AoS (IDS slot) whence the quantity should be taken |
code_to_imas_unit_ratio | real(ids_real) | in | ratio of the quantity unit in the code to that in IMAS |
grid_subset | type(ids_generic_grid_dynamic_grid_subset), dimension(:) | in | array of grid subsets |
grid_index | integer | in | index of the grid used in the grid_ggd AOS (must be put to IDS) |
subset_label | character(len=*) | in | identifier name of the grid subset |
subroutine get_quantity_for_single_subset (ids_slot, subset_label, code_to_imas_unit_ratio, grid_ggd_aos, quantity, grid_index, subset_index)
Get from a given IDS slot a quantity given as an array attached to the grid subset with a given name (not suitable for the 'equilibrium' IDS).
Argument | Type | Intent | Description |
---|---|---|---|
ids_slot | type(ids_generic_grid_scalar) | in | AoS (IDS slot) whence the quantity should be taken |
subset_label | character(len=*) | in | identifier name of the required grid subset |
code_to_imas_unit_ratio | real(ids_real) | in | ratio of the quantity unit in the code to that in IMAS |
grid_ggd_aos | type(ids_generic_grid_aos3_root), dimension(:) | in | grid_ggd AOS |
quantity | real(ids_real), dimension(:), allocatable | out | values of the quantity at a grid subset |
grid_index | integer | out | index of the used grid in grid_ggd AOS |
subset_index | integer | out | index of the grid subset in the 'subset' AoS. |
subroutine get_quantity_for_single_subset_in_equilibrium (ids_slot, subset_label, code_to_imas_unit_ratio, grid_ggd_aos, quantity, grid_index, subset_index)
Get from a given IDS slot a quantity given as an array attached to the grid subset with a given name (suitable onlyfor the 'equilibrium' IDS).
Argument | Type | Intent | Description |
---|---|---|---|
ids_slot | type(ids_generic_grid_scalar) | in | AoS (IDS slot) whence the quantity should be taken |
subset_label | character(len=*) | in | identifier name of the required grid subset |
code_to_imas_unit_ratio | real(ids_real) | in | ratio of the quantity unit in the code to that in IMAS |
grid_ggd_aos | type(ids_generic_grid_dynamic), dimension(:) | in | grid_ggd AOS |
quantity | real(ids_real), dimension(:), allocatable | out | values of the quantity at a grid subset |
grid_index | integer | out | index of the used grid in grid_ggd AOS |
subset_index | integer | out | index of the grid subset in the 'subset' AoS. |
Module edge_profiles_io
?????
...