Skip to content

issue in plot_profil #1

Description

@mmetois

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions