Skip to content

Commit

Permalink
Update the format of exgfs_aero_init_aerosol.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglikate committed May 9, 2024
1 parent 57ddc0f commit df0e471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/exgfs_aero_init_aerosol.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ def get_restart_files(time: datetime, incr: int, max_lookback: int, fcst_length:
if (lookback > fcst_length):
# Trying to look back farther than the length of a forecast
break
# elif (lookback == fcst_length):
# elif (lookback == fcst_length):
# Restart files at the end of the cycle don't have a timestamp
# timestamp = ""
# timestamp = ""
else:
timestamp = time.strftime("%Y%m%d.%H0000.")

Expand Down

0 comments on commit df0e471

Please sign in to comment.