About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/paccess.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 paccess Context: tools

Synopsis

Gives the location of a tool's parameter file

Syntax

paccess parameterfile [mode]

Description

paccess can be used to determine where a user is picking up their parameter file from, or which parameter file will be used by default. If the mode is "rw" (the default if not specified) and no user writeable file exists in $PDIRS, $PFILES, or $UPARM, one is copied from the reference directories to a user writeable location and that file name is returned.

The optional mode argument can be use to search for read or read-write files.

Example 1

(1) paccess dmlist

Will return where dmlist.par lives. It will copy it to the user's writeable location if one does not exist.

Example 2

(2) paccess dmlist r

Will return where a "read"-able version of dmlist.par lives. If the user does not have one in their write-able directory then the location of the reference parameter file is returned.

Parameters

name type def reqd
parameterfile string   yes
mode string rw  

Detailed Parameter Descriptions

Parameter=parameterfile (string required)

parameter file to find

name of the parameter file (typically same as tool) to search for

Parameter=mode (string default=rw)

access mode to search for

The mode allows the user to select what kind of parameter file they are looking for: read-able, write-able, or both. The mode can take the values

r Read-able
w Write-able

Bugs

See the bugs page for this tool on the CIAO website for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.