The function compare two raster or bricks with different z values(uhat and v images)
It check if the images has the same extension, resolution, coordinate reference system, columns and rows.
Usage
img2varmer(uhat.img, v.img)
Arguments
uhat.img
The interpolated image as a raster or brick.
v.img
The satellite image as a raster or brick.
Value
If the images have the same extension, resolution, coordinate reference system, columns and rows.
A list containing two data frames (uhat and v) in the necessary format to varmer function (x,y,layer1,layer2).
If the images has not the same values an error message is returned.