DOI-USGS / geobipy

Geophysical Bayesian Inference in Python. Docs:

Home Page:https://usgs.github.io/geobipy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plotDatapoints script issue

pbedros opened this issue · comments

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