Closed omrivolk closed 6 years ago
Found it. The problem was in the name of the file. It should be named with the format given in the examples
So apparently I didn't find the solution...
Just to clarify, I have files that I want to stack. I can read them with SAC but ts-PWS gives the above error.
Hi Omry,
This error means that a required sac header field is undefined. Can you check that npts, stla, stlo, evla, evlo, delta and b are defined (call lh in sac)? For the stacking only npts, delta and b are needed, you may use dummy values for the others. I should probably give more informative errors.
Thanks to you, Sergi
The problem was that stla, stlo, evla and evlo were missing from the header. I put in dummy values and now it works great.
Thanks!
Hi,
I'm trying to stack some cross-correlations which I computed in Python. I wrote the cross-correlations to SAC files and tried stacking them and I get this error:
But if I just try to read the files with SAC it reads them perfectly. Any idea how can I deal with that?
Thanks Omry