Check the channels stored in the gwf file
If you want to know the list of channels stored in the gwf file, you can check the list by using the following method.
1. Check the path to the gwf file
First, determine the path to the gwf file you want to check.
For Example, in seikai. /dat1/kagra/raw/full/K-K1_C-1144335616-32.gwf
If you do not know the exact path, read the cache file and check the location of the gwf file at the desired time. The path stored in the cache file is after "file : //localhost/"
[user@seikai ikagra_cache] cat ikagra_cachefile.cache K K1_C 1144335616 32 file://localhost/dat1/kagra/raw/full/K-K1_C-1144335616-32.gwf K K1_C 1144335648 32 file://localhost/dat1/kagra/raw/full/K-K1_C-1144335648-32.gwf K K1_C 1144335680 32 file://localhost/dat1/kagra/raw/full/K-K1_C-1144335680-32.gwf . . . K K1_C 1145890784 32 file://localhost/dat1/kagra/raw/full/K-K1_C-1145890784-32.gwf K K1_C 1145890816 32 file://localhost/dat1/kagra/raw/full/K-K1_C-1145890816-32.gwf
Cache file direction in KAGRA k1det1
[detchar@k1det1~]$ cd /home/detchar/Cache [detchar@k1det1 Cache]$ ls K1-Cache.cache mkCache.py nohup.out
>>> /home/detchar/Cache/K1-Cache.cache
Cache file direction in KAGRA seikai
In seikai, only the ikagra data cache is stored.
[user@seikai~]$ cd /home/detchar/Cache/ikagra_cache/ [user@seikai ikagra_cache]$ ls ikagra_cachefile.cache mkCache.py
>>> /home/detchar/Cache/ikagra_cache/ikagra_cachefile.cache
2. Check the channel stored in the file
Once you have identified the path, use FrChannels to load the channel list stored in the gwf file.
This command is not executed unless LAL is installed.
[user@seikai ikagra_cache] FrChannels /dat1/kagra/raw/full/K-K1_C-1145890752-32.gwf K1:PEM-TEMPERATURE_RACK_IMC 16 K1:PEM-HUMIDITY_RACK_IMC 16 K1:PEM-TEMPERATURE_RACK_IOO 16 K1:PEM-HUMIDITY_RACK_IOO 16 K1:PEM-TEMPERATURE_RACK_PRM 16 K1:PEM-HUMIDITY_RACK_PRM 16 K1:PEM-TEMPERATURE_RACK_PR2 16 . . . K1:PEM-EY_SEIS_WE_SENSINF_OUT_DQ 2048 K1:PEM-EY_SEIS_Z_BLRMS_HI_OUT_DQ 2048 K1:PEM-EY_SEIS_Z_BLRMS_LOW_OUT_DQ 2048 K1:PEM-EY_SEIS_Z_BLRMS_MID_OUT_DQ 2048 K1:PEM-EY_SEIS_Z_SENSINF_IN1_DQ 2048 K1:PEM-EY_SEIS_Z_SENSINF_OUT_DQ 2048
The number after each channel's name is the sampling rate.
3. Save channel list
If you want to save a list of channels stored in a gwf file, you can do the following:
[user@seikai ikagra_cache] FrChannels /dat1/kagra/raw/full/K-K1_C-1145890752-32.gwf > channel_list.lst
And then, you can see that it is saved in the "channel_list.lst" file.
Of course, the extension need not be .lst, and .txt is also possible.