From f1e76b84214f1f39e7096f1b9f02e44c2ce09f4f Mon Sep 17 00:00:00 2001 From: Chengxun Lee <24319042+bclswl0827@users.noreply.github.com> Date: Thu, 26 Dec 2024 18:15:05 +0800 Subject: [PATCH] fix: Disable compression for exporting MiniSEED in history service --- CHANGELOG.md | 7 +++++++ VERSION | 2 +- server/endpoints/v1/history/miniseed.go | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1165dd6c..1e142fd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ Starting from v2.2.5, all notable changes to this project will be documented in this file. +## v3.6.1 + +## Bug Fixes + +- Disable waveform normalization completely. +- Disable compression for exporting MiniSEED in history service. + ## v3.6.0 ### Bug Fixes diff --git a/VERSION b/VERSION index 130165bc..c7c6e800 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v3.6.0 +v3.6.1 diff --git a/server/endpoints/v1/history/miniseed.go b/server/endpoints/v1/history/miniseed.go index ff0a48ed..a4811bf8 100644 --- a/server/endpoints/v1/history/miniseed.go +++ b/server/endpoints/v1/history/miniseed.go @@ -10,7 +10,7 @@ import ( func (h *History) handleMiniSEED(data []explorer.ExplorerData, stationCode, networkCode, locationCode, channelPrefix, channelCode string) (fileName string, dataBytes []byte, err error) { var miniseed mseedio.MiniSeedData - err = miniseed.Init(mseedio.STEIM2, mseedio.MSBFIRST) + err = miniseed.Init(mseedio.INT32, mseedio.MSBFIRST) if err != nil { return "", nil, err }