-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi Simon,
I think there is a bug in the plot_profile_r4 script. The np.delete(insarx,index), np.delete(insary,index) that is suppose to build the variables ix and iy fails due to shape inconsistency.
Changing lines 135 to 142 fix the pb :
iilos,iixp,iiyp=np.delete(los,index),np.delete(insarxp,index),np.delete(insaryp,index)
if plotdem is 'yes':
iitopo = np.delete(topo,index)
index=np.nonzero((np.isnan(iilos)==True))
#print(shape(index))
ilos,ixp,iyp=np.delete(iilos,index),np.delete(iixp,index),np.delete(iiyp,index)
i fail the pull request ;)
marianne
Metadata
Metadata
Assignees
Labels
No labels