Skip to content

Commit

Permalink
Revert the changes for window manipulation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaruidong2017 committed Aug 23, 2023
1 parent 696fbf1 commit c32b1b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ush/python/pygfs/task/land_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c32b1b4

Please sign in to comment.