-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheivr_process_data.int
76 lines (70 loc) · 1.46 KB
/
eivr_process_data.int
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version "1";
object 'PARM' "parms" {
parms = {
{
name = "archiveDir",
default = "/var/opt/DI/dl-dataroot/IMPdata/archive/eivr-tracelog"
},
{
name = "sourceDir",
default = "/mnt/eivr"
},
{
name = "buildDir",
default = "/var/opt/DI/dl-dataroot/IMPdata/temp/build/eivr"
}
}
};
object 'TSKL' "Main" {
contents = {
`Task_1`
}
};
object 'TASK' "Task_1" {
inputs = {
`Directory-1-DIR`
},
output = `Execrows-1-EXR`,
processes = {
`Calc-1-CAL`,
`filename-SRT`
}
};
object 'INPT' "Directory-1-DIR" {
//+ coordinatex = `33`,
//+ coordinatey = `8`,
input_type = `directory`,
starname = `eIVRTrace*.txt`,
directory = `$sourceDir/`
};
object 'PROC' "Calc-1-CAL" {
//+ coordinatex = `233`,
//+ coordinatey = `8`,
process_type = `calc`,
input = `filename-SRT`,
calcs = {
{
name = `archFile`,
value = `concat("$(buildDir)","/",Filename,".bz2")`
}
}
};
object 'PROC' "filename-SRT" {
//+ coordinatex = `133`,
//+ coordinatey = `8`,
process_type = `sort`,
input = `Directory-1-DIR`,
sort_columns = { `Filename` }
};
object 'OUTP' "Execrows-1-EXR" {
//+ coordinatex = `333`,
//+ coordinatey = `8`,
output_type = `execrows`,
input = `Calc-1-CAL`,
commands = {
`mv $$Path $buildDir/`,
`perl eIVR_parse.pl $buildDir/$$Filename`,
`bzip2 $buildDir/$$Filename`,
`mv $$archFile $archiveDir/`
}
};