Skip to content

SimDB cli query along with metadata issue #15

@deepakmaroo

Description

@deepakmaroo
  1. When querying quantities with metadata from cli, result table is missing some information randomly.
    For example request for global_quantities.ip less then 0 and metadata global_quantities.b0 and ids, but result is it is not displaying ip and b0 for all the simulations.
 $ simdb remote iter query global_quantities.ip.value=lt:0 -m global_quantities.b0.value -m ids
alias                                   global_quantities.ip.value global_quantities.b0.value               ids                                                                                                                                                                   
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
koechlf/edge2d/iter/53298/sep0124/seq-1                                                                      [core_profiles, core_sources, .... ntms, summary]                                                
koechlf/edge2d/iter/53298/sep0224/seq-1                                                                     [core_profiles, core_sources, ... equilibrium, ntms, summary]                                                
futterr/edge2d/iter/53301/jan0125/seq-1                            [-5.21, -5.22, -5.22, -5.22, -5.22, ...] [core_profiles, ... pf_active, pf_passive, summary] 
koechlf/edge2d/iter/53297/sep0124/seq-1                                                                     [core_profiles, ......, equilibrium, ntms, summary] 
  1. Output (simulations alias list) of with and without metadata is different. Practically it should return same alias list along with requested metadata
$ simdb remote query global_quantities.ip.value=lt:0 -l 5
alias                                               global_quantities.ip.value                                                  
-------------------------------------------------------------------------------------------------------------------------------
artolaj/jorek/ITER_DISRUPTIONS/111202/mar0925/seq-1 [-15022494.29, -15027249.98, -15031509.53, -15036697.57, -15042662.70, ...] 
artolaj/jorek/ITER_DISRUPTIONS/111211/mar0925/seq-1 [-10046572.02, -10047093.72, -10047256.30, -10047214.22, -10047042.92, ...] 
artolaj/jorek/ITER_DISRUPTIONS/111213/mar0925/seq-1 [-10046572.02, -10047093.72, -10047256.30, -10047214.22, -10047042.92, ...] 
artolaj/jorek/ITER_DISRUPTIONS/111212/mar0925/seq-1 [-10046572.02, -10047093.72, -10047256.30, -10047214.22, -10047042.92, ...] 
artolaj/jorek/ITER_DISRUPTIONS/111215/mar0925/seq-1 [-10046572.02, -10047093.72, -10047256.30, -10047214.22, -10047042.92, ...] 
$ simdb remote query global_quantities.ip.value=lt:0 -l 5 -m global_quantities.b0.value
alias                                   global_quantities.ip.value                                                  global_quantities.b0.value               
------------------------------------------------------------------------------------------------------------------------------------------------------------
dubrovm/dina/iter/105069/jun1324/seq-1  [-1000.00, -1000.00, -1000.00, -1000.00, -1000.00, ...]                     [-5.30, -5.30, -5.30, -5.30, -5.30, ...] 
125001/10                               [-1000.00, -1000.00, -1000.00, -1000.00, -1000.00, ...]                     [-5.30, -5.30, -5.30, -5.30, -5.30, ...] 
111111/2                                [-15022494.29, -15038018.48, -15040786.25, -15040025.51, -15037758.29, ...] [-5.30, -5.30, -5.30, -5.30, -5.30, ...] 
polevoa/astra/iter/101024/jan2425/seq-1 [-15000000.00]                                                              [-5.30]                                  
111112/2                                [-15022494.29, -15038018.48, -15040786.25, -15040025.51, -15037758.29, ...] [-5.30, -5.30, -5.30, -5.30, -5.30, ...] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions