JMNocquet / pyeq36

Static and full time-dependent inversion of slip at faults from geodetic data
4 stars 0 forks source link

Usage consultation #15

Closed evedor closed 8 months ago

evedor commented 9 months ago

I use pyeq_parametrize_curve_surface_triangles.py to discrete fault geometry,the cmd is python pyeq_parametrize_curve_surface_triangles.py -g sam_slab2_dep_02.23.18.grd -b /-72.5/-70/-32/-28 -n 7 -d 0/90 -e sam --debug, somethnig wrong is happning,

str_depth=get_depth(longitude,latitude,args.grd) interpolated = interp( (np.array([longitude]),np.array([latitude])) ) result = evaluate_linear_2d(self.values, File "_rgi_cython.pyx", line 19, in scipy.interpolate._rgi_cython.__pyx_fused_cpdef TypeError: No matching signature found

Where is my mistake,and What does the -n parameter mean?thanks!!