Reprocessing CIN and CBH for Missing Values

Hello everyone,

I'm not sure if I'm in the right place, but I'm going to post this question on this forum anyway.

I am currently working on hourly data from ERA5. I am facing the presence of missing values (nan values) for the CIN and CBH variables in my dataset of events extracted from ERA5.

I would like to get some advice on the most rigorous way to reprocess these missing values without affecting the quality of my event dataset. I did some research, and I found this clarification in a post from the ECMWF:

  • "Note that for all CIN parameters, values are encoded as missing if they exceed 1000 J/kg as such magnitudes denote that deep moist convection is basically impossible. This means that one can notice that at some gridpoints CIN is missing but CAPE > 0. For plotting purposes in ecCharts, missing CIN values are automatically set to 1000 J/kg." (from 47r3 new parameters: CAPE and CIN)

I am aware that my question may seem naive, but as I am not a meteorologist by training, any help would be greatly appreciated.

Thank you in advance to all those who will take the time to answer me.