Skip to content

Staggered grid locations and names #21

@briochemc

Description

@briochemc

Not sure this is the right place to ask, but following today's COSIMA WG meeting, I thought it would be very useful to have a comprehensive table or document about what each character combination means in terms of locations on the staggered grids. And I thought that comparisons to other models would also be quite useful IMHO (OM2/MOM5, but also others like NEMO, POP, mitGCM, or Oceananigans).

Sometimes the tracer cell center is t (for "tracer" I think), sometimes h like here, sometimes c or CC for center (Oceananigans). Using u and v as locations can also be ambiguous if the Arakawa grid type is not clearly defined or can vary (B vs C for example). Sometimes corners are f, or q, and I'm guessing at least one model calls it c for "corner". And then there are vertical locations as well.

In short, navigating these names is confusing, so it would be great to have a document clarifying these somewhere. Not sure such a document should live here BTW, I'm just starting a discussion. Maybe there should be one per ACCESS model, and one that compares these names across ACCESS models?

I am sure one could an LLM to draft such a doc and then the knowledgable devs can "just" proof-read it? 🥺😅

But maybe something already exist somewhere? In this case just pointing to it near

We need to understand how MOM6's grid is defined.
Here are two different ways to visualise the C-grid that is used by MOM6.
- The first way shows both the horizontal and vertical staggering. Note that the tracers, velocities and vorticity points are horizontally and vertically staggered:
![C-grid from XGCM docs](../assets/grid2d_hv.svg)
*Image from the [pycomodo project](https://web.archive.org/web/20160417032300/http://pycomodo.forge.imag.fr/norm.html).*
- The second grid visualisation, focuses on the horizontal, and uses the the notation that is used in the MOM6 documentation:
![MOM6 grid](../assets/mom6grid.png)
*Image from the [MOM6 RTD](https://mom6.readthedocs.io/en/dev-gfdl/api/generated/pages/Discrete_Grids.html).*
might be useful.

Of course, feel free to close quickly if this is just noise for this repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions