andwatson / decompose_insar_velocities

Matlab scripts for decomposing multiple line-of-sight InSAR velocity fields into East and Vertical components.
GNU General Public License v3.0
21 stars 10 forks source link

Problems in the codes #20

Open eedwa opened 12 months ago

eedwa commented 12 months ago

Hi Andrew,

Can you check several lines in the codes: Active-Tectonics-Leeds/decompose_insar_velocities/tree/main/util/vel_decomp_vE_vUN.m?

In the line 145, the cosd(inc) should be squared;

In the line 147, the gnss_sN should be squared;

I compared the codes with the equations in your thesis and found these problems.

Can you check it?

Best wishes,

Dehua

JackDMcGrath commented 11 months ago

Does this also need to be done to the in lines 139, 141 where the velocitiy is being decomposed from vUN to vU and vN as well?