Skip to content

Commit

Permalink
Merge pull request #1471 from metno/debug-flaky-test
Browse files Browse the repository at this point in the history
Investigate flaky CI test
  • Loading branch information
magnusuMET authored Jan 7, 2025
2 parents 229b055 + d07f1a3 commit cb84c4c
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])

if (end_date - start_date) / np.timedelta64(1, "h") > (366 * 24):
raise ValueError(
Expand Down

0 comments on commit cb84c4c

Please sign in to comment.