the name list of .scn stored in the .sdb file

BASICS

Name list of spectroscopic data, ".scn" is stored in a file with the extension ".sdb". The extension ".sdb" is abribiation of "Scan file DataBase". The file is dirctly managed by UNIX-OS or Linux-OS. Therefore you can easily mv, cp, rm, ls. The file contains not only actural name list of spectrum but also additional lines as "sdb command" and "sdb comment". All entries are in a single line of a .sdb file.

SCN ENTRY

The most lines of the .sdb file are "scn entries". The line contains at least one field. Each field is divided by the ASCII "tab" code.
name field
The first field is the name of .scn. If name is not attached by ".scn", the commands automatically attach it when using. If the first character is the character "/", the file is assigned by the absorute pass like UNIX/LINUX file names. If it is not, the file is assigned by the relative pass like UNIX/LINUX file names, although the envilonment parameter STAR_DATA may be applied (See load in detail).
flag field
The second field is the flag for the profile data. The entry should be the word "good" or "bad". If the flag entry is blank or missing, the command assumes it is "good". This flag is used mainly be integ, and cotrolled by sdbselect, sdbflag, scnflag. Some commands process only for profiles with "good" flag, and do nothing but pass for "bad" profiles.
argument fields
The third and following entris are used several commands. It contains some information on this .scn entry.

SDB COMMAND

The "sdb command" is a line of which first character is "!". The line controls procedures in a sdb flow. Such as making backup file, integration separation, etc.
At present (1998/5/23) only backup command is supported.
!backup=number
Define the backup version number. This command must be in the first line of the .sdb file. The command sdbsave will make a backup file using this information. If the first line dose not start with "backup command", the file is assumed that "!backup=0".

COMMENT

Free comments can be written in the .sdb file. The first character of the sdb comment must be "#".

SEE ALSO

sdbload, sdbsave, scn2sdb, sdbflag, scnflag, integ

BUGS

HISTORY

ver.1
1992/4/17 T.Handa
ver.3
1997/11/12 T.Handa

MANUAL VERSION

1998/5/23 T.Handa