Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/missions/rbsp/efw/utils/

findpath.pro


NAME: findpath.pro SYNTAX: PURPOSE: Finds the path to a particular file in current IDL paths ARGUMENTS: FILENAME -> Name of the file to find - STRING PATH <- Path to file (without "/") - STRING RETURNS: Status of find 0 - Failure 1 - Success (exact match) 2 - Success (after adding ".pro") KEYWORDS: EXACT / Find exact match only (Don't try to add '.pro') VERBOSE / Print out search pathes CALLING SEQUENCE: found=findpath('filename',pathname) case found of 0 : ERROR 1 : fullpath=pathname+'/'+filename 2 : fullpath=pathname+'/'+filename+'.pro' endcase or if not findpath('filename',path,/exact) then ERROR NOTES: By default, FINDPATH searches for exact match. If not found looks for 'filename' with ".pro" appended (unless /EXACT keyword is set). CREATED BY: John P. Dombeck 7/03/2001 MODIFICATION HISTORY: 07/03/01- J. Dombeck Original writing 06/25/04- J. Dombeck Added VERBOSE keyword Changed close -> free_lun VERSION: $LastChangedBy: aaronbreneman $ $LastChangedDate: 2014-09-10 07:48:14 -0700 (Wed, 10 Sep 2014) $ $LastChangedRevision: 15750 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/utils/findpath.pro $

Routines

top source findpath

result = findpath(filename, path, exact=exact, verbose=verbose)

Parameters

filename
path

Keywords

exact
verbose

File attributes

Modification date: Tue Oct 21 13:53:51 2014
Lines: 42