NaN values in SNAP toolbox

If you are using python, head to numpy and num_to_num().