Skip to content

Commit

Permalink
Attempt to fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
thorbjoernl committed Jan 7, 2025
1 parent 892193f commit 5702be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaerocom/io/mscw_ctm/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def _open_file(self):
file_end_date = nc["time"][:].data.max()

start_date = min([x for x in [start_date, file_start_date] if x is not None])
end_date = max([x for x in [file_end_date, file_end_date] if x is not None])
end_date = max([x for x in [end_date, file_end_date] if x is not None])

logger.info(f"******* Found enddate, start_date: {end_date}, {start_date}")
logger.info(f"{(end_date - start_date) / np.timedelta64(1, 'h')}")
Expand Down

0 comments on commit 5702be9

Please sign in to comment.