Commit f9e73d11 authored by laura.gassner's avatar laura.gassner

BUGFIX reading inverted source wavelet

parent 0904becf
......@@ -157,7 +157,7 @@
"TRKILL_STF" : "0",
"TRKILL_STF_OFFSET" : "0",
"TRKILL_STF_OFFSET_LOWER , TRKILL_STF_OFFSET_UPPER" : "0 , 10",
"TRKILL_FILE_STF" : "./trace_kill/trace_kill.dat",
"TRKILL_FILE_STF" : "./trace_kill/trace_kill",
"Frequency filtering during inversion" : "comment",
"TIME_FILT" : "0",
......
......@@ -132,7 +132,7 @@
"N_STF_START" : "1",
"TAPER_STF" : "1",
"TRKILL_STF" : "0",
"TRKILL_FILE_STF" : "./trace_kill/trace_kill.dat",
"TRKILL_FILE_STF" : "./trace_kill/trace_kill",
"Frequency filtering during inversion" : "comment",
"TIME_FILT" : "0",
......
......@@ -36,9 +36,9 @@ void inseis_source_wavelet(float *section, int ns, int ishot, int SH){
FILE *fpdata;
if(SH==0) {
sprintf(data,"%s.shot%d",SIGNAL_FILE,ishot);
sprintf(data,"%s.shot%d.su",SIGNAL_FILE,ishot);
} else {
sprintf(data,"%s.shot%d",SIGNAL_FILE_SH,ishot);
sprintf(data,"%s.shot%d.su",SIGNAL_FILE_SH,ishot);
}
fpdata = fopen(data,"r");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment