型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
int | number | チャンネル数。 The number of channels. |
unsigned short ∗ | code | チャンネルコードを並べた配列。 An array composed of channel codes. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
unsigned short | channelCode | チャンネルコード(チャンネルテーブルファイルの第1列)。
unsigned short型変数を用いることの妥当性については
struct win_channelCodeList型構造体の説明参照。 A channel code, read from the 1st column of a channel table file. For the reason for using an unsigned short-type variable, see the description for struct win_channelCodeList-type structure. |
int | recordingFlag | 回収フラグ(チャンネルテーブルファイルの第2列)。 A recording flag, read from the 2nd column of a channel table file. |
double | delayTime | 回線遅延時間(チャンネルテーブルファイルの第3列)。 The delay time of a network, read from the 3rd column of a channel table file. |
char | stationName[strsize] | 観測点コード(チャンネルテーブルファイルの第4列)。 A station code, read from the 4th column of a channel table file. |
char | component[strsize] | 成分コード(チャンネルテーブルファイルの第5列)。 A component code, read from the 5th column of a channel table file. |
int | monitor_amplitude | モニター波形の振幅縮率を示す指数(チャンネルテーブルファイルの第6列)。 An index to determine the stretching ratio of the amplitude of a monitor waveform, read from the 6th column of a channel table file. |
int | AD_convert_bit | A/D変換の量子化ビット数(チャンネルテーブルファイルの第7列)。 The number of digitizing bits for an A/D conversion, read from the 7th column of a channel table file. |
double | sensitivity | センサーの感度(チャンネルテーブルファイルの第8列)。 The sensitivity of a sensor, read from the 8th column of a channel table file. |
char | unit[strsize] | センサーの入力振幅単位(チャンネルテーブルファイルの第9列)。 The unit of the input amplitude of a sensor, read from the 9th column of a channel table file. |
double | naturalPeriod | 地震計の固有周期(チャンネルテーブルファイルの第10列)。 The natural period of a seismometer, read from the 10th column of a channel table file. |
double | damping | 地震計のダンピング定数(チャンネルテーブルファイルの第11列)。 The damping constant of a seismometer, read from the 11th column of a channel table file. |
double | amplificationFactor | センサー出力からA/D変換までの電圧増幅率
(チャンネルテーブルファイルの第12列)。 The amplification factor of a voltage from a sensor output to before an A/D conversion, read from the 12th column of a channel table file. |
double | digitizationStep | A/D変換の1量子化ステップ幅(チャンネルテーブルファイルの第13列)。 The magnitude of the digitization step of an A/D conversion, read from the 13th column of a channel table file. |
double | latitude | 観測点の緯度(チャンネルテーブルファイルの第14列)。 The latitude of a station, read from the 14th column of a channel table file. |
double | longitude | 観測点の経度(チャンネルテーブルファイルの第15列)。 The longitude of a station, read from the 15th column of a channel table file. |
double | altitude | 観測点の標高(チャンネルテーブルファイルの第16列)。 The altitude of a station, read from the 16th column of a channel table file. |
double | P_correction | P波到着時刻の観測点補正値(チャンネルテーブルファイルの第17列)。 The station correction of P-wave arrivals, read from the 17th column of a channel table file. |
double | S_correction | S波到着時刻の観測点補正値(チャンネルテーブルファイルの第18列)。 The station correction of S-wave arrivals, read from the 18th column of a channel table file. |
struct humanTime | startDateTime | 有効な日時範囲の先頭
(チャンネルテーブルファイルのymaeda_opentools拡張機能における
「--start=」オプションの値)。 The start date and time of the effective period, specified by “--start=” option of an extension of ymaeda_opentools for the channel table file format. |
struct humanTime | endDateTime | 有効な日時範囲の末尾
(チャンネルテーブルファイルのymaeda_opentools拡張機能における
「--end=」オプションの値)。 The end date and time of the effective period, specified by “--end=” option of an extension of ymaeda_opentools for the channel table file format. |
unsigned int | latitude_specified : 1 | 観測点の緯度(チャンネルテーブルファイルの第14列)
が指定されたか否かを示すフラグ。
指定された場合は1、未指定の場合は0。 A flag indicating whether the latitude of a station, in the 14th column of a channel table file, was specified or not; 1 if specified, and 0 if not. |
unsigned int | longitude_specified : 1 | 観測点の経度(チャンネルテーブルファイルの第15列)
が指定されたか否かを示すフラグ。
指定された場合は1、未指定の場合は0。 A flag indicating whether the longitude of a station, in the 15th column of a channel table file, was specified or not; 1 if specified, and 0 if not. |
unsigned int | altitude_specified : 1 | 観測点の標高(チャンネルテーブルファイルの第16列)
が指定されたか否かを示すフラグ。
指定された場合は1、未指定の場合は0。 A flag indicating whether the altitude of a station, in the 16th column of a channel table file, was specified or not; 1 if specified, and 0 if not. |
unsigned int | P_correction_specified : 1 | P波の観測点補正(チャンネルテーブルファイルの第17列)
が指定されたか否かを示すフラグ。
指定された場合は1、未指定の場合は0。 A flag indicating whether the station correction of a P-wave, in the 17th column of a channel table file, was specified or not; 1 if specified, and 0 if not. |
unsigned int | S_correction_specified : 1 | S波の観測点補正(チャンネルテーブルファイルの第18列)
が指定されたか否かを示すフラグ。
指定された場合は1、未指定の場合は0。 A flag indicating whether the station correction of an S-wave, in the 18th column of a channel table file, was specified or not; 1 if specified, and 0 if not. |
unsigned int | startDateTime_specified : 1 | 有効な日時範囲の先頭(「--start=」オプション)
が指定されたか否かを示すフラグ。
指定された場合は1、未指定の場合は0。 A flag indicating whether the start date and time of the effective period (“--start=” option) was specified or not; 1 if specified, and 0 if not. |
unsigned int | endDateTime_specified : 1 | 有効な日時範囲の末尾(「--end=」オプション)
が指定されたか否かを示すフラグ。
指定された場合は1、未指定の場合は0。 A flag indicating whether the end date and time of the effective period (“--end=” option) was specified or not; 1 if specified, and 0 if not. |
char | fileName[strsize] | 観測点名と成分名をピリオド(.)で繋いだ文字列(「観測点名.成分名」)。
WINファイルをSACファイルに変換したときの出力ファイル名に用いられる。 A string composed of station and component names connected with a period (.), i.e., “station name.component name”, which is used for an output file name when a WIN file is converted to SAC files. |
double | scale | 整数で書かれたWINデータの振幅値を物理量に換算するための倍率。
A factor used to convert the amplitude of a WIN data, given as an integer, to that in a physical unit. This value is given as \(A/10^{B/20}/C\), where \(A\), \(B\), and \(C\) are the values of members digitizationStep, amplificationFactor, and sensitivity, respectively. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
int | number | チャンネル数。 The number of channels. |
struct win_channelTableContents ∗ | contents | 読み込んだ各チャンネルの情報を並べた配列。 An array composed of the information on each channel read from a channel table file. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
unsigned short | channelCode | チャンネルブロック内の先頭の16ビット(2バイト)で、
チャンネルコードを表す。
unsigned short型変数を用いることの妥当性については
struct win_channelCodeList型構造体の説明参照。 The first 16 bits (2 bytes) of a channel block, which represent a channel code. For the reason for using an unsigned short-type variable, see the description for struct win_channelCodeList-type structure. |
int | sampleSize | チャンネルブロック内の17-20ビット目で、
1サンプルあたりのデータサイズを表す。
0-4の間の整数値を取る。
1-4の場合は1サンプルあたりのバイト数を表し、
0の場合は1サンプルあたり0.5バイトである。 The 17-20th bits of a channel block, which represent the size of each data sample. This is an integer between 0 and 4. The values from 1 to 4 represent the number of bytes for each sample, whereas the value of 0 means that each sample is represented by 0.5 bytes. |
int | samplingRate | チャンネルブロック内の21-32ビット目で、
サンプリングレート(Hz)を表す。
それはまたその秒のそのチャンネルの総サンプル数でもある。 The 21-32th bits of a channel block, which represent a sampling rate (Hz). This is equal to the total number of samples for that channel during that 1 s. |
int | size | チャンネルブロックのサイズ(バイト数)。
メンバsampleSizeとsamplingRateの値から計算される。 The size (the number of bytes) of a channel block, calculated from the values of members sampleSize and samplingRate. |
long | initialValue | チャンネルブロック内の33-64ビット目(5-8バイト目)で、
先頭のデータ値を表す。 The 33-64th bits (5-8th bytes) of a channel block, which represent the first data value. |
long ∗ | data_diff | チャンネルブロック内の65ビット目以降(9バイト目以降)を
メンバsampleSizeで指定されたバイト数ごとに区切って並べた配列。
これは隣接するサンプル間のデータ値の差分を時刻順に並べた配列である。 An array that represent the data beginning at the 65th bit (9th byte) divided to sections of the size specified by member sampleSize. This is an array composed of the differences in data values between adjacent samples, sorted in the order of time. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
unsigned long | size | 1秒分のデータブロックの最初の4バイトで、
この1秒間のデータブロックのサイズ(バイト数)を表す。 The first 4 bytes of a data block of 1-s long, which represent the size (in bytes) of this 1-s data block. |
struct humanTime | time | 秒ブロックの最初の6バイト(1秒分のデータブロック全体の5-10バイト目)で
日付・時刻を表す。 The first 6 bytes of a second block (i.e., 5-10th bytes of the entire data block of 1-s long), which represent the date and time. |
int | channelNumber | 秒ブロックに含まれるチャンネルブロックの個数。
WINデータに書かれているわけではなく、
データの読み込み後にカウントして求める。 The number of channel blocks in a second block. This value is not written in a WIN data; the value is determined by counting the channel blocks after reading the data. |
struct win_channelBlock ∗ | channelBlock | チャンネルブロックを並べた配列。 An array composed of the channel blocks. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
int | NsecondBlocks | 秒ブロックの個数。 The number of second blocks. |
struct win_secondBlock ∗ | secondBlocks | 秒ブロックを並べた配列。 An array composed of the second blocks. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
unsigned short | channelCode | チャンネルコード。 A channel code. |
char | dataType[strsize] | データの種類。以下のいずれかが入る。 The data type, which is one of the followings.
|
double | pick_minimum_sec | 読み取り値(イベント波形ファイルの先頭からの秒数)の範囲の最小値。
時刻の原点はtrgファイルの先頭時刻である。 The minimum value of the range of the pick (s), measured from the beginning of an event waveform file. The time origin is the beginning time of a trg file. |
double | pick_maximum_sec | 読み取り値(イベント波形ファイルの先頭からの秒数)の範囲の最大値。
時刻の原点はtrgファイルの先頭時刻である。 The maximum value of the range of the pick (s), measured from the beginning of an event waveform file. The time origin is the beginning time of a trg file. |
char | P_polarity[strsize] | P波の初動極性の読み取り値。以下のいずれかが入る。 The picked first motion polarity of the P-wave, which is one of the followings.
|
double | maxAmp | 最大振幅。 The maximum amplitude. |
char | maxAmp_unit[strsize] | 最大振幅の単位。以下のいずれかが入る。 The unit of the maximum amplitude, which is one of the followings.
|
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
char | stationCode[strsize] | 観測点コード。 A station code. |
char | P_polarity[strsize] | P波の初動極性の読み取り値。以下のいずれかが入る。 The picked first motion polarity of the P-wave, which is one of the followings.
|
double | P_arrival | P波到着時刻の読み取り値[s]。
時刻の原点はこの構造体を包含するより大きな構造体である
struct win_pick型構造体
のメンバrefDateTime_sで与えられる。
以下同様。 A picked P-wave arrival time [s]. The origin of time of this and later members is defined by member refDateTime_s of a struct win_pick-type structure, which is a larger structure that includes this structure. |
double | P_error | P波到着時刻の読み取り誤差[s]。 The picking error of the P-wave arrival time [s]. |
double | S_arrival | S波到着時刻の読み取り値[s]。 A picked S-wave arrival time [s]. |
double | S_error | S波到着時刻の読み取り誤差[s]。 The picking error of the S-wave arrival time [s]. |
double | F_P_time | 振動終了時刻(F)とP波到着時刻の読み取り値の差[s]。 The difference of picked values between the end time of an oscillation (F) and a P-wave arrival time [s]. |
double | maxAmp | 最大振幅[m/s]。 The maximum amplitude [m/s]. |
double | station_N | 観測点の緯度[度]。 The latitude [deg] of the station. |
double | station_E | 観測点の経度[度]。 The longitude [deg] of the station. |
int | station_z | 観測点の標高[m]。 The elevation [m] of the station. |
double | station_correction_P | P波到着時刻の観測点補正値[s]。到着時刻にこの値を加えた値が震源決定に用いられる。 The station correction of the P-wave arrival time [s]. This value is added to the arrival time for locating the event. |
double | station_correction_S | S波到着時刻の観測点補正値[s]。到着時刻にこの値を加えた値が震源決定に用いられる。 The station correction of the S-wave arrival time [s]. This value is added to the arrival time for locating the event. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
char | stationCode[strsize] | 観測点コード。 A station code. |
char | P_polarity[strsize] | P波の初動極性の読み取り値。以下のいずれかが入る。 The picked first motion polarity of the P-wave, which is one of the followings.
|
double | epicentral_distance | 震源からその観測点までの震央距離[km]。 The epicentral distance from the hypocenter to the station [km]. |
double | station_azimuth | 震源からその観測点への方位[北から東回り、度]。 The azimuthal angle of the station from the hypocenter [deg, clockwise from the north]. |
double | emergence_angle | 震源からその観測点への波線の射出角[下から、度]。 The emergence angle of the ray from the hypocenter to the station [deg, from downward]. |
double | incident_angle | その観測点における波線の入射角[下から、度]。 The indicent angle of the ray at the station [deg, from fownward]. |
double | P_arrival_obs_corrected | P波到着時刻の読み取り値(観測点補正後)[s]。 A picked P-wave arrival time after a station correction [s]. |
double | P_arrival_accuracy | P波到着時刻の精度[s]。 The accuracy of the P-wave arrival time [s]. |
double | P_arrival_residual_OminusC | P波到着時刻の残差(観測値-計算値)[s]。 The residual of the P-wave arrival time (picked minus calculated) [s]. |
double | S_arrival_obs_corrected | S波到着時刻の読み取り値(観測点補正後)[s]。 A picked S-wave arrival time after a station correction [s]. |
double | S_arrival_accuracy | S波到着時刻の精度[s]。 The accuracy of the S-wave arrival time [s]. |
double | S_arrival_residual_OminusC | S波到着時刻の残差(観測値-計算値)[s]。 The residual of the S-wave arrival time (picked minus calculated) [s]. |
double | maxAmp | 最大振幅[m/s]。 The maximum amplitude [m/s]. |
double | magnitude | その観測点の最大振幅から計算されたマグニチュード。 The magnitude computed from the maximum amplitude at this station. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
char | stationCode[strsize] | 観測点コード。 A station code. |
_Bool | Tp_given | P波到着時刻が与えられたか否かを示すフラグ。 A flag indicating whether the P-wave arrival time was given. |
unsigned short | channelCode_Tp | P波の読み取り値が与えられたチャンネルコード。 A channel code for which the P-wave arrival time was given. |
char | component_Tp[strsize] | P波の読み取り値が与えられた成分コード。 A component code for which the P-wave arrival time was given. |
double | Tp_sec | P波到着時刻(イベント波形ファイルの先頭からの秒数)。
時刻の原点はtrgファイルの先頭時刻である。 The P-wave arrival time [s] from the beginning of an event waveform time. The time origin is the beginning time of a trg file. |
struct humanTime | Tp_dateTime | P波到着日時。 The date and time of the P-wave arrival time. |
double | Tp_uncertainty | P波読み取り値の幅[s]。 The uncertainty [s] of the P-wave arrival time. |
double | Tp_correction | P波到着時刻の観測点補正値[s]。到着時刻にこの値を加えた値が震源決定に用いられる。 The station correction of the P-wave arrival time [s]. This value is added to the arrival time for locating the event. |
double | Tp_calc | 震源位置と発震時刻から計算される理論上のP波到着時刻[s]。
時刻の原点はtrgファイルの先頭時刻である。 The theoretical P-wave arrival time [s] calculated from the hypocenter and the origin time. The time origin is the beginning time of a trg file. |
char | P_polarity[strsize] | P波の初動極性の読み取り値。以下のいずれかが入る。 The picked first motion polarity of the P-wave, which is one of the followings.
|
_Bool | Ts_given | S波到着時刻が与えられたか否かを示すフラグ。 A flag indicating whether the S-wave arrival time was given. |
unsigned short | channelCode_Ts | S波の読み取り値が与えられたチャンネルコード。 A channel code for which the S-wave arrival time was given. |
char | component_Ts[strsize] | S波の読み取り値が与えられた成分コード。 A component code for which the S-wave arrival time was given. |
double | Ts_sec | S波到着時刻(イベント波形ファイルの先頭からの秒数)。
時刻の原点はtrgファイルの先頭時刻である。 The S-wave arrival time [s] from the beginning of an event waveform time. The time origin is the beginning time of a trg file. |
struct humanTime | Ts_dateTime | S波到着日時。 The date and time of the S-wave arrival time. |
double | Ts_uncertainty | S波読み取り値の幅[s]。 The uncertainty [s] of the S-wave arrival time. |
double | Ts_correction | S波到着時刻の観測点補正値[s]。到着時刻にこの値を加えた値が震源決定に用いられる。 The station correction of the S-wave arrival time [s]. This value is added to the arrival time for locating the event. |
double | Ts_calc | 震源位置と発震時刻から計算される理論上のS波到着時刻[s]。
時刻の原点はtrgファイルの先頭時刻である。 The theoretical S-wave arrival time [s] calculated from the hypocenter and the origin time. The time origin is the beginning time of a trg file. |
_Bool | Tf_given | 振動終了時刻が与えられたか否かを示すフラグ。 A flag indicating whether the end time of the oscillation was given. |
unsigned short | channelCode_Tf | 振動終了時刻の読み取り値が与えられたチャンネルコード。 A channel code for which the end time of the oscillation was given. |
char | component_Tf[strsize] | 振動終了時刻の読み取り値が与えられた成分コード。 A component code for which the end time of the oscillation was given. |
double | Tf_sec | 振動終了時刻(イベント波形ファイルの先頭からの秒数)。
時刻の原点はtrgファイルの先頭時刻である。 The end time [s] of the oscillation from the beginning of an event waveform time. The time origin is the beginning time of a trg file. |
struct humanTime | Tf_dateTime | 振動終了日時。 The date and time of the end of the oscillation. |
double | Tf_uncertainty | 振動終了時刻の読み取り値の幅[s]。 The uncertainty [s] of the end time of the oscillation. |
_Bool | maxAmp_given | 最大振幅が与えられたか否かを示すフラグ。 A flag indicating whether the maximum amplitude was given. |
unsigned short | channelCode_maxAmp | 最大振幅が与えられたチャンネルコード。 A channel code for which the maximum amplitude was given. |
char | component_maxAmp[strsize] | 最大振幅が与えられた成分コード。 A component code for which the maximum amplitude was given. |
double | maxAmp | 最大振幅。 The maximum amplitude. |
char | maxAmp_unit[strsize] | 最大振幅の単位。以下のいずれかが入る。 The unit of the maximum amplitude, which is one of the followings.
|
double | epicentral_distance | 震源からその観測点までの震央距離[km]。 The epicentral distance from the hypocenter to the station [km]. |
double | station_azimuth | 震源からその観測点への方位[北から東回り、度]。 The azimuthal angle of the station from the hypocenter [deg, clockwise from the north]. |
double | emergence_angle | 震源からその観測点への波線の射出角[下から、度]。 The emergence angle of the ray from the hypocenter to the station [deg, from downward]. |
double | incident_angle | その観測点における波線の入射角[下から、度]。 The indicent angle of the ray at the station [deg, from fownward]. |
型 Type |
メンバ名 Name of member |
メンバの意味 Meaning of member |
struct hypo_info | hypo | pickファイルから読み込む情報のうち
struct hypo_info型構造体
で定義されているデータ一式の格納先。 Memory to preserve part of the data from the pick file defined in a struct hypo_info-type structure. |
_Bool | hypo_given | 震源が与えられたか否かを示すフラグ。 A flag indicating whether the hypocenter was given. |
struct humanTime | trgfile_startDateTime | メンバtrgfileが表す波形ファイルのデータの先頭日時
(「#p」から始まる2行目)。 The date and time of the data of the waveform file pointed by member trgfile (the 2nd line starting with “#p”). |
_Bool | trgfile_startDateTime_given | メンバtrgfile_startDateTimeの値が与えられたか否かを示すフラグ。 A flag indicating whether the value of member trgfile_startDateTime is given. |
struct humanTime | refDateTime_s | 「#s」から始まる最初の行に書かれている、P波・S波到着時刻の基準日時。 The reference date and time of P- and S-wave arrival times, written in the 1st line of a pick file beginning with “#s”. |
_Bool | refDateTime_s_given | メンバrefDateTime_sの値が与えられたか否かを示すフラグ。 A flag indicating whether the value of member refDateTime_s is given. |
int | Ndata_p | 「#p」から始まる行のデータ数。 The number of data in lines beginning with “#p”. |
struct win_pick_p ∗ | data_p | 「#p」から始まる行のデータを並べた配列。 An array composed of the data in lines beginning with “#p”. |
int | Ndata_s | 「#s」から始まる行のデータに含まれる観測点数。 The number of stations contained in the data beginning with “#s”. |
struct win_pick_s ∗ | data_s | 「#s」から始まる行のデータを各観測点について並べた配列。 An array composed of the data beginning with “#s” for each station. |
int | Ndata_f | 「#f」から始まる行のデータに含まれる観測点数。 The number of stations contained in the data in lines beginning with “#f”. |
struct win_pick_f ∗ | data_f | 「#f」から始まる行のデータを各観測点について並べた配列。 An array composed of the data in lines beginning with “#f” for each station. |
int | Nstations | 読み取り値が存在する観測点数。 The number of stations with the pick data. |
struct win_pick_data∗ | data | 各観測点での読み取り値を並べた配列。 An array composed of the picked data at each station. |