esrivas17 / gacos_correction_for_GMTSAR

Atmospheric GACOS correction adapted for GMTSAR
18 stars 6 forks source link

Dinsar_gacos_error #9

Open Xin-Wang-520 opened 1 year ago

Xin-Wang-520 commented 1 year ago

Hello, Professor. According to your manual, single_GACOS_correction.csh can be used for atmospheric correction of dinsar. I put the files of two dates of gacos into the merge folder generated after p2p_S1_TOPS_Frame. single_GACOS_correction.csh 20230209.ztd 20230209.ztd.rsc 20230221.ztd 20230221.ztd.rsc phasefilt_interp.grd ref_point 33.8, and then I get an error. Is that right? If yes, this error is reported. How to solve it?

2023-03-10 11-09-35 的屏幕截图

Xin-Wang-520 commented 1 year ago

@esrivas17 @erik-17 Professor, if you could solve the problem above

erik-17 commented 1 year ago

Hi Sorry for the late response. Not sure what could go wrong. Seems like it didnt even pass the first steps. I wonder what are the dimensions of your GACOS grids and also of your interferograms.

erik-17 commented 1 year ago

if you could share the log of gmt grdinfo of your interfogram and gacos

erik-17 commented 1 year ago

The error suggests that maybe your interferogram is larger than the GACOS grids?

Xin-Wang-520 commented 1 year ago

The error suggests that maybe your interferogram is larger than the GACOS grids?

phase_GACOS_corrected_phs_detrended.grd I have solved, have learned the atmosphere correction of matlab, later try your csh script, I mainly interference grd write wrong, thank you. Professor, I would like to ask you three questions. The first one is reference_point, is it set randomly? I have interviewed in matlab before. And the second incidence_angle, where are you looking? Are you looking in the sentry files? And the third phase_GACOS_corrected_phs.grd and phase_GACOS_corrected_phs_detrended. The final atmospheric correction we want is phase_GACOS_corrected_phs_detrended.grd this?

esrivas17 commented 1 year ago

The reference point in theory must be a location where you have the certain that is a stable area, since in many cases we don't have access to that information is tended to be chosen a point with a high coherence value. in GMTSAR there is a script called SAT_look, if I remember correctly, you can take the average of the incidence angles. If you detrend the correction or not will depend on the nature of your deformation, for cases like land subsidence is common to detrend it, and cases like earthquakes where the deformation is big it is not recommended to detrend since you could filter out part of the deformation signal. Hope that helps. Additionally I would like to recommend to try the correction over the unwrapped phase, at the moment I am not sure if the correction should be applied to the wrapped or unwrapped phase. You could experiment with this and take the best result.

Xin-Wang-520 commented 1 year ago

a high coherence value

Thank you,Professor. 1. The choice of reference point, what you mean by a high coherence value, is a point far away from the deformation field with no or small deformation, or a point with a deformation field similar to the epicenter? I think most people take the point away from the deformation field. 2. Can you tell me in detail how to use it? I only used it to take enu direction vector before, for example, SAT_look master.PRM < topo.llt > topo.lltn

esrivas17 commented 1 year ago

Yes you are right, I meant that also with an stable area, so preferably that is not within the main deformation area. But also make sure is in a high coherence area. one of the outputs of SAT_look is the elevation, the incidence angle if I am not mistaken is the complement of the elevation value.