ymaeda_opentoolsの更新履歴
バージョン2025-11-27a
(Version history: ymaeda_opentools 20??-11-27a)
- simulate_hypo_3pointsコマンド (hypoサブパッケージ)を追加。
Added simulate_hypo_3points command
(hypo sub package).
- make_arrow_dataコマンドにパラメータ
length_absolute, break_center_sideを追加。
Added parameters length_absolute and break_center_side
to make_arrow_data command.
- sacfile_interpolateコマンドにおいてパラメータnew_refDateTimeを省略した場合に
補間後のデータの基準日時と時刻範囲がおかしくなるバグを修正。
Fixed a bug in sacfile_interpolate command that
the reference date and time and the window of the interpolated data
were wrong when parameter new_refDateTime was omitted.
- GSIdem2latlonDataコマンドにおいてデータが不完全な場合のエラーメッセージを改良。
Improved the error message in GSIdem2latlonData command
in case of incomplete data.
- win_pickfile_peakFreq_durationコマンドに
パラメータoutput_noise_levelを追加。
Added a parameter output_noise_level
to win_pickfile_peakFreq_duration command.
- 関数free_win_pick_data (win/memory.h)を追加。
Added a function free_win_pick_data
(win/memory.h).
- 関数free_win_dataにおいて
構成要素である個々のチャンネルブロックのデータ
(struct win_channelBlock型構造体のメンバdata_diff)
の動的メモリを解放する条件として同構造体のメンバsizeが正であるという条件を追加。
この条件が無いと一部のWINデータでコアダンプが発生するケースが見られたため。
In function free_win_data,
added a check for the value of member size
of each constituent struct win_channelBlock-type structure
to be positive to release the dynamic memory of
the corresponding member data_diff
(data of a constituent channel block);
without this check, core dumps occurred for some WIN data.
- struct win_pick_data型構造体にメンバstation_N, station_E, station_zを追加。
Added members station_N, station_E, and station_z
to a struct win_pick_data-type structure.
- これらのメンバの値を設定するように関数reformat_win_pickを修正。
Modified a function reformat_win_pick
to set the values of these members.
- 関数win_readChannelTableにおいて
チャネル表から読み込んだ観測点の標高の値の頭に0が付くケース(例:030)
をエラー扱いにしないように修正。
Modified function win_readChannelTable
not to treat the elevation of a station,
read from a channel table,
beginning with zero (e.g., 030) as an error.
- 関数win_readChannelTableにおいて
チャンネルコードの重複および観測点・成分の重複のチェック機能を追加。
Added checks for duplicated channel codes
or duplicated stations and components
in function win_readChannelTable.
- 関数win_channelTableContents_periods_duplicate (win/channel.h)を追加。
Added a function win_channelTableContents_periods_duplicate
(win/channel.h).
- 関数reformat_win_pick_noChannelTable (win/pick.h)を追加。
Added a function reformat_win_pick_noChannelTable
(win/pick.h).
- 関数read_win_pickfileにおいて戻り値のメンバNstationsを設定していなかったのを
0に設定するように修正。
複数のpickファイルに対してこの関数を繰り返し使用して同じ変数に結果を上書き代入する場合に
前のpickファイルの値が残ってしまうのを防ぐため。
Modified function read_win_pickfile
to set the value of member Nstations of the return value as zero
(the value was not defined in the previous version)
to prevent the value for a previous pick file from being remained
when this function is called repeatedly for multiple pick files
and the result overwrites the previous values.