nasa-jpl / autoRIFT

A Python module of a fast and intelligent algorithm for finding the pixel displacement between two images
Apache License 2.0
212 stars 52 forks source link

add scale factor to Geogrid and autoRIFT-estimated velocity products #67

Closed leiyangleon closed 1 year ago

leiyangleon commented 1 year ago
  1. 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.
  2. incorporated the new Geogrid output "window_scale_factor.tif" in autoRIFT for producing the velocity products
  3. 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.