It might still be needed as data_arr is an array containing all of the arrays but yes it would be nice to have masked arrays working with NDData