Skip to content

Bug in DatasetRestoring #556

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

Open
simone-silvestri opened this issue Jun 3, 2025 · 3 comments
Open

Bug in DatasetRestoring #556

simone-silvestri opened this issue Jun 3, 2025 · 3 comments

Comments

@simone-silvestri
Copy link
Collaborator

With @francispoulin we were trying to revamp PR #142, but we realized that most likely some bug has been introduced in the refactor. A simulation with restoring blows up pretty drastically after little time starting from the boundary.

acc_surface_e.mp4

It looks like the restoring is trying to restore the temperature to zero. See:
https://clima.github.io/ClimaOceanDocumentation/previews/PR142/literated/acc_regional_simulation/

This possibly hints at the fact that the fields are not correctly set! in case of a DatasetRestoring

@francispoulin
Copy link

I would add that it seems like all the fields, temperature, salinity and the velocities, are not being set correctly.

@simone-silvestri
Copy link
Collaborator Author

However, in the one degree example https://github.com/CliMA/ClimaOcean.jl/blob/main/examples/one_degree_simulation.jl we have restoring and it does not affect the simulation so drastically.

@francispoulin
Copy link

In that case the restoring is only at the poles I presume? There can't be a lot happening there, I would guess. In the ACC case we have restoring happening closer to 25 degrees south. This is a much bigger region and small errors could make a bigger impact on the simulations.

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

No branches or pull requests

2 participants