Differences between revisions 1 and 2
Revision 1 as of 2021-02-19 17:38:06
Size: 1136
Comment:
Revision 2 as of 2021-02-19 17:41:41
Size: 1245
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
== Implementation (only for Administrators) == == Only for Administrators ==
=== Implementation ===
Line 31: Line 32:

=== How to keep them up to date? ===
  * Execute with `make install-model`
  * Nightly execution

Real-Time model on the Web

Access

How to update Web view

  • Execute /opt/rtcds/userapps/release/cds/common/scripts/model_export.sh on control workstations

    Usage: model_export.sh [--execute] model1 [model2 [model3...]]
    
    Examples:
        dry-run:
            > model_export.sh k1lsc k1asc
        execute:
            > model_export.sh --execute k1lsc k1asc
  • Behavior of this script
    • Models are exported only when MDL files are newer than HTML files.
      • Execute touch *.mdl, if you want to force the export.

    • Files which cannot be found in /opt/rtcds/userapps/release/*/k1/models are ignored.


Only for Administrators

Implementation

  • The entity of gwdet:~controls/modelview is /users/DGS/modelview

  • A core program for exporting files is /opt/rtcds/userapps/release/cds/k1/models/k1export.m.

    • Symbolic link is also prepared as ~/Documents/MATLAB/k1export.m on control workstations.

      cd ~/Document/MATLAB/
      ln -s /opt/rtcds/userapps/release/cds/k1/models/k1export.m

How to keep them up to date?

  • Execute with make install-model

  • Nightly execution

KAGRA/Subgroups/DGS/Projects/RTModelViewer (last edited 2021-02-22 19:12:07 by TakahiroYamamoto)