[x] A mask for invalid pixels is created during processing. Check if this mask is still created correctly or if we now need to mask it based on nan values.
It should work as expected. In utils.detectValidAreas the mask is created based on values larger than 0, nan values are masked out.
- mask_valid_area = (10 ** (bmap_obj.background_map / 10)) > 0