Commit 723fa537 authored by Javier Quinteros's avatar Javier Quinteros

Save miniSEED records of 512 bytes with dasconv

parent 4c52e4f8
......@@ -125,7 +125,7 @@ class StreamBasedHour(Archive):
hourtrace = trace.slice(starttime=auxstart,
endtime=auxend,
nearest_sample=False)
hourtrace.write(fout, format='MSEED')
hourtrace.write(fout, format='MSEED', reclen=512)
# Move to the next day
auxstart = copy(auxend)
......@@ -195,7 +195,7 @@ class StreamBased(Archive):
# Write the output rounded to a full second
round2second = trace.slice(starttime=self.__uniquestart,
nearest_sample=False)
round2second.write(fout, format='MSEED')
round2second.write(fout, format='MSEED', reclen=512)
class SDS(Archive):
......@@ -277,7 +277,7 @@ class SDS(Archive):
daytrace = trace.slice(starttime=auxstart,
endtime=auxend,
nearest_sample=False)
daytrace.write(fout, format='MSEED')
daytrace.write(fout, format='MSEED', reclen=512)
# Move to the next day
auxstart = copy(auxend)
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