From a8362ce685512c9cd201122a65aa4ff5d0966079 Mon Sep 17 00:00:00 2001 From: Leif Denby Date: Tue, 12 Nov 2024 17:42:09 +0100 Subject: [PATCH] suggest to reduce ar_steps and forcing window with small dataset --- neural_lam/weather_dataset.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/neural_lam/weather_dataset.py b/neural_lam/weather_dataset.py index 8fb8e3d..371a0c3 100644 --- a/neural_lam/weather_dataset.py +++ b/neural_lam/weather_dataset.py @@ -50,8 +50,11 @@ def __init__( raise ValueError( "The provided datastore only provides " f"{len(self.da_state.time)} total time steps, which is too few " - "to create a single sample for the WeatherDataset configuration used" - f" in the `{split}` split." + "to create a single sample for the WeatherDataset " + f"configuration used in the `{split}` split. You could try " + "either reducing the number of autoregressive steps " + "(`ar_steps`) and/or the forcing window size " + "(`include_past_forcing` and `include_future_forcing`)" ) # Set up for standardization