Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 9, 2024
1 parent c65386d commit 37f9fea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions atlite/datasets/era5.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ def retrieval_times(coords, static=False, monthly_requests=False):
query = {
"year": str(year),
"month": [str(month).zfill(2)],
"day": list(t[t.month == month].day.unique().astype(str).str.zfill(2)),
"day": list(
t[t.month == month].day.unique().astype(str).str.zfill(2)
),
"time": ["%02d:00" % h for h in t[t.month == month].hour.unique()],
}
times.append(query)
Expand All @@ -320,7 +322,7 @@ def retrieval_times(coords, static=False, monthly_requests=False):
}
times.append(query)
return times


def noisy_unlink(path):
"""
Expand Down

0 comments on commit 37f9fea

Please sign in to comment.