Skip to content

Population not detected error #469

@EricAComstock

Description

@EricAComstock

Hello All,

I've been getting this error when trying to use the gridspec_plot.py example to analyse some Vlasiator results, where the proton population is tried but is not detected.

My simulation has a different form of ion, which I originally thought might be the culprit, but even after renaming them to "proton," this error still shows up. Please advise.

INFO: Using LaTeX formatting
INFO: Using matplotlib version 3.6.3
INFO: Mesh is not 2-D: Use plot_colormap3Dslice instead!
INFO: V-space reduction via integration
Traceback (most recent call last):
  File "/home/LGST/Vlasiator/install_test_1/vlasiator/samples/IPShock/gridspec_plot.py", line 79, in <module>
    pt.plot.plot_vdf(vlsvobj=vf,cellids=[cid],axes=axes,center='bulk', scale=scale,
  File "/home/LGST/analysator/analysator/plot/plot_vdf.py", line 641, in plot_vdf
    raise ValueError("Unable to detect population "+pop+" in .vlsv file!")
ValueError: Unable to detect population proton in .vlsv file!

I'm using the command python3 gridspec_plot.py to run it.

Sincerely,
Eric Comstock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions