diff --git a/source/python/classes/ControlFile.py b/source/python/classes/ControlFile.py index 3dfdc071ad2d9be0900fda95379ae6b179cfc9b1..d9475eea2cbed92fc52a5417f2bb588ed9678dd2 100644 --- a/source/python/classes/ControlFile.py +++ b/source/python/classes/ControlFile.py @@ -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 diff --git a/source/python/classes/EcFlexpart.py b/source/python/classes/EcFlexpart.py index cf3b7510ea1ce19bc78c7efb48d62db2a27317fe..7b66a26958dcda0ec48b0a3ad55a364c18551422 100644 --- a/source/python/classes/EcFlexpart.py +++ b/source/python/classes/EcFlexpart.py @@ -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: