...
Step-by-step guide
You need to use the ml_to_hl() function. It needs the geopotential field on model levels as an input, which can be computed with the mvl_geopotential_on_ml() function. The following example shows how these two functions can be used together:
...