crotwell / seisFile

A library for reading and writing seismic file formats in java.
GNU Lesser General Public License v3.0
27 stars 20 forks source link

FDSN data query utils pad gaps with 0s #14

Closed amkearns-usgs closed 5 years ago

amkearns-usgs commented 5 years ago

When running the query tool on triggered channels we have found that rather than produce datarecords with gaps, the returned data zero-pads the time between triggered datarecord logs. For many of our purposes, this is undesirable behavior, and we would prefer the gaps be retained as gaps.

crotwell commented 5 years ago

Unless there is a major bug I don't know about, there is no zero padding of gaps within seisFile. And without more significantly more details, like an example query and how your code is calling seisFile when this happens, I don't really think I can do much towards figuring this out.

ghost commented 5 years ago

Thanks for the response, pointing you to our code will be inefficient. We will write a small bit of code that reproduces what we are seeing.

amkearns-usgs commented 5 years ago

Our apologies: on further examination this was the result of a flaw in our own code. I have managed to find the issue and now the gaps are correctly reflected in our data.