Skip to content

coordinate dependencies list isn't always in the correct order #48

@mfiaudrin-epsyl

Description

@mfiaudrin-epsyl

Hi @jwasikpsnc,
I have seen a bug using the application. It occurs rarely, that's why we didn't seen it before.

Let's reproduce it:

  • uri : imas:hdf5?path=/work/imas/shared/imasdb/ITER/3/135011/7/
  • Add a plot using path : #core_sources/source[0]/profiles_1d[0]/total_ion_energy
  • Switch to 1D plot mode
  • Upating time cursor is crashing the app

After having investigate it, the problem occurs because coordinate dependencies are not listed in the expected order in this example.

I show you why in the coordinate list:

  • rho_tor_norm [15, 986, 50]
  • time [986]
  • source [15]

I receive from BE rho_tor_norm.coordinates = ['time', 'source'] whereas it should be ['source', 'time'] because the shape of rho_to_norm is not [986, 15, 50] but [15, 986, 50].

Can you please ensure the BE provide the correct order in all cases ?

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions