Skip to content

Uncertainty Visualizer negative values pie chart #262

@oceancolorcoder

Description

@oceancolorcoder

@ARamsay17

For PACE-PAX_PACE-PAX_20240908_180000_L1BQC.hdf on the Box:

File "/Users/daurin/GitRepos/HyperCP/Source/ProcessL2.py", line 1800, in ensemblesReflectance
xUNC.update(instrument.ClassBasedL2(node, uncGroup, rhoScalar, rhoVec, rhoUNC, waveSubset, xSlice))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/daurin/GitRepos/HyperCP/Source/ProcessInstrumentUncertainties.py", line 544, in ClassBasedL2
p_unc.pie_plot_class_l2(
File "/Users/daurin/GitRepos/HyperCP/Source/Uncertainty_Visualiser.py", line 153, in pie_plot_class_l2
ax.pie([self._engine.getpct(results[product][key], values[product])[indx] for key in labels[product]],
File "/opt/anaconda3/envs/hypercp/lib/python3.11/site-packages/matplotlib/init.py", line 1473, in inner
return func(
^^^^^
File "/opt/anaconda3/envs/hypercp/lib/python3.11/site-packages/matplotlib/axes/_axes.py", line 3285, in pie
raise ValueError("Wedge sizes 'x' must be non negative values")
ValueError: Wedge sizes 'x' must be non negative values

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