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

save aligned data #329

Merged
merged 11 commits into from
Sep 5, 2024
Merged

save aligned data #329

merged 11 commits into from
Sep 5, 2024

Conversation

krsnapaudel
Copy link
Collaborator

@krsnapaudel krsnapaudel commented Aug 30, 2024

  1. Check aligned data folder if available.
  2. Save aligned data when not.
    I realized that the current code in trim_to_lead_time must be split into two parts. So first, align with crop season and align labels and inputs. Save the aligned data. Load aligned data and do the trimming to lead time later. This way the same aligned data can reused for different lead times.

Copy link
Collaborator

@michielkallenberg michielkallenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; thankf for efforts on documentation

@krsnapaudel krsnapaudel merged commit e5f90df into main Sep 5, 2024
4 checks passed
@krsnapaudel krsnapaudel deleted the krsnapaudel/datasets branch September 5, 2024 13:40
@krsnapaudel krsnapaudel mentioned this pull request Sep 6, 2024
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.

save aligned data for faster data loading filter input data based on locations and years in label data
2 participants