added a new 2-band raster output "window_scale_factor.tif" in Geogrid and fixed a few misuses of pixel size in image vs. map coordinates.
incorporated the new Geogrid output "window_scale_factor.tif" in autoRIFT for producing the velocity products
transferred scale factor (2-band raster) to netcdf packaging in case you want to package them as well in the final netcdf file
NOTE: Please note I have tested the new Geogrid output "window_scale_factor.tif" as well as the autoRIFT velocity product "velocity.tif" for one S1 and one L8 image pair. The results look reasonable, with the value of scale factor being very close to 1 (e.g. 1.0001 or 0.9999). The velocity only has changes at the 1st or 2nd decimal compared to the original case. You might want to do more tests before merging the PR to double check.
NOTE: Please note I have tested the new Geogrid output "window_scale_factor.tif" as well as the autoRIFT velocity product "velocity.tif" for one S1 and one L8 image pair. The results look reasonable, with the value of scale factor being very close to 1 (e.g. 1.0001 or 0.9999). The velocity only has changes at the 1st or 2nd decimal compared to the original case. You might want to do more tests before merging the PR to double check.