Config Window

Initial View

Displaying parameters from input namelist.
Option E launches the text editor (specified by $EDITOR ) to update the namelist directly. Options C and F manipulate a subset of the namelist variables, stored in memory.

TrDat::Show             -U- 
                        -=- Editing file /common/transp_shared/Data/work/pshare/JETtest/50623/50623X03/50623X03TR.DAT 
                !HOST   batch   !VN     default !UFILE  1       KMDSPLUS        0       MDS_SHOT        0
  Times         TINIT   4.75    FTIME   10.     TABORT  <undef>
  Heating       LEVGEO  6       NLBEAM  .T      NLICRF  .T      NLLH    <undef>
  MPI           NBI_PSERVE      1       NTORIC_PSERVE   0       !NPROC  4       NPTCLS  50000   NPTCLF  25000
  Plasma        PRENER  'KS3'   PRETER  'LIDR'  PRENI   <undef> PRETI2  'CXSM'
   Select an Option 
        A       accept current configuration
        C       change configuration 
        E       Edit configuration   
        F       Edit file definitions
        A C E F ?

Change Configuration

Prompts for new values of variable parameters. <c/r> retains current value.

        A C E F ?    C
TrDat::EditKey          -Q-     TINIT ?          default 4.75 5.
TrDat::EditKey          -Q-     FTIME ?          default 10. 8.5
TrDat::EditKey          -Q-     !NPROC ?         default 4 8

File Options - List

The main menu option F selects the File menu, which allows basic editing of the PRE and EXT (file definition) cards. The list and edit options can be requested for all files in turn - "A", for 'bad' files ( which do not correspond to an existing datatype) - "B" or for just a specified TriGraph (eg CUR for plasma current).
 

   Select an Option 
        A       accept current configuration
        C       change configuration 
        E       Edit configuration   
        F       Edit file definitions
        S       Show changes         
        V       verify configuration 
        W       Write changes to TR.DAT
        R       Reset to original    
        Q       Quit 
        A C E F S V W R Q ?     F
TrDat::EdPreExt         -U- 
                        -=- 2 of 20 files flagged as unavailable 
   Select an Option 
        L       List     file definitions 
        E       Edit     file definitions 
        A       Add    a file definition 
        D       Delete a file definition
        R       return to main menu
        Q       Quit config step 
        L E A D R Q ?   L
TrDat::EdPreExt         -Q- A (all), B(bad) definitions, or TriGraph B
        CUR     'MG2'   'XIP_0099  PPF  1       jconboy         0099    $TDD    PLASMA CURRENT                    !XPPF' 
        ZF2     'CXSM'  'ZFCX_0099  PPF         2       jconboy         0099    $TDD    CX based Zeff profile            !XPPF' 

File Options - Edit

The edit option can be requested for all files in turn - "A", for 'bad' files ( which do not correspond to an existing datatype) - "B" or for just a specified TriGraph (eg CUR for plasma current). Each field of the definition can be altered at the prompt; the default is to retain the existing value. <Ctl>+D at the DDA prompt leaves the entire definition unchanged, & moves on to the next.

The Add ( file definition) works in the same way, after prompting for a new TriGraph name.
 

   Select an Option 
        L       List     file definitions 
        E       Edit     file definitions 
        A       Add    a file definition 
        D       Delete a file definition
        R       return to main menu
        Q       Quit config step 
        L E A D R Q ?   E
TrDat::EdPreExt         -Q- A (all), B(bad) definitions, or TriGraph B
TrDat::EdPreExt1        -U- 
                        -=- Use <Ctl>+D at DDA prompt to exit 
Editing CUR : 'MG2' 'XIP_0099  PPF:1:jconboy:0099:$TDD:PLASMA CURRENT          :  !XPPF' 

TrDat::EdPreExt2        -Q- DDA default MG2 MAGN
TrDat::EdPreExt2        -Q- Dtype default XIP IPLA
TrDat::EdPreExt2        -Q- UFL|PPF default  PPF 
TrDat::EdPreExt2        -Q- Ndim default 1 
TrDat::EdPreExt2        -Q- UID default jconboy JETPPF
TrDat::EdPreExt2        -Q- Seq default 0 
Defined CUR : 'MAGN' 'IPLA_0000 PPF:1:JETPPF:0000:$SDD: JET data :' 
Editing ZF2 : 'CXSM' 'ZFCX_0099  PPF:2:jconboy:0099:$TDD:CX based Zeff profile   :  !XPPF' 

