This function tests whether the input supplied by the user are of the expected type (class), and are in the right form (overlap of extents and same projection).
check_arguments(x, y)The input provided by the user for the x argument.
The input provided by the user for the y argument.
There is no return value. If any error is found, the execution is just halted.