Kronos IDL library

Library to retrieve and process CASSINI-RPWS-HFR data

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

./

mode__define.pro


Describes the mode class

Author information

Author

Baptiste Cecconi

History

2005/11/15: Created

2005/11/15: Last Edit

Class description for mode

Fields

Fields in mode

BANDABC ptr_new()
BANDH1 ptr_new()
BANDH2 ptr_new()
CYCLEIND1 0S
CYCLEIND2 0S
DATA 0S
DAY1 0S
DAY2 0S
DDDAY1 0S
DDDAY2 0S
HOUR1 0S
HOUR2 0S
MINUTE1 0S
MINUTE2 0S
MODEIND 0S
MONTH1 0S
MONTH2 0S
NAME ''
SECOND1 0S
SECOND2 0S
YEAR1 0S
YEAR2 0S

Routines

Routines from mode__define.pro

result = mode::get_filename_result()

Creates a name for the result data file

result = mode::get_mode()

Gives all selected parameters for the mode

result = mode::compare_mode(line)

Compares the mode described in self with the mode described in line line is a line of a .lis file Returns 0 if they are not the same, 1 if they can be the same, 2 if the beginning of the time interval of the line is too early, 3 if the end of the time interval of the line is too late

result = mode::init(bandABC, bandH1, bandH2, year1, month1, day1, ddday1, hour1, min1, sec1, year2, month2, day2, ddday2, hour2, min2, sec2, data, modeind, cycleind1, cycleind2, antset, radiosource)
mode::cleanup
result = mode::find_lisfilesnames(dirsnames)

Creates the list of the .lis files

result = mode::find_mode(tabfileinter)

Finds the datarecords in the .lis files with the parameters we want

mode__define

mode__define is a procedure that <behavior desc here>

Routine details

top source mode::get_filename_result

result = mode::get_filename_result()

Creates a name for the result data file

Statistics

Lines:
34 lines
Cyclomatic complexity:
11
Modified cyclomatic complexity:
4

top source mode::get_mode

result = mode::get_mode()

Gives all selected parameters for the mode

Statistics

Lines:
73 lines
Cyclomatic complexity:
16
Modified cyclomatic complexity:
12

top source mode::compare_mode

result = mode::compare_mode(line)

Compares the mode described in self with the mode described in line line is a line of a .lis file Returns 0 if they are not the same, 1 if they can be the same, 2 if the beginning of the time interval of the line is too early, 3 if the end of the time interval of the line is too late

Parameters

line

Statistics

Lines:
430 lines
Cyclomatic complexity:
114
Modified cyclomatic complexity:
106

top source mode::init

result = mode::init(bandABC, bandH1, bandH2, year1, month1, day1, ddday1, hour1, min1, sec1, year2, month2, day2, ddday2, hour2, min2, sec2, data, modeind, cycleind1, cycleind2, antset, radiosource)

Parameters

bandABC
bandH1
bandH2
year1
month1
day1
ddday1
hour1
min1
sec1
year2
month2
day2
ddday2
hour2
min2
sec2
data
modeind
cycleind1
cycleind2
antset
radiosource

Statistics

Lines:
31 lines
Cyclomatic complexity:
3
Modified cyclomatic complexity:
3

top source mode::cleanup

mode::cleanup

Statistics

Lines:
5 lines
Cyclomatic complexity:
2
Modified cyclomatic complexity:
2

top source mode::find_lisfilesnames

result = mode::find_lisfilesnames(dirsnames)

Creates the list of the .lis files

Parameters

dirsnames

Statistics

Lines:
14 lines
Cyclomatic complexity:
4
Modified cyclomatic complexity:
4

top source mode::find_mode

result = mode::find_mode(tabfileinter)

Finds the datarecords in the .lis files with the parameters we want

Parameters

tabfileinter

Statistics

Lines:
130 lines
Cyclomatic complexity:
32
Modified cyclomatic complexity:
28

top source mode__define

mode__define

mode__define is a procedure that <behavior desc here>

Other attributes

Uses:

ddmm_to_ddd, hms_s, make_dir_tab

Statistics

Lines:
25 lines
Cyclomatic complexity:
22
Modified cyclomatic complexity:
22

File attributes

Modification date: Fri Jan 9 19:59:00 2015
Lines: 742