nilsnevertree / CLEO-sdm-eurec4a

Clara Bayley's version of the superdroplet model. CLEO, short for Cleopatra and CLEO = Clouds in a Lagrangian Exascale mOdel
Other
0 stars 0 forks source link

Changing zgrid results in IndexError #3

Open nilsnevertree opened 10 months ago

nilsnevertree commented 10 months ago
Reading binary file:
 /home/m/m301096/CLEO/build//share/rain1d_dimlessSDsinit.dat
attribute shapes:  (5120,) (5120,) (5120,) (5120,) (5120,) (0,) (0,)
Traceback (most recent call last):
  File "/home/m/m301096/CLEO/examples/rainshaft1d/rainshaft1d.py", line 163, in <module>
    rsupers.plot_initGBxs_distribs(configfile, constsfile, initSDsfile,
  File "/home/m/m301096/CLEO/pySD/initsuperdropsbinary_src/read_initsuperdrops.py", line 33, in plot_initGBxs_distribs
    plot_initGBxs_attrdistribs(configfile, constsfile, initsupersfile,
  File "/home/m/m301096/CLEO/pySD/initsuperdropsbinary_src/read_initsuperdrops.py", line 161, in plot_initGBxs_attrdistribs
    fig, axs, lines = plot_initdistribs(attrs, gbxvols, gbxidxs)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/m/m301096/CLEO/pySD/initsuperdropsbinary_src/read_initsuperdrops.py", line 124, in plot_initdistribs
    vol = gbxvols[idx]
          ~~~~~~~^^^^^
IndexError: list index out of range