win/structure.h マニュアル

(The documentation of win/structure.h)

Last Update: 2025/8/1


win/structure.hでは winヘッダファイルパッケージで主に用いる構造体が定義されている。 各構造体の定義を以下に示す。
Structures mainly used in win header file package are defined in win/structure.h. Definitions of individual structures are shown below.

◆目次(Table of contents)



◆struct win_channelCodeList型構造体 (A struct win_channelCodeList-type structure)

チャンネルコードのリストを表現するための構造体である。 以下のメンバから成る。
A structure to represent a list of channel codes. This structure is composed of the following members.


Type
メンバ名
Name of member
メンバの意味
Meaning of member
int number チャンネル数。
The number of channels.
unsigned short ∗ code チャンネルコードを並べた配列。
An array composed of channel codes.

チャンネルコードにunsigned short型変数を用いている理由は以下の通り。 チャンネルコードは4桁の16進数であるので 4桁の2進数を4つ(計16ビット)で表現できる。 winヘッダファイルパッケージでは1バイト=8ビットと仮定されているので 16ビットは2バイトである。 C言語規格(ISO/IEC 9899:TC2)では USHRT_MAX\(\geq 2^{16}-1\)と定められているので、 どのようなコンピュータであっても必ず 2バイトのデータはunsigned short型変数で表現できることが保証される。 このような理由からunsigned short型変数を用いている。
Here unsigned short-type variables are used for channel codes because of the following reason. A channel code is given by 4 digits of hexadecimal numbers, which can thus be expressed by 4 sets of 4 digit binary numbers (16 bits in total). Throughout win header file package, 1 byte is assumed to be 8 bits; hence the length of 16 bits is equal to 2 bytes. According to the C language standard (ISO/IEC 9899:TC2), USHRT_MAX is greater than or equal to \(2^{16}-1\). Therefore the 2-byte data can be expressed with an unsigned short-type variable in any computers. For this reason, the unsigned short-type variable is used.


◆struct win_channelTableContents型構造体 (A struct win_channelTableContents-type structure)

チャンネルテーブルファイルにおける 1つのチャンネル(1つの観測点の1つの成分)の情報を 表現するための構造体である。 以下のメンバから成る。
A structure to represent the information on a channel (i.e., a component of a station) in a channel table file.
This structure is composed of the following members.


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\): メンバdigitizationStepの値
  • \(B\): メンバamplificationFactorの値
  • \(C\): メンバsensitivityの値
としたとき\(A/10^{B/20}/C\)である。
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.


◆struct win_channelTable型構造体 (A struct win_channelTable-type structure)

チャンネルテーブルファイルで与えられる情報一式を表現するための構造体である。 以下のメンバから成る。
A structure to represent the entire information given by a channel table file. This structure is composed of the following members.


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.


◆struct win_channelBlock型構造体 (A struct win_channelBlock-type structure)

WINデータにおける1つのチャンネルブロックを表現するための構造体である。 以下のメンバから成る。
A structure to represent a channel block of WIN data. This structure is composed of the following members.


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.

メンバinitialValue, data_diffにlong型変数を用いている理由は以下の通り。 メンバinitialValueに読み込むのは5-8バイト目の4バイト分の長さのデータである。 メンバdata_diffの各配列要素には メンバsample_sizeで指定されたバイト数のデータを読み込むが、 その最大サイズが4バイトである。 したがってどちらも最大で4バイト分のデータを読み込めれば良い。 C言語規格(ISO/IEC 9899:TC2)において LONG_MIN\(\leq -(2^{31}-1)\), LONG_MAX\(\geq 2^{31}-1\) と定められているので、 どのようなコンピュータであっても必ず 4バイトのデータはlong型変数で表現できることが保証される。 このような理由からlong型変数を用いている。
Here long-type variables are used for members initialValue and data_diff because of the following reason. The value of member initialValue is read from 5-8th bytes of the data which thus have a length of 4 bytes. For each array component of member data_diff, data of length specified by member sample_size are assigned, the maximum size of which is 4 bytes. Therefore it is enough to assume at maximum 4-byte data for these members. According to the C language standard (ISO/IEC 9899:TC2), LONG_MIN is less than or equal to \(-(2^{31}-1)\) and LONG_MAX is greater than or equal to \(2^{31}-1\). Therefore the 4-byte data can be expressed with a long-type variable in any computers. For this reason, the long-type variable is used.


◆struct win_secondBlock型構造体 (A struct win_secondBlock-type structure)

WINファイルの1秒分のデータを表現するための構造体である。 win_secondBlockという名前であるが秒ブロックだけでなく その前の4バイト分(データサイズ)も含めて表現できる。 以下のメンバから成る。
A structure to represent data of a 1-s-long WIN file. Regardless of the name win_secondBlock, not only a second block but the 4 bytes before it (which represents the data size) can be represented. This structure is composed of the following members.


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.

