Skip to content

Truncates last inference window when using uneven steps in memory#932

Open
elynnwu wants to merge 4 commits intomainfrom
fix/forcing-dummy-time-window
Open

Truncates last inference window when using uneven steps in memory#932
elynnwu wants to merge 4 commits intomainfrom
fix/forcing-dummy-time-window

Conversation

@elynnwu
Copy link
Contributor

@elynnwu elynnwu commented Mar 9, 2026

The last window of inference no target has issues if coupled_steps_in_memory is not evenly divisible by n_coupled_steps because dummy dataset always assume full forcing window. This PR truncates the last window based on the ocean window.

  • Tests added

Resolves #931

@elynnwu elynnwu changed the title Fix/forcing dummy time window Truncates last inference window when using uneven steps in memory Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug in determining window length based on forcing data

1 participant