Command line history

If it helps, this is why it gives the error message:

Why are there NaN values in the mask?