From c32b1b46d64d5bb795bf88de334ab3cff5a77616 Mon Sep 17 00:00:00 2001 From: Jiarui Dong Date: Tue, 22 Aug 2023 20:32:01 -0400 Subject: [PATCH] Revert the changes for window manipulation. --- ush/python/pygfs/task/land_analysis.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ush/python/pygfs/task/land_analysis.py b/ush/python/pygfs/task/land_analysis.py index 2de3e6933d..7ef74626ef 100644 --- a/ush/python/pygfs/task/land_analysis.py +++ b/ush/python/pygfs/task/land_analysis.py @@ -34,7 +34,6 @@ def __init__(self, config): _res = int(self.config['CASE'][1:]) _window_begin = add_to_datetime(self.runtime_config.current_cycle, -to_timedelta(f"{self.config['assim_freq']}H") / 2) - _window_begin = add_to_datetime(_window_begin, -to_timedelta(f"1S")) _letkfoi_yaml = os.path.join(self.runtime_config.DATA, f"{self.runtime_config.RUN}.t{self.runtime_config['cyc']:02d}z.letkfoi.yaml") # Create a local dictionary that is repeatedly used across this class @@ -45,7 +44,7 @@ def __init__(self, config): 'npz_ges': self.config.LEVS - 1, 'npz': self.config.LEVS - 1, 'LAND_WINDOW_BEGIN': _window_begin, - 'LAND_WINDOW_LENGTH': f"PT{self.config['assim_freq']}H1S", + 'LAND_WINDOW_LENGTH': f"PT{self.config['assim_freq']}H", 'OPREFIX': f"{self.runtime_config.RUN}.t{self.runtime_config.cyc:02d}z.", 'APREFIX': f"{self.runtime_config.RUN}.t{self.runtime_config.cyc:02d}z.", 'jedi_yaml': _letkfoi_yaml