Skip to content

Some fixes useful for superres inference#33

Open
nbren12 wants to merge 2 commits intomainfrom
nb/fix
Open

Some fixes useful for superres inference#33
nbren12 wants to merge 2 commits intomainfrom
nb/fix

Conversation

@nbren12
Copy link
Copy Markdown
Collaborator

@nbren12 nbren12 commented Jun 3, 2025

fix timestamp bug in HealpixDatasetV5

the model was always returning timestamp starting in the training set

multidffusion inference: shard tasks for netCDF input

    fix timestamp bug in HealpixDatasetV5

    the model was always returning timestamp starting in the training set

    multidffusion inference: shard tasks for netCDF input
"second_of_day": raw["second_of_day"][None],
"day_of_year": raw["day_of_year"][None],
"timestamp": cftime_to_timestamp(self.get_time(i)),
"timestamp": self.get_timestamp_for_time_index(self.time_index[i]),
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This causes the netCDF to have the wrong metadata.

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.

1 participant