Setting up general orthogonal curvilinear grid #3379
Replies: 4 comments 7 replies
-
@simone-silvestri is working on this |
Beta Was this translation helpful? Give feedback.
-
For the Btw, I am working here https://github.com/simone-silvestri/OrthogonalSphericalShellGrids.jl/blob/main/src/OrthogonalSphericalShellGrids.jl at a warped grid that handles the north pole by stretching the grid so that the singularity is in Russia (if you are interested we can work together on it). |
Beta Was this translation helpful? Give feedback.
-
Thank you both this is very helpful, I've made some progress in constructing one of the ORAC tripolar grids from this MIT GCM run which I think I've nearly succeeded in except for some erroneous NaN filling of the metrics on the land/sea borders. I'll keep you posted and share when I get it working. Edit: the GECCO2 grid looks like it works fine out of the box (just is lower resolution so would be nice to find a grid file for GECCO3 that doesn't have the metrics in land areas all filled with NaNs) |
Beta Was this translation helpful? Give feedback.
-
Hi both, sorry for the delay getting back to you on this I had to work on other things, but just as a quick update: I think I've got the ORCA025 grid correctly working now - the main pain was the north fold boundary but I've got that sorted now. Previously there was a scar across the seam but I've finally worked out how to replicate their boundary condition correctly as you can see in these maps of surface divergence. And the maximum surface divergence is 9.074297719206137e-5 which seems reasonable. So far this is just a bunch of scripts but I will put it is useful. @simone-silvestri do you think your package is the best place for this? I would also hope that the same code would work for different MITgcm tripolar grids, as is at least for ORCA2 1/4 and 1/12 since they have the same northern boundary condition. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I was wondering if it is currently possible to setup general orthogonal curvilinear grids like the ones described in this paper. E.g.:

I am attempting to replicate this grid which provides:
It seems like it should be possible with
OrthogonalSphericalShellGrid
but I can't work out exactly how to do it. I think thatLATITUDE_T
should beλᶜᶜᵃ
etc. which means that all of these:look like they're provided, but some of them are 1D vectors, not 2D arrays which I assume they would need to be?
Beta Was this translation helpful? Give feedback.
All reactions