Skip to content
Snippets Groups Projects
Commit e5884c96 authored by Anne Philipp's avatar Anne Philipp
Browse files

minor fix for purefc check

parent a4531f1c
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ import inspect
sys.path.append('../')
import _config
from mods.tools import my_error, silent_remove
from mods.checks import check_grid, check_area, check_levels
from mods.checks import check_grid, check_area, check_levels, check_purefc
# ------------------------------------------------------------------------------
# CLASS
......
......@@ -916,12 +916,10 @@ class EcFlexpart(object):
else:
t_enddate = t_date + timedelta(2*int(c.dtime))
# squeeze out information of last two steps contained
# in deac_vals[parId]
# if step+int(c.dtime) == c.maxstep and c.purefc
# or t_dt+timedelta(hours = int(c.dtime))
# >= t_enddate:
# Note that deac_vals[parId][0] has not been popped in this case
# squeeze out information of last two steps
# contained in deac_vals[parId]
# Note that deac_vals[parId][0] has not been popped
# in this case
if step == c.maxstep and c.purefc or \
t_dt == t_enddate:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment