kashif HF Staff commited on
Commit
7de76ca
·
verified ·
1 Parent(s): e2faa3c

Fix the rollout clock ordering

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -92,8 +92,9 @@ for step in range(20): # 5 days
92
  with torch.no_grad():
93
  outputs = model(**inputs)
94
  forecast = processor.postprocess(outputs.prediction, state)
95
- valid_time = valid_time + step_seconds
96
  state = processor.advance_state(state, forecast, valid_time)
 
97
  ```
98
 
99
  Turning the gridded cyclone diagnostics into tracks requires the tracker from the
 
92
  with torch.no_grad():
93
  outputs = model(**inputs)
94
  forecast = processor.postprocess(outputs.prediction, state)
95
+ # `valid_time` is the time this forecast is valid at, so it stamps the appended frame first.
96
  state = processor.advance_state(state, forecast, valid_time)
97
+ valid_time = valid_time + step_seconds
98
  ```
99
 
100
  Turning the gridded cyclone diagnostics into tracks requires the tracker from the