-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestDrivers.jl
37 lines (26 loc) · 968 Bytes
/
testDrivers.jl
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
#=
testDrivers
Copyright © 2014 Vera Abaimova <[email protected]>
Distributed under terms of the MIT license.
=#
## A program to test the drivers that preprocess the data
include("helperFuncs.jl")
include("lightcurveFuncs.jl")
include("fitsHeaderData.jl")
include("preProcessingMain.jl")
function testLCDriver(settingsFile::String,headerKeywordList::String,chunkNum::Int64)
# settingsFile = "CREATIVE_STATION_SETTINGS.txt"
# chunkNum = 1
mySettings = initializeSettings(settingsFile,headerKeywordList,chunkNum)
statusIO = open("STATUS.txt","r+")
allKIDs = dir_KIDs(mySettings.fits_dir)
firstKID = allKIDs[1]
lightcurveDriver(mySettings,firstKID,allKIDs,chunkNum,statusIO)
end
function testMain()
chunkNum = 1
settingsFile = "CREATIVE_STATION_SETTINGS.txt"
statusFile = "STATUS_1.txt"
headerKeywordList = "headerKeyWordList.txt"
main(chunkNum,settingsFile,statusFile,headerKeywordList)
end