Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Getting a subset of an IDS enables reading only a node (and its descendants if the node is a structure), making the GET operation much faster. To retrieve only requested node one should call the script idsdumppath . 

Path syntax:  The path to requested node(s) is separated by slashes (“/path/to/node(s)”).  Nodes representing arrays must contain indexes (“/path/to/array(idx)/field”) or “Fortran style” indices (“path/to/array(x:y)/field”)  Limitation: In case of nested AoS, it is not allowed to specify set of indices for AoS ancestors. Only given values of AoS ancestors indices are handled: (e.g. “field/with/ancestorAoS(x:y)/field/AoS(n :m)” is not managed) Data query examples:  “flux_loop(1)/flux/data(1:5)”  “bpol_probe(2:3)/field/data”  “loop(:)/current”  “time(4:-1)”  “profiles_1d(2)/grid/rho_tor_norm(2:4)”  “ids_properties” occurrence is a number indicating the occurrence of the target IDS in the Data Entry

Code Block
idsdumppath
Usage: idsdumppath <USER> <TOKAMAK> <VERSION> <SHOT> <RUN> <IDS> <DATA_PATH>

...