IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1692


Ignore:
Timestamp:
Sep 3, 2004, 6:29:14 PM (22 years ago)
Author:
Paul Price
Message:

Minor changes to config files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r1691 r1692  
    1 %%% $Id: psLibSDRS.tex,v 1.107 2004-09-04 04:23:21 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.108 2004-09-04 04:29:14 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    35313531\end{verbatim}
    35323532
    3533 Given a previously allocated metadata container, \code{md}, and the
    3534 name of a configuration file, \code{filename},
    3535 \code{psMetadataParseConfig} shall parse the configuration file,
    3536 placing the contained key/type/value/comment quads into the metadata,
    3537 and returning the number of lines that failed to parse.  Multiple
    3538 specifications of a key that haven't been declared (see below) are
    3539 overwritten if and only if \code{overwrite} is \code{true}.
     3533Given a metadata container, \code{md}, and the name of a configuration
     3534file, \code{filename}, \code{psMetadataParseConfig} shall parse the
     3535configuration file, placing the contained key/type/value/comment quads
     3536into the metadata, and returning the number of lines that failed to
     3537parse.  Multiple specifications of a key that haven't been declared
     3538(see below) are overwritten if and only if \code{overwrite} is
     3539\code{true}.
     3540
     3541If the metadata container is \code{NULL}, it shall be allocated.  If
     3542the file specified by \code{filename} is not readable, then the
     3543function shall generate an error and return \code{-1}.
    35403544
    35413545The configuration file shall consist of plain text with
     
    35573561
    35583562\tbd{May, in the future, require more types, including
    3559 \code{U8,S16,C64}, which will necessitate updating the definition of
    3560 \code{psMetadata}.}
     3563\code{U8,S16,C64}, which will also necessitate updating the definition
     3564of \code{psMetadata}.}
    35613565
    35623566The value shall follow the type: strings may consist of multiple
     
    36163620comment * The rest of this line is ignored, but `comment' is set to be non-unique
    36173621comment STR This
    3618 comment STR      is
    3619 comment STR         a
    3620 comment STR           non-unique
    3621 comment STR                      key
     3622 comment STR     is
     3623  comment STR       a
     3624   comment STR        non-unique
     3625    comment STR                  key
    36223626Float F64 1.23456 # This generates a warning, and, if `overwrite' is `false', is ignored
    36233627\end{verbatim}
Note: See TracChangeset for help on using the changeset viewer.