I am currently developing a code in python to extract wry outputs with wrf-python librairies.

I would like to compute the total cloud fraction with this librairie, but I don't really know how to proceed.

I have either the CLDRA values giving one value for each level and each grid point, and the python cloud frac given three values at low, mid and high altitudes.

I don't know exactly how to use these variables to have the total cloud fraction.

I read somewhere that using the maximum value of each CLDFRA profile is a good approach but I am not really sure about that.

So, could you please help me with these aspects knowing that I don't use NCL or UPP tools, only python.

If you have also references to add in my potential papers.

Best regards,