win/channel.h マニュアル

(The documentation of win/channel.h)

Last Update: 2026/01/08


win/readwrite.hでは WINシステムにおけるチャンネルコードのリストや チャンネルテーブルを扱う関数が定義されている。 このヘッダファイル内で定義されている関数を以下に示す。 各関数の詳細は関数名をクリックしてリンク先を参照のこと。
Functions to treat a list of channel codes and a channel table of the WIN system are defined in win/channel.h. Functions defined in this header file are listed below. For details of individual functions, click the links.

関数名
Function name
機能・用途
Purpose
win_str2channelCode チャンネルコードを表す文字列を 数値(unsigned short型)に変換する。
Convert a string that represents a channel code to the corresponding numerical value of unsigned short-type.
win_readChannelCode チャンネルコードのリストをファイルから読み込む。
Read a list of channel codes from a file.
win_readChannelTable WINシステムのチャンネルテーブルファイルを読み込む。
Read a channel table file of the WIN system.
win_channelTableContents_periods_duplicate WINシステムのチャンネルテーブルファイルから読み込んだ2つの行の情報間で 有効期間が重複しているか否かを判定する。
Examine whether the effective periods of two lines in a channel table file of the WIN system are overlapped.
win_channelTableContents_fill_failed WINシステムのチャンネルテーブルファイルの読み込み時に 省略された情報を同一観測点の他成分の情報からコピーしようとしたが 複数候補があり複製できなかった旨のエラーメッセージを表示する。
Display an error message to inform that omitted information in a channel table file of the WIN system was tried to be copied from the information for other components of the same station when reading, but failed to do it because of the presence of multiple candidates.
win_selectChannelTable チャンネルテーブルのデータから 指定されたチャンネルに対応する部分を抜き出す。
Extract a partial channel table data that consists of specified channels.
win_selectChannelTable_time チャンネルテーブルのデータから 指定された日時において有効な部分を抜き出す。
Extract a partial channel table data that are effective at a specified date and time.
win_writeChannelTable WINシステムのチャンネルテーブルをファイルに出力する。
Output a channel table file of the WIN system.
win_listChannelCode_in_data WINデータに含まれるチャンネルコードをリストアップする。
List the channel codes included in WIN data.
win_listStations_from_channelTable WINのチャンネルテーブルに含まれる観測点をリストアップする。
List the stations included in a WIN channel table.