removed repeated import of warnings module and added that eResampleAlg=-1 is the default method in resize method
rewrote warning in method get_subsampled_vrt