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

Mediterranean example doesn't seem to use ECCORestoring correctly #221

Open
glwagner opened this issue Nov 6, 2024 · 4 comments
Open

Mediterranean example doesn't seem to use ECCORestoring correctly #221

glwagner opened this issue Nov 6, 2024 · 4 comments

Comments

@glwagner
Copy link
Member

glwagner commented Nov 6, 2024

Unless I am misunderstanding something, this seems wrong:

FT = ECCO_restoring_forcing(temperature; architecture = GPU(), timescale = 2days)
FS = ECCO_restoring_forcing(salinity; architecture = GPU(), timescale = 2days)

I'm not sure if there is another example of how to use ECCORestoring lying around?

@glwagner
Copy link
Member Author

glwagner commented Nov 6, 2024

@simone-silvestri

@waywardpidgeon
Copy link

Yes, in main the function ECCO_restoring_forcing is missing from ECCO_restoring.jl and the inlined ECCORestoring has completely different arguments which need to be restructured. Maybe someone meant to write the former function or has already done this and not yet included it?

In the examples subdirectory the call occurs in the mediterranean_simulation_with_ecco_restoring.jl but also in two other cases,both in mesoscale_resolving_omip directory.

@glwagner
Copy link
Member Author

What happened is that the source code was changed, but the example was not updated. We're still working on getting all the examples to be tested; this has been a slow process due to the computationally intensive nature of the examples. cc @navidcy

@navidcy
Copy link
Collaborator

navidcy commented Nov 19, 2024

The Mediterranean example is not part of the docs yet so it's not being run every time the docs are built.

to_be_literated = [
"inspect_ecco_data.jl",
"generate_bathymetry.jl",
"generate_surface_fluxes.jl",
"single_column_os_papa_simulation.jl",
# "mediterranean_simulation_with_ecco_restoring.jl",
"near_global_ocean_simulation.jl"
]

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

3 participants