How can I couple my own model to ICON?

I developed a model as part of my PhD. I now want to run it coupled with ICON. How can I do this?

The options are manyfold and depend on your requirements.

If your model is a self-contained program and supposed to stay that way, coupling via YAC is probably the best approach. You will have to add YAC-based coupling infrastructure to your program. The YAC repository contains some examples on how to do this. Additional, material is planed. For additional support contact DKRZ or use YAC-issues.
Depending on whether you only want to receive data from ICON or also want to give feedback to it, you may either use the already existing output coupling interface of ICON or you will have to add a specific coupling interface (use code `src/coupling` as a reference).

1 Like