How to define missing values in the IODA converter?

Hello,

I wonder how to define missing values in the IODA converter? In the below python code,

missing values are filled in like this

outdata[varDict[‘pm25_tot’][‘valKey’]] = np.array(f3[‘PM2.5’].fillna(nc.default_fillvals[‘f4’]))

Is this a standard way of defining missing values in JEDI?

Thanks.
Bo

Hi Bo, yes this is a standard way of defining missing values. The ioda reader queries the variable for its fill value and data values that match the variable’s fill value will be replaced with the internal JEDI missing value (of which the filters, QC, etc. recognize).