Will I EVER see the squiggles?

I have to say, one of the things that drives me absolutely bonkers about geophysics is how many hoops you have to jump through just to look at the data!  It's enough to make one wish for the days when seismic intstruments were an ink pen scribbling on paper.....

 

Anyway, I determined after finally getting the correct inputs for the ReviewDataP.m function that the function was too cumbersome for what I wanted.  It ran very slow on my computer, and I couldn't get it to zoom in.  So I've decided instead that I'll adapt some code I used to look at .SAC files from earlier in the summer for my present purposes.  Back then I didn't know about the input function and such, so I'm making it more user friendly.  I got the first part working (at least I think), the part that reads in the .SAC files, stacks the seismograms, and cuts the stacked seismogram into 5 minute overlapping windows.  However, the second part, the part where I actually get to LOOK at the wiggles, is refusing to cooperate.  The program works by converting a time the user gives it to a number, and then searches among the cut-up stacked seismogram for a piece that had a start time the same as the time the user enters.  I got it to work with the old data, so I know it worked for that.  The problem is it can't match a time from a seismogram piece with the time the user gave.  I'm not sure if this is because the times I'm giving it are off, or if there's some deeper problem.  I have checked the start times of the pieces, and tried those start times, and it still doesn't work. 

......maybe SOMEDAY I'll get to look at the data.....

 

On a less frustrated note, I was kind of surprised, well, before I got stuck, how easily the Matlab was going.  I came out of the summer feeling like I knew nothing, yet now when I go back to it I find I know a lot more than I thought.  So that, at least, is encouraging.

If I were to wager a guess

If I were to wager a guess I'd expect it to be somethng that's different between clock time and sample time. It may just be a bias of my recent frustrations, but there are several factors why two sensors which should be sampling the same time really aren't. Is it possible to use the ginput command so the user just clicks on the graph to select a time? Good luck!