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

[FEATURE] Add ICON (unstructured) grid #159

Open
yangminah opened this issue Nov 14, 2022 · 3 comments
Open

[FEATURE] Add ICON (unstructured) grid #159

yangminah opened this issue Nov 14, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@yangminah
Copy link

Hello,
My research group is interested in using this method for our ICON (Icosahedral Nonhydrostatic Weather and Climate Model) dataset. If there is an interest, I would like to help out with this process, and we have contacted the MPI ICON developer for additional support. For now, this link shows the license agreement needed to access the source code:
https://code.mpimet.mpg.de/projects/iconpublic/wiki/How%20to%20obtain%20the%20model%20code

@yangminah yangminah added the enhancement New feature or request label Nov 14, 2022
@iangrooms
Copy link
Member

Great! To use gcm-filters with output from the ICON model, you'll need to code up a Laplacian kernel for the ICON grid. I recommend porting the Laplacian that exists within ICON rather than trying to develop a new discretization from scratch.

@NoraLoose
Copy link
Member

NoraLoose commented Nov 18, 2022

Does ICON use an unstructured grid? If so, we will have to think a little bit about how to integrate it into gcm-filters.

So far all grids are rectangular, locally orthogonal grids, and we leverage xarray which is really great for those kind of grids. I wonder if UXarray could be a way forward, but as far as I know that package is still under development.

@yangminah
Copy link
Author

Hi, sorry for the slow response. Yes, the ICON grid is unstructured. The DWD tutorial says: it “originates from an icosahedron whose edges have been initially divided into n parts, followed by k subsequent edge bisections”. The grid cells are triangles in an icosahedron. An illustration can be found [here](https://www.dwd.de/SharedDocs/downloads/DE/modelldokumentationen/nwv/icon/icon_dbbeschr_aktuell.html)
The grid information is described here: http://icon-downloads.mpimet.mpg.de/readme.html
And a link to some of the grids is here: http://icon-downloads.mpimet.mpg.de/dwd_grids.xml

The grids in netcdf format store various quantities about the nodes(vertices) and edges, as well as the parent/child relationship of the vertices between grids, and neighboring nodes for a grid.

The laplacian kernel is located in the source code here: [dir]/src/shr_horizontal/mo_math_laplace.f90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants