Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dataset with missing timesteps #40

Closed
JPXKQX opened this issue Sep 2, 2024 · 0 comments · Fixed by #48
Closed

Support dataset with missing timesteps #40

JPXKQX opened this issue Sep 2, 2024 · 0 comments · Fixed by #48
Assignees
Labels
enhancement New feature or request

Comments

@JPXKQX
Copy link
Member

JPXKQX commented Sep 2, 2024

Is your feature request related to a problem? Please describe.

There are some datasets with missing timesteps and we might want to use them for training.

Describe the solution you'd like

These datasets contain a "missing" property containing the indices of the missing timesteps

from anemoi.datasets.data import open_dataset

ds = open_dataset("dataset.zarr")
ds.missing

>>> {4217, 3782, 492, 2868, 2073, 2842, 2843, 2844, 189}

One option is to compute the valid_indices based on the missing timesteps, the number of steps to roll out, the time increment, and the number of previous indices included as predictors.

Describe alternatives you've considered

No response

Additional context

No response

Organisation

ECMWF

@JPXKQX JPXKQX added the enhancement New feature or request label Sep 2, 2024
@JPXKQX JPXKQX self-assigned this Sep 2, 2024
@JPXKQX JPXKQX linked a pull request Sep 4, 2024 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant