general/misc/
get_file_names.pro
PROCEDURE: get_file_names, fnames PURPOSE: Gets an array of filenames within a time range INPUT: fnames: named variable in which the output array of filenames is placed. KEYWORDS: TIME_RANGE: Two element vector (double or string) specifying the time range. If time range is not set, then "GET_TIMESPAN" will be called to get a time range. MASTERFILE: Use this keyword to pass in one of the following: 1) Name of a masterfile that contains times and associated filenames. The file should have the format: yyyy-mm-dd/hh:mm:ss yyyy-mm-dd/hh:mm:ss fullpathfilename with one line for each file. (Hint: for CDF files, the masterfile can be created using the UNIX program 'kpdfile' or the IDL procedure "MAKE_CDF_INDEX".) 2) Full path/file names with wildcard characters to search for relevant files. Input should be in the form: /path/xxx* for files of form /path/xxx_date. 3) The name of a previously defined environment variable containing data in the form of 1 or 2 above. ROOT_DIR: Optional root_directory of the masterfile. This will properly manage operating system dependancies. CREATED BY: Davin Larson MODIFIED BY: Peter Schroeder VERSION: 1.26 00/10/04 get_file_names.pro
Routines
top source get_file_names
get_file_names, fnames, starttimes=starttimes, endtimes=endtimes, masterfile=masterfile, numrecs=numrecs, TIME_RANGE=TIME_RANGE, ROOT_DIR=ROOT_DIR, NFILES=NFILES
Parameters
- fnames
Keywords
- starttimes
- endtimes
- masterfile
- numrecs
- TIME_RANGE
- ROOT_DIR
- NFILES
File attributes
Modification date: | Thu Feb 13 16:43:47 2014 |
Lines: | 84 |