Skip to content

Commit

Permalink
Update default fuel version
Browse files Browse the repository at this point in the history
  • Loading branch information
lautenberger committed Feb 8, 2025
1 parent 81c8889 commit e1c3cff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudfire/fuel_wx_ign.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def round_time_to_nearest(t,base):
# Fuel inputs - source (landfire) and version (1.4.0, 2.0.0, etc.)
parser.add_argument("--do_fuel", default=True, required = False, nargs='?')
parser.add_argument("--fuel_source", default='landfire', required = False, nargs='?')
parser.add_argument("--fuel_version", default='2.4.0_2.3.0', required = False, nargs='?')
parser.add_argument("--fuel_version", default='2.4.0', required = False, nargs='?')

# Weather inputs
parser.add_argument("--get_available_wx_times", default=False, required = False, nargs='?')
Expand All @@ -120,8 +120,8 @@ def round_time_to_nearest(t,base):
args = parser.parse_args()

# Print available weather dates and return?
t = datetime.datetime.utcnow() - timedelta(hours = 5)
#t = datetime.datetime.now(datetime.UTC) - timedelta(hours = 5)
#t = datetime.datetime.utcnow() - timedelta(hours = 5)
t = datetime.datetime.now(datetime.UTC) - timedelta(hours = 5)
five_hours_ago = datetime.datetime(t.year, t.month, t.day, t.hour, t.minute, tzinfo=datetime.timezone.utc)
forecast_cycle_latest = round_time_to_nearest(five_hours_ago, 6)
forecast_cycle_earliest = forecast_cycle_latest - timedelta(hours = 66)
Expand Down

0 comments on commit e1c3cff

Please sign in to comment.