メンバsizeにunsigned long型を用いている理由は以下の通り。 メンバsizeに読み込むのは4バイト分の長さのデータである。 C言語規格(ISO/IEC 9899:TC2)において ULONG_MAX\(\geq 2^{32}-1\) と定められているので、どのようなコンピュータであっても必ず 4バイトのデータはunsigned long型変数で表現できることが保証される。 このような理由からunsigned long型変数を用いている。
Here a unsigned long-type variable is used for the member size because of the following reason. The value of this member is read from data of 4 byte long. According to the C language standard (ISO/IEC 9899:TC2), ULONG_MAX is greater than or equal to \(\geq 2^{32}-1\). Therefore the 4-byte data can be expressed with a unsigned long-type variable in any computers. For this reason, the unsigned long-type variable is used.


◆struct win_data型構造体 (A struct win_data-type structure)

WINファイルの中身を丸ごと表現するための構造体である。 以下のメンバから成る。
A structure to represent the entire data of a WIN file. This structure is composed of the following members.


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.


◆struct win_pick_p型構造体 (A struct win_pick_p-type structure)

WINシステムのpickファイル の「#p」から始まる行のうち、3行目以降の1行分の中身の読み込み先である。 1つの読み取りデータを表し、以下のメンバから成る。
A structure to store the content of a line (in 3rd or later lines) beginning with “#p” of the pick file of the WIN system. This structure represents a picked data for hypocenter determination (e.g., the arrival times of seismic waves), and is composed of the following members.


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.

  • P
    P波到着時刻の読み取り値。
    Picked P-wave arrival time.

  • S
    S波到着時刻の読み取り値。
    Picked S-wave arrival time.

  • F
    振動終了時刻の読み取り値。
    Picked end time of oscillation.

  • maxAmp
    最大振幅。
    Maximum amplitude.

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.

  • U
    上向き。
    Upward.

  • D
    下向き。
    Downward.

  • .
    読み取り無し。
    Not determined.

  • not_applicable
    データの種類がP波到着時刻の読み取り値ではない。
    The data type is not a P-wave arrival time.

double maxAmp 最大振幅。
The maximum amplitude.
char maxAmp_unit[strsize] 最大振幅の単位。以下のいずれかが入る。
The unit of the maximum amplitude, which is one of the followings.

  • m/s/s
    加速度(m s-2)。
    Acceleration (m s-2).

  • m/s
    速度(m s-1)。
    Velocity (m s-1).

  • m
    変位(m)。
    Displacement (m).

  • nondimensional
    無次元。
    Nondimensional.

  • not_applicable
    データの種類が最大振幅ではない。
    The data type is not a maximum amplitude.



◆struct win_pick_s型構造体 (A struct win_pick_s-type structure)

WINシステムのpickファイル の「#s」から始まる行のうち、2行目以降の1行分の中身の読み込み先である。 1つの観測点における震源決定のための地震波到着時刻等の読み取りデータを表し、 以下のメンバから成る。
A structure to store the content of a line (in 2nd or later lines) beginning with “#s” of the pick file of the WIN system. This structure represents the picked data (e.g., the arrival times of seismic waves) at a station used for hypocenter determination, and is composed of the following members.


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.

  • U
    上向き。
    Upward.

  • D
    下向き。
    Downward.

  • .
    読み取り無し。
    Not determined.

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.


◆struct win_pick_f型構造体 (A struct win_pick_f-type structure)

WINシステムのpickファイル の「#f」から始まる行のうち、6行目以降の1行分の中身の読み込み先である。 求まった震源位置を元に計算される、 1つの観測点における地震波到着時刻等の理論値を表し、 以下のメンバから成る。
A structure to store the content of a line (in 6th or later lines) beginning with “#f” of the pick file of the WIN system. This structure represents theoretical values (e.g., the arrival times of seismic waves) at a station calculated from an estimated hypocenter location, and is composed of the following members.


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.

  • U
    上向き。
    Upward.

  • D
    下向き。
    Downward.

  • .
    読み取り無し。
    Not determined.

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.


◆struct win_pick_data型構造体 (A struct win_pick_data-type structure)

WINシステムのpickファイル から読み込んだ各観測点でのP波・S波到着時刻のデータを 取り扱いやすい形式に整形した構造体である。 以下のメンバから成る。
A structure to represent the P- and S-wave arrival time data at each station obtained from the pick file of the WIN system and reformatted to more easily treat than the original form. This structure is composed of the following members.


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.

  • U
    上向き。
    Upward.

  • D
    下向き。
    Downward.

  • .
    読み取り無し。
    Not determined.

_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.

  • m/s/s
    加速度(m s-2)。
    Acceleration (m s-2).

  • m/s
    速度(m s-1)。
    Velocity (m s-1).

  • m
    変位(m)。
    Displacement (m).

  • nondimensional
    無次元。
    Nondimensional.

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].


◆struct win_pick型構造体 (A struct win_pick-type structure)

WINシステムのpickファイル の中身の読み込み先である。 以下のメンバから成る。
A structure to store the content of the pick file of the WIN system. This structure is composed of the following members.


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.