The extract_levels preprocessor function is not lazy when it is used with the automatic conversion of pressure levels to altitude and vice versa.
This is because the (deprecated) interp1d function from scipy is not lazy:
|
func = interp1d(data_frame['Altitude [m]'], |