1 Language
              LINEDB\ Command Language Summary
    This language is an interface to on-line and off-line line catalogs.

    USE       Define the atomic and molecular line database(s) used as input and/or output
    SELECT    Select lines in the input database(s) according to user defined filters
    LIST      List lines from the current line index
    INSERT    Insert lines from the current line index into the output database
    REMOVE    Remove lines from the current line index from the the output database
1 USE
        LINEDB\USE  IN|OUT|BOTH  dbname1  [[dbname2]   [dbname3...]] [/OVER-
    WRITE]

    Define the atomic and molecular line database(s) used  as  input  and/or
    output.

    Input databases can be either an existing filenames or a database avail-
    able through internet. Recognized internet databases are
       JPL       the JPL molecular spectroscopy database
       CDMS,     the Cologne Database for Molecular Spectrocopy
       VOPARIS   the Paris VO observatory interface to the CDMS database
    These names can thus not be used as database filenames.

    The input file is tested to determine  whether  it  is  a  valid  SQLITE
    database.  If  not,  it is assumed to be an ASCII file following the JPL
    data format, see e.g.
    http://spec.jpl.nasa.gov/ftp/pub/catalog/README, and
    http://spec.jpl.nasa.gov/ftp/pub/catalog/catdir.html for examples.

    Multiple input databases can be used together. However, only one  output
    database  can  be defined at a given time. The OUT and BOTH keywords ap-
    plies only to SQLITE databases. The /OVERWRITE option implies  that  the
    output database is first removed. The absence of the option implies that
    any subsequent call to the INSERT command will append lines to  the  al-
    ready existing output database.
1 SELECT
        LINEDB\SELECT [/ORIGIN Originname] [/SPECIES Name1 Name2 ...] [/FREQ
    Fmin Fmax] [/ENERGY Emax] [/AIJ Amax] [/SORTBY Order] [/EPSILON Eps]

    Select lines available from the input database. An index containing  the
    line information is formed and a SIC structure mapping these information
    is defined. The index can be sorted by increasing frequency  or  energy.
    One or more species name can be provided, wildcards '*' can be used.

    The  initial origin of the line (e.g. JPL, CDMS or private catalog), the
    name of the species, a frequency range, the maximum energy of the  upper
    level  and  the maximum Einstein coefficient Amax can be used as filters
    in the line selection process.

    As an output, the LINES SIC structure will contain the  content  of  the
    current index, i.e.,
       LINES%          Global structure
       LINES%N         Integer scalar      [---] Number of lines in current index
       LINES%SPECIES   Character[LINES%N]  [---] Species names
       LINES%FREQUENCY Double[LINES%N]     [MHz] Frequencies
       LINES%UNCERTAINTY Real[LINES%N]     [MHz] Uncertainty of the line frequency
       LINES%AIJ       Double[LINES%N]     [s-1] Einstein coefficient
       LINES%EUP       Real[LINES%N]       [  K] Upper level energy
       LINES%GUP       Real[LINES%N]       [---] Upper level degeneracy
       LINES%QNUP      Character[LINES%N]  [---] Upper level quantum numbers
       LINES%ELOW      Real[LINES%N]       [  K] Lower level energy
       LINES%GLOW      Real[LINES%N]       [---] Lower level degeneracy
       LINES%QNLOW     Character[LINES%N]  [---] Lower level quantum numbers

    The  lines  will be sorted according to Order, which can be any combina-
    tion of "frequency", "energy" and "aij", and all the subsequent permuta-
    tions.   Default is frequency. If sortby is ["energy", "aij"] and if ep-
    silon is specified, aij will be used as a criterion when the  difference
    in energy is less than epsilon.
1 LIST
        LINEDB\LIST [/FULL] [/TOC]

    List  a  set  of  columns for all lines found in the current index built
    during the last SELECT command. The option /FULL lists all  the  columns
    available in the database.

    The /TOC option partitions the lines by equivalence class (species name)
    and gives a count of each class.
1 INSERT
        LINEDB\INSERT

    Insert the entries (lines properties and  partition  functions)  of  the
    current  line  index (result of the last SELECT command) into the output
    database.
1 REMOVE
        LINEDB\REMOVE

    Remove the entries (lines properties and  partition  functions)  of  the
    current  line  index (result of the last SELECT command) into the output
    database. The partition function is erased only if no other line of  the
    same species remains in the database.
1 ENDOFHELP








































