1
1
# TEST FILES/DATA README
2
2
3
3
The data within this folder is used by the unit tests, located in .../tests/* /* .
4
+ In some cases its the location of the given file being used in the test rather than its contents.
4
5
5
6
## Files:
6
7
7
8
** baseline_10klines_2.0.db**
8
9
Small (10k lines) version of pointing database located at /demo/baseline_v2.0_1yr.db.
9
10
Used by:
11
+ - test_combined_data_reading.py
10
12
- test_createResultsSQLDatabase.py
11
13
- test_makeConfigPP.py
12
- - test_makeConfigOIF.py
13
- - test_makeMultiConfigOif.py
14
+ - test_makeConfigOIF.py
14
15
- test_makeSLURMscript.py
16
+ - test_PPCommandLineParser.py
17
+ - test_PPConfigParser.py
18
+ - test_PPMatchPointingToObservations.py
15
19
- test_PPReadAllInput.py
16
20
- test_PPReadPointingDatabase.py
17
21
18
- ** config_test\* .ini**
19
- Example OIF config files with standardised names.
20
- Used by:
21
- - test_makeMultiConfigOIF.py
22
- - test_makeSLURMscript.py
23
-
24
22
** detectors_corners.csv**
25
23
Corners of the LSST camera footprint.
26
24
Used by:
27
25
- test_makeConfigPP.py
26
+ - test_PPApplyFOVFilter.py
27
+ - test_PPConfigParser.py
28
28
- test_PPFootprintFilter.py
29
29
30
- ** lsst-total-r.dat **
31
- Throughput of LSST per wavelength.
32
- Used by:
33
- - /sorcha/lsstcomet/tests/test_model .py
30
+ ** orbit_test_files/orbit_bcart.csv **
31
+ Barycentric cartesian orbit format test input file
32
+ Used by:
33
+ -test_OrbitAuxReader .py
34
34
35
- ** makeConfigOIF _ * .ini **
36
- Example OIF config files.
37
- Used by:
38
- - test_makeConfigOIF .py
35
+ ** orbit_test_files/orbit_bcom.csv **
36
+ Barycentric cometary orbit format test input file
37
+ Used by:
38
+ -test_OrbitAuxReader .py
39
39
40
- ** makeConfigPP_ini**
41
- Example SSPP config file.
42
- Used by:
43
- - test_makeConfigPP.py
40
+ ** orbit_test_files/orbit_bkep.csv**
41
+ Barycentric Keplarian orbit format test input file
42
+ Used by:
43
+ -test_OrbitAuxReader.py
44
+
45
+ ** orbit_test_files/orbit_cart.csv**
46
+ Heliocentric cartesian orbit format test input file
47
+ Used by:
48
+ -test_OrbitAuxReader.py
49
+
50
+ ** orbit_cart_wrong_cols.csv**
51
+ Heliocentric cartesian orbit format test input file with incorrect headers
52
+ Used by:
53
+ -test_OrbitAuxReader.py
54
+
55
+ ** orbit_test_files/orbit_com.csv**
56
+ Heliocentric cometary orbit format test input file
57
+ Used by:
58
+ -test_OrbitAuxReader.py
59
+
60
+ ** orbit_test_files.orbit_com_wrong_cols.csv**
61
+ Heliocentric cometary orbit format test input file with incorrect columns
62
+ Used by:
63
+ -test_OrbitAuxReader.py
64
+
65
+ ** orbit_test_files/orbit_extra_cols.csv**
66
+ Heliocentric cartiesian orbit format test input file with extra columns
67
+ Used by:
68
+ -test_OrbitAuxReader.py
44
69
45
- ** makeMultiConfigOIF_test\* .ini**
46
- Example OIF config files.
70
+ ** orbit_test_files/orbit_kep.csv**
71
+ Heliocentric Keplarian orbit format test input file
72
+ Used by:
73
+ -test_OrbitAuxReader.py
74
+
75
+ ** orbit_test_files/orbit_kep_wrong_cols.csv**
76
+ Heliocentric Keplarian orbit format test input file with incorrect columns
77
+ Used by:
78
+ -test_OrbitAuxReader.py
79
+
80
+ ** orbit_test_files/orbit_unknown_format.csv**
81
+ Orbit input file with unallowed orbit format
82
+ Used by:
83
+ -test_OrbitAuxReader.py
84
+
85
+
86
+ ** makeConfigPP_config.ini**
87
+ Example Sorcha config file.
47
88
Used by:
48
- - test_makeMultiConfigOIF .py
89
+ - test_makeConfigPP .py
49
90
50
91
** makeSLURMscript_ * .sh**
51
92
Example SLURM scripts.
52
93
Used by:
53
94
- test_makeSLURMscript.py
54
95
55
- ** oif_temptest.csv**
56
- Example OIF output with standardised name.
57
- Used by:
58
- - test_createTemporaryDatabases.py
59
-
60
- ** oiftestoutput_header.csv**
61
- Example OIF output with extended header.
62
- Used by:
63
- - test_PPReadOif.py
96
+ ** ObsCodes_test.json**
97
+ Example MPC-style observatory codes files
98
+ Used by:
99
+ - test_simulation_parsing.py
64
100
65
101
** oiftestoutput.csv**
66
- Example OIF output in .csv format.
102
+ Example ephemeris output in .csv format.
67
103
Used by:
68
- - test_PPReadOif.py
104
+ - test_CSVReader.py
105
+ - test_OIFReader.py
106
+
107
+ ** oiftestoutput.h5**
108
+ Example ephemeris output, in HDF5 format
109
+ Used by:
110
+ - test_OIFReader.py
111
+ - tests/readers/test_HDF5Reader.py
69
112
70
113
** oiftestoutput.txt**
71
- Example OIF output, whitespace-separated.
114
+ Example ephemeris output, whitespace-separated.
72
115
Used by:
73
- - test_createResultsSQLDatabase.py
116
+ - test_CombinedDataReader.py
117
+ - test_createResultsSQLDatabase.py
118
+ - test_CSVReader.py
119
+ - test_PPJoinEphemeridesAndOrbits.py
74
120
- test_makeConfigOIF.py
121
+ - test_makeSLURMscript.py
122
+ - test_OIFReader.py
123
+ - test_PPCheckInputObjectIDs.py
124
+ - test_PPCommandLineParser.py
75
125
- test_PPJoinEphemeridesAndOrbits.py
76
126
- test_PPReadEphemerides.py
77
- - test_PPReadOif.py
78
127
79
- ** orbits_test\* .txt**
128
+ ** oiftestoutput_comment.csv**
129
+ Example ephemeris output in .csv format when the columns
130
+ are not the start of row 0 but later in the file after a header
131
+ Used by:
132
+ - tests/readers/test_CSVReader.py
133
+
134
+ ** orbits_test1.txt**
80
135
Example orbits files with standardised names.
81
136
Used by:
82
- - test_makeMultiConfigOIf.py
83
137
- test_makeSLURMscript.py
84
138
85
- ** params_test \* .txt**
86
- Example physical parameters files with standardised names.
139
+ ** orbits_test2 .txt**
140
+ Example orbits files with standardised names.
87
141
Used by:
88
- - test_makeMultiConfigOIf.py
89
- - test_makeSLURMscript.py
142
+ - test_makeSLURMscript.py
143
+
144
+ ** params_test1.txt**
145
+ Example physical parameters files with standardised names.
146
+ Used by:
147
+
148
+ ** params_test2.txt**
149
+ Example physical parameters files with standardised names.
150
+ Used by:
90
151
91
152
** PPReadAllInput_oif.txt**
92
153
Example OIF output, compatible with pointing database.
93
154
Used by:
94
- - test_PPReadAllInput.py
155
+ - test_combined_data_reading.py
156
+ - test_CombinedDataReader.py
95
157
96
158
** PPReadAllInput_orbits.des**
97
159
Example orbits file, compatible with pointing database.
98
160
Used by:
99
- - test_PPReadAllInput.py
161
+ - test_combined_data_reading.py
162
+ - test_CombinedDataReader.py
163
+ - test_ephemeris_generation.py
100
164
101
165
** PPReadAllInput_params.txt**
102
166
Example physical parameters file, compatible with pointing databse.
103
167
Used by:
104
- - test_PPReadAllInput.py
168
+ - test_combined_data_reading.py
169
+ - test_CombinedDataReader.py
170
+ - test_ephemeris_generation.py
105
171
106
172
** PPReadOrbitFile_bad.txt**
107
173
Example orbits file with bad column headers.
108
174
Used by:
109
- - test_PPReadOrbitFile .py
175
+ - test_OrbitAuxReader .py
110
176
111
177
** sqlresults.db**
112
- Example output in SQL database form.
178
+ Example sorcha output in SQL database form.
113
179
Used by:
114
- - test_createResultsSQLDatabase.py
115
- - test_PPCommandLineParser
180
+ - test_createResultsSQLDatabase.py
116
181
117
182
** test_input_fullobs.csv**
118
183
Example of full dataframe of observations created by sorcha.py.
@@ -123,62 +188,74 @@ Used by:
123
188
- test_PPDropObservations.py
124
189
- test_PPFootprintFilter.py
125
190
- test_PPLinkingFilter.py
191
+ - test_PPOutput.py
192
+ - test_PPRandomizeMeasurements.py
126
193
127
194
** test_PPConfig.ini**
128
- Example SSPP config file.
195
+ Test Sorcha config file.
129
196
Used by:
130
- - test_makeSLURMscript.py
131
- - test_PPCommandLineParser.py
132
- - test_PPConfigParser.py
133
- - test_PPOutput.py
134
- - test_PPRandomizeMeasurements.py
135
- - test_PPReadAllInput.py
197
+ - test_combined_data_reading.py
198
+ - test_makeSLURMscript.py
199
+ - test_PPCommandLineParser.py
200
+
136
201
137
202
** test_PPPrintConfigsToLog.txt**
138
203
Example of an SSPP log file.
139
204
Used by:
140
- - PPPrintConfigsToLog .py
205
+ - test_PPConfigParser .py
141
206
142
207
** testcolour.csv**
143
208
Example physical parameters file, .csv format.
144
209
Used by:
145
- - test_PPreadPhysicalParameters .py
210
+ - test_CSVReader .py
146
211
147
212
** testcolour.txt**
148
213
Example physical parameters file, whitespace-separated.
149
214
Used by:
150
- - test_createResultsSQLDatabase.py
151
- - test_PPCheckInputObjectIDs.py
152
- - test_PPCommandLineParser.py
153
- - test_PPConfigParser.py
154
- - test_PPGetMainFilterAndColourOffsets.py
155
- - test_PPJoinEphemeridesAndParameters.py
156
- - test_PPReadOif.py
157
- - test_PPReadPhysicalParameters.py
158
- - test_PPReadTemporaryEphemerisDatabase.py
215
+ - test_createResultsSQLDatabase.py
216
+ - test_CSVReader.py
217
+ - test_OIFReader.py
218
+ - test_PPCheckInputObjectIDs.py
219
+ - test_PPCommandLineParser.py
220
+ - test_PPConfigParser.py
221
+ - test_PPGetMainFilterAndColourOffsets.py
222
+ - test_PPJoinEphemeridesAndParameters.py
159
223
160
224
** testcomet.txt**
161
225
Example cometary parameters file.
162
226
Used by:
163
- - test_PPReadCometaryParameters.py
227
+ - test_CSVReader.py
228
+ - test_PPCommandLineParser.py
229
+
230
+ ** test_ephem_config.ini**
231
+ Example Sorcha config file with ephemeris keywords.
232
+ Used by:
233
+ - test_ephemeris_generation.py
164
234
165
235
** testobs_clean.csv**
166
236
Reduced version of test_input_fullobs.csv.
167
237
Used by:
168
238
- test_createResultsSQLDatabase.py
169
239
240
+ ** testdb_PPIntermDB.db**
241
+ SQL database of epehemeris output. Functionality no longer used but kept in for
242
+ possible future software development.
243
+ Used by:
244
+ - test_DatabaseReader.py
245
+
170
246
** testorb.csv**
171
247
Example orbits file, .csv format.
172
248
Used by:
173
- - test_PPReadOrbitFile.py
249
+ - test_CSVReader.py
250
+ - test_OrbitAuxReader.py
174
251
175
252
** testorb.des**
176
253
Example orbits file, whitespace-separated.
177
- Used by:
178
- - test_createResultsSQLDatabase.py
179
- - test_makeConfigOIF .py
180
- - test_makeMultiConfigOIf .py
181
- - test_PPCheckInputObjectIDs.py
182
- - test_PPCommandLineParser.py
183
- - test_PPConfigParser.py
254
+ Used by:
255
+ - test_createResultsSQLDatabase.py
256
+ - test_CSVReader .py
257
+ - test_OrbitAuxReader .py
258
+ - test_PPCheckInputObjectIDs.py
259
+ - test_PPCommandLineParser.py
260
+ - test_PPConfigParser.py
184
261
- test_PPJoinEphemeridesAndOrbits.py
0 commit comments