Kronos IDL library

Library to retrieve and process CASSINI-RPWS-HFR data

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

./

make_file_list.pro


Contains the make_file_list function

Author information

Author

Baptiste Cecconi

History

2009/05/05: Created

2012/06/01: Last Edit

Routines

top source make_file_list

result = make_file_list(aaaajjjd, hd, aaaajjjf, hf [, verbose=sometype] [, level=string] [, source=string] [, antset=string] [, ephem_type=string] [, summary_type=sometype] [, /noemptyfiles])

Creates the list of the existing files for the period between the day aaaajjjd at hd (hour) and the day aaaajjjf at hf (hour). Returns a pointer towards the table of files paths.

Return value

<return desc here>

Parameters

aaaajjjd in required type=int

day of the beginning of the interesting period

hd in required type=int

hour of the beginning of the interesting period

aaaajjjf in required type=int

day of the end of the interesting period

hf in required type=int

hour of the end of the interesting period

Keywords

verbose in optional type=sometype

A keyword named verbose

level in optional type=string

level of files ('k', 'n1', 'n2'...)

source in optional type=string

name of the source('su', 'ea', 'ju', 'sc', 'ti'... (for level = n3, see src_list.txt)

antset in optional type=string

antenna parameter set ('j', 'r','d')

ephem_type in optional type=string

'qsse', 'qjse', 'qgse', 'qsec', 'vsat', 'vtit', 'vjup', 'vear', 'vsun'... (for level = ephem, see src_list.txt)

summary_type in optional type=sometype

A keyword named summary_type

noemptyfiles in optional type=boolean

Do not include files with size 0

Examples

Call of this function:

pfileList = make_file_list(aaaajjjd, hd, aaaajjjf, hf, level='n2') if (ptr_valid(pfileList) eq 0) then begin nFileList=0 endif else begin fileList=*pFileList nFileList = n_elements(fileList) ptr_free, pFileList endelse

Other attributes

Uses:

make_dir_tab

Statistics

Lines:
271 lines
Cyclomatic complexity:
75
Modified cyclomatic complexity:
68

File attributes

Modification date: Wed Jan 14 12:06:51 2015
Lines: 271