Open Luis2195 opened 2 years ago
hello,
are you using the latest version of the GUI.?
Yes, I'm using the latest version
i see that the error is related with this file .\env_amp_inv\inv2.dat so please check in the env_amp_inv folder (of your run folder) and see if it is ok, e.g. it is not zero size and has 17 columns ... or just post the file here and i will check it
In the folder env_amp_inv i don't have the file .\env_amp_inv\inv2.dat just the file "inv1" and "inv2_save" however in the folder invert i have the file inv2.dat.
I add the files... Datas.zip
this is strange .. are you sure that the fortran code runs correctly ..? check the command window (that opens) for errors and let me know
I have this error when I try to plot the results from the inversion of the enveloped waveforms:
Error using textscan Invalid file identifier. Use fopen to generate a valid file identifier.
Error in envplot>plpol_Callback (line 661) C = textscan(fileID,'%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f');
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in envplot (line 42) gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)envplot('plpol_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Inversion was done for a line of sources under epicenter. Error using sscanf First argument must be a text scalar.
Error in readout3 (line 9) totalgs=sscanf(tline,'%u');
Error in envplot>inv1_Callback (line 1142) [totalgs,selectedsrc,selectedgrid,strike,dip,rake,Mo,Mw] = readout3
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in envplot (line 42) gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)envplot('inv1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
I'll will appreciate your help.