Skip to content

Commit

Permalink
make stats actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpus committed Feb 6, 2022
1 parent 08b9a44 commit 4da0627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eht_met_forecast/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def compute_one_hour(site, gfs_cycle, forecast_hour, f, wait=False, verbose=Fals
if verbose:
print(site['name'], 'fetching for hour', forecast_hour, file=sys.stderr)
with record_latency('fetch gfs data'):
layers_amc = gfs15_to_am10(site['lat'], site['lon'], site['alt'], gfs_cycle, forecast_hour, wait=wait, verbose=verbose, stats=None)
layers_amc = gfs15_to_am10(site['lat'], site['lon'], site['alt'], gfs_cycle, forecast_hour, wait=wait, verbose=verbose, stats=stats)
if layers_amc is None:
return # no line emitted

Expand Down

0 comments on commit 4da0627

Please sign in to comment.