Commit e9a60006 authored by Cynthia Crowley's avatar Cynthia Crowley

Fast config abbreviate forecasts to 3 months. Add comments to config

parent 403fc312
Pipeline #75997959 passed with stages
in 18 minutes and 53 seconds
......@@ -2,9 +2,15 @@
from config_cfs import CFSConfig
class CFSConfigFast(CFSConfig):
# Skip 6-month, >12-month integration periods:
def integration_windows() -> List[int]:
return [3, 12]
# Use only the first 3 forecast ensemble members:
def forecast_ensemble_members(self, yearmon, *, lag_hours: Optional[int] = None):
return CFSConfig.forecast_ensemble_members(self, yearmon, lag_hours=lag_hours)[:3]
return CFSConfig.forecast_ensemble_members(self, yearmon, lag_hours=lag_hours)[:2]
# Forecast out only 3 months instead of 9:
def forecast_targets(self, yearmon):
return dates.get_next_yearmons(yearmon, 3)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment