connected_regions_allowed #279
Replies: 4 comments
-
Hello @uganzedo1974. The bottom = regrid_bathymetry(grid; connected_regions_allowed = 2) with the new syntax is bottom = regrid_bathymetry(grid; major_basins = 2) That keyword argument, however, might have been a misnomer before. It was not there to specify the number of connected domains in the simulation but to specify the number of "independent major basins", or fluid regions fully encompassed by land, that are retained in the bathymetric map. This is probably much better expressed with the Concerning downscaling certain areas, we cannot run coupled nested simulations yet because the open boundary conditions required to connect different domains have not yet been implemented in Oceananigans. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick response. Maybe you can give me an idea to solve an issue with your package. |
Beta Was this translation helpful? Give feedback.
-
I think what you need to have are open boundary conditions that allow you to prescribe boundary conditions for the velocity field from a "parent" large-scale simulation. This is the typical procedure when doing regional simulations. A way you could try solving this issue would be to make your domain as large as possible (such that boundary conditions do not influence excessively your region of interest) and prescribe a strong restoring to climatology near the lateral boundaries. You do this using the ECCORestoring functionality. ClimaOcean.jl/src/DataWrangling/ECCO/ECCO_restoring.jl Lines 242 to 307 in 19c5eff This is demonstrated in the Mediterranean example in #244. I can copy here the code: You can also take a look at the docstring by doing in julia by doing: julia> ? ClimaOcean.ECCO.ECCORestoring You probably also need to implement a sponge region for velocities, you can take a look at this example to see how: |
Beta Was this translation helpful? Give feedback.
-
Should we move this to a discussion? |
Beta Was this translation helpful? Give feedback.
-
Hello;
Good job with this package, it's excellent. I have a question, in some example in the regrid_bathymetry option there was the connected_regions_allowed option that is now not available. I would like to see the possibility of doing a downscaling in a simulation of a certain area. In an area, increase the simulation resolution. Is this possible? Thank you for your work
Unai
Beta Was this translation helpful? Give feedback.
All reactions