Differences between revisions 1 and 46 (spanning 45 versions)
Revision 1 as of 2018-10-15 10:28:46
Size: 64
Comment:
Revision 46 as of 2021-06-10 15:29:02
Size: 4060
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[KAGRA/Subgroups/PEM/SummaryPage/k1sum0|k1sum0 installation]] = LIGO SummaryPage =
  * Access from CDS network
    * https://gwdet.icrr.u-tokyo.ac.jp/~controls/summary/today/
    * http://k1sum0/~controls/summary/today
  * [[KAGRA/Subgroups/PEM/SummaryPage/RemoteAccess|Access from Remote site]]

== How to update ==

=== How to test your updated ini files. ===
 * Login to k1sum0.
 * Check on the test directory or your personal directory that your ini file is working well or not before applying your update.
 {{{
k1sum0> cd /home/controls/public_html/test-summary
### Edit configuration file
 }}}
 * Activate conda environment
 {{{
k1sum0> conda activate ligo-summary-3.7
(ligo-summary-3.7) k1sum0>
 }}}
 * Set the name of configuration file to run_test.sh script
 {{{
### Modify the following line of run_test.sh
INIFILE='k1global.ini,your_ini_file.ini'
 }}}
 * Execute the script
 {{{
(ligo-summary-3.7) k1sum0> ./run_test.sh
 }}}
 * When your ini file is working well, you can see the message "All done. Thank you." on the console, and see the result on [[http://k1sum0/~controls/test-summary/summary1/]]

=== How to add a new ini file or apply your update. ===
   * Check your ini file is working well!
   * Before you upload ini file, please contact to DetChar group.
   * Put your ini file in `${HOME}/etc/summary/configurations/k1/`
     {{{
k1sum0> cd /home/controls/public_html/test-summary
k1sum0> cp -i k1foo.ini /home/controls/etc/summary/configurations/k1/
     }}}

== Q&A ==

 *'''All pages are not updated in automatically.'''
   * Please contact TY.

 *'''A part of the tabs are not updated in automatically.'''
   * Please fix your ini files.

 * The error {{{gw_summary: error: unrecognized arguments: k1vis-guardian.ini,/home/controls/etc/summary/configurations/defaults.ini}}} occurred in the test.
   * In `run_test.sh`, there is unexpected space between the ini files, such as {{{INIFILE='k1global.ini,k1vis.ini, k1vis-guardian.ini'}}}

 * Ther error {{{ValueError: no Fr{Adc,Proc,Sim}Data structures with the name K1:VIS-ETMX_MN_DAMP_L_IN1_DQ}}}.
  * The channel is included in full frame and minutes trend frame, but ./run.sh fail.
  * The channel needs to be included in science frame in default. If you didn't specify the '''frametype''', gwsumm will read the science frame in default.
  * In other words, when you want to read science frame, you don't need to write '''frametype'''.
  * Note that
   * frametype = K1_C will read the full frame
   * frametype = K1_R will read the science frame
   * frametype = K1_M will read the minutes trend frame
   * frametype = K1_T will read the second frame

 * Can I use the '''and''' in the definition of state?
  * The answer is in '''l1lsc.ini'''

    {{{
[state-Arms]
name = Arms locked
key = Arms
definition = %(IFO)s:DMT-XARM_LOCK:1&%(IFO)s:DMT-YARM_LOCK:1
    }}}

  * But, this doesn't work.(2021/06/10 yuzurihara)

== Working logs ==
 [[KAGRA/Subgroups/PEM/SummaryPage/k1sum0|k1sum0 installation]]

 [[KAGRA/Subgroups/PEM/SummaryPage/memo_20181015_yuzu|Work log (yuzurihara) 20181015-16]]

 [[KAGRA/Subgroups/PEM/SummaryPage/memo_20181017_yuzu|Work log (yuzurihara) 20181017]]

 [[KAGRA/Subgroups/PEM/SummaryPage/How_to_write_configuration_file|How to write configuration file(20181017)]]

 [[KAGRA/Subgroups/PEM/SummaryPage/memo_20190827|Work log from Alex (20190827)]]

 [[KAGRA/Subgroups/PEM/SummaryPage/memo_20190828|Work log from Alex (20190828)]]



== Links ==
=== Summary Pages ===
 [[https://wiki.ligo.org/DetChar/SummaryPages|Outline of the SummaryPage]] (required LIGO DCC account)

 [[https://ldas-jobs.ligo.caltech.edu/~duncan.macleod/gwsumm/latest/|Documentation of the SummaryPage]] (required LIGO DCC account)

=== Conda ===

 [[https://docs.conda.io/projects/conda/en/latest/_downloads/1f5ecf5a87b1c1a8aaf5a7ab8a7a0ff7/conda-cheatsheet.pdf]]

 [[https://www.freecodecamp.org/news/why-you-need-python-environments-and-how-to-manage-them-with-conda-85f155f4353c/]]

[[attachment:Conda_tutorial_Soni.pdf|Sidd's Tutorial]]

LIGO SummaryPage

How to update

How to test your updated ini files.

  • Login to k1sum0.
  • Check on the test directory or your personal directory that your ini file is working well or not before applying your update.
    k1sum0> cd /home/controls/public_html/test-summary
    ### Edit configuration file
  • Activate conda environment
    k1sum0> conda activate ligo-summary-3.7
    (ligo-summary-3.7) k1sum0>
  • Set the name of configuration file to run_test.sh script
    ### Modify the following line of run_test.sh
    INIFILE='k1global.ini,your_ini_file.ini'
  • Execute the script
    (ligo-summary-3.7) k1sum0> ./run_test.sh
  • When your ini file is working well, you can see the message "All done. Thank you." on the console, and see the result on http://k1sum0/~controls/test-summary/summary1/

How to add a new ini file or apply your update.

  • Check your ini file is working well!
  • Before you upload ini file, please contact to DetChar group.

  • Put your ini file in ${HOME}/etc/summary/configurations/k1/

    • k1sum0> cd /home/controls/public_html/test-summary
      k1sum0> cp -i k1foo.ini /home/controls/etc/summary/configurations/k1/

Q&A

  • All pages are not updated in automatically.

    • Please contact TY.
  • A part of the tabs are not updated in automatically.

    • Please fix your ini files.
  • The error gw_summary: error: unrecognized arguments: k1vis-guardian.ini,/home/controls/etc/summary/configurations/defaults.ini occurred in the test.

    • In run_test.sh, there is unexpected space between the ini files, such as INIFILE='k1global.ini,k1vis.ini, k1vis-guardian.ini'

  • Ther error ValueError: no Fr{Adc,Proc,Sim}Data structures with the name K1:VIS-ETMX_MN_DAMP_L_IN1_DQ.

    • The channel is included in full frame and minutes trend frame, but ./run.sh fail.
    • The channel needs to be included in science frame in default. If you didn't specify the frametype, gwsumm will read the science frame in default.

    • In other words, when you want to read science frame, you don't need to write frametype.

    • Note that
      • frametype = K1_C will read the full frame
      • frametype = K1_R will read the science frame
      • frametype = K1_M will read the minutes trend frame
      • frametype = K1_T will read the second frame
  • Can I use the and in the definition of state?

    • The answer is in l1lsc.ini

      • [state-Arms]
        name = Arms locked
        key = Arms
        definition = %(IFO)s:DMT-XARM_LOCK:1&%(IFO)s:DMT-YARM_LOCK:1
    • But, this doesn't work.(2021/06/10 yuzurihara)

Working logs

Summary Pages

Conda

Sidd's Tutorial

KAGRA/Subgroups/PEM/SummaryPage (last edited 2022-02-20 03:41:59 by HirotakaYuzurihara)