Skip to content

Commit

Permalink
Remove redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Dec 4, 2023
1 parent 957e61b commit 8319826
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nwp/jobs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import datetime
import datetime as dt
import json
from collections.abc import Callable
Expand Down Expand Up @@ -87,7 +86,7 @@ def build_config_on_runtime(model: str, run: str, delay: int = 0) -> dict:

@dagster.daily_partitioned_config(start_date=dt.datetime(2015, 1, 1))
def CAMSDailyPartitionConfig(start: dt.datetime, _end: dt.datetime) -> dict[str, Any]:
if start < datetime.datetime.utcnow() - datetime.timedelta(days=30):
if start < dt.datetime.utcnow() - dt.timedelta(days=30):
# Only use subset for tape-based backfill
single_level_variables = ['total_absorption_aerosol_optical_depth_400nm', 'total_absorption_aerosol_optical_depth_440nm',
'total_absorption_aerosol_optical_depth_469nm', 'total_absorption_aerosol_optical_depth_500nm', 'total_absorption_aerosol_optical_depth_532nm',
Expand Down

0 comments on commit 8319826

Please sign in to comment.