DOI-USGS / geobipy

Geophysical Bayesian Inference in Python. Docs:
https://usgs.github.io/geobipy/
Other
78 stars 19 forks source link

plotDatapoints script issue #11

Open pbedros opened 5 years ago

pbedros commented 5 years ago

there appears to be a problem with the plotDatapoints.py script when one or more soundings have failed to converge (burn in). In this case, you cannot plot any of the points and the following error shows up:

[pbedrosian@yeti-login20 plotting] python plotDatapoints.py ../Data/ ../results/1650.0.h5 --points 5 Traceback (most recent call last): File "plotDatapoints.py", line 51, in fids = LR.iDs[args.points] IndexError: too many indices for array [pbedrosian@yeti-login20 plotting] python plotDatapoints.py ../Data/ ../results/1650.0.h5 Traceback (most recent call last): File "plotDatapoints.py", line 64, in for fid in fids: TypeError: iteration over a 0-d array