File Options - Delete

Enter a trigraph name, then confirm. Use <Ctl>D to return to the file menu.
(NB - the 'deleted' definitions are in fact commented out of the updated namelist, & so can be retrieved if necessary )
 

   Select an Option 
        L       List     file definitions 
        E       Edit     file definitions 
        A       Add    a file definition 
        D       Delete a file definition
        R       return to main menu
        Q       Quit config step 
        L E A D R Q ?   D
TrDat::DelPreExt        -Q- Enter TriGraph (or Ctl+D) : CUR
TrDat::DelPreExt        -W- Delete 'MAGN' 'IPLA_0000 PPF:1:JETPPF:0000:$SDD: JET data :' 
TrDat::DelPreExt        -Q- OK (y/n) y

Main Menu - Write

The W option writes all stored changes to the namelist ( in $TWD). Option A (Accept) will also write any unsaved changes before exiting. Q (Quit) exits without saving changes.

S (Show) will list all namelist keys for which  the data has been changed.
 

  Select an Option 
        A       accept current configuration
        C       change configuration 
        E       Edit configuration   
        F       Edit file definitions
        S       Show changes         
        V       verify configuration 
        W       Write changes to TR.DAT
        R       Reset to original    
        Q       Quit 
        A C E F S V W R Q ?	W
        !HOST   batch
        !NPROC  8
        !OLD_MDS_SHOT   0
        !UFILE  1
        !VN     default
        FTIME   8.5
        MDS_SHOT        0
        NTORIC_PSERVE   0
        TINIT   5.
        TRICUR  -1
TrDat::UpDAT            -U- 
                        -=- TR.DAT update - read, written 698, 704
 

View Differences

diff between the current namelist, & the namelist specified as a template when the run was started

TrDat::Show             -U- 
                        -=- Editing file /common/transp_shared/Data/work/jconboy/JETtest/77694J07/77694J07TR.DAT 

                !HOST   batch   !UFILE  1       KMDSPLUS        0
  Times         TINIT   7.5     FTIME   12.5    TABORT  ?
  Heating       LEVGEO  6       NLBEAM  .T      NLICRF  .F      NLLH    .F
  MPI           NBI_PSERVE      1       !NPROC  8       NPTCLS  500000  NPTCLF  200000
  Plasma        PRENER  'HRTS'  PRETER  'HRTS'  PRENI    PRETI2  'CXFM'

   Select an Option 
        A       accept current configuration
        C       change configuration 
        D       view differences     
        E       Edit configuration   
        R       Reset to original    
        V       verify configuration 
        Q       Quit 
        A C D E R V Q ? D

TrDat::Diff             -U- 
                        -=- diff -bwB /common/transp_shared/Data/work/jconboy/JETtest/77694J07/@TRDAT.IN 
					/common/transp_shared/Data/work/jconboy/JETtest/77694J07/77694J07TR.DAT 
2,3c2,4
< !----    JETtransp Update Thu May 27 10:42:09 BST 2010    ----------------------
< !HOST = 'batch'
---
> !----    JETtransp Update Tue Aug  3 14:12:50 BST 2010    ----------------------
> !HOST = batch
> !NPROC = 8
5c6,8
< FTIME = 17.0
---
> FTIME = 12.5
> ! End    JETtransp Update Tue Aug  3 14:12:50 BST 2010    ----------------------
> !----    JETtransp Update Thu May 27 10:42:09 BST 2010    ----------------------

 


 
TrDat::Show             -U- 
                        -=- Editing file /common/transp_shared/Data/work/pshare/JETtest/50623/50623X03/50623X03TR.DAT 
                !HOST   batch   !VN     default !UFILE  1       KMDSPLUS        0       MDS_SHOT        0
  Times         TINIT   5.      FTIME   8.5     TABORT  ?
  Heating       LEVGEO  6       NLBEAM  .T      NLICRF  .T      NLLH    <undef>
  MPI           NBI_PSERVE      1       NTORIC_PSERVE   0       !NPROC  8       NPTCLS  50000   NPTCLF  25000
  Plasma        PRENER  'KS3'   PRETER  'LIDR'  PRENI   <undef> PRETI2  'CXSM'