Skip to content

Commit 7508485

Browse files
committed
coverage
1 parent 16b205b commit 7508485

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

esis/flights/f1/data/synth/_scene_aia/_scene_aia.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,12 @@ def scene_aia(
6565
limit
6666
The maximum number of files to download per wavelength.
6767
"""
68-
l1 = None
68+
l1 = level_1()
6969

7070
if time_start is None:
71-
if l1 is None:
72-
l1 = level_1()
7371
time_start = l1.inputs.time_start[{l1.axis_time: 0}].ndarray.mean()
7472

7573
if time_stop is None:
76-
if l1 is None:
77-
l1 = level_1()
7874
time_stop = l1.inputs.time_end[{l1.axis_time: ~0}].ndarray.mean()
7975

8076
wavelength_aia = [304, 193, 304] * u.AA

0 commit comments

Comments
 (0)