Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Heimann
lassie
Commits
ed009c87
Commit
ed009c87
authored
Jun 23, 2017
by
Sebastian Heimann
Browse files
fixed a memory leak
parent
839978e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core.py
View file @
ed009c87
...
...
@@ -427,7 +427,7 @@ def search(
iframe
=
int
(
round
(((
tpeak
-
t0
)
-
ioff
*
deltat_cf
)
/
deltat_cf
))
frame
=
frames
[:,
iframe
]
imax
=
num
.
argmax
(
frame
)
imax
=
imaxs
[
i
frame
]
latpeak
,
lonpeak
,
xpeak
,
ypeak
,
zpeak
=
\
grid
.
index_to_location
(
imax
)
...
...
@@ -500,6 +500,9 @@ def search(
io
.
save
([
tr_stackmax
,
tr_stackmax_indx
],
ifm_path_template
)
del
frames
del
frame
logger
.
info
(
'end processing time window group: %s - %s'
%
(
util
.
time_to_str
(
tmin_win
),
util
.
time_to_str
(
tmax_win
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment