Hi all, I was wondering if it is possible to integrate externally-build variables via comin into ICON’s meteogram output. Currently, the hardcoded variables appear fine, but COMIN-registered variables don’t show up.
Therefore my question: Is there a recommended way to register COMIN variables with ICON’s meteogram output? And is that even possible?
This would not work that easy, I’m afraid. The meteogram functionality is implemented in mo_meteogram_config and mo_meteogram_output (src/io/atmo/mo_mtgrm_output.f90), where variable names correspond to a variable list handled internally by the meteogram module. The whole functionality was initially meant for debugging, and although it is now commonly used in production, the implementation has not been refactored. One exception is that two years ago, the meteogram functionality was extended for ICON-ART, allowing variables belonging to the METEOGRAM group to be dynamically added to the list of available fields. However, variables added to ICON via the ComIn plugin mechanism cannot currently control their groups.