AlexeyPechnikov / pygmtsar

PyGMTSAR (Python InSAR): Powerful and Accessible Satellite Interferometry
http://insar.dev/
BSD 3-Clause "New" or "Revised" License
364 stars 84 forks source link

[Help]: Key error : ref; during sbas_pair() #127

Closed mbahmu25 closed 1 month ago

mbahmu25 commented 1 month ago

why is this happened ? image image

AlexeyPechnikov commented 1 month ago

Do you use the function for a single scene maybe?

mbahmu25 commented 1 month ago

no, in these code i take it from lake sarez 2017 template, and i only cahnge the POI, scenes, and reference

AlexeyPechnikov commented 1 month ago

Please show your scenes list.

mbahmu25 commented 1 month ago

image

AlexeyPechnikov commented 1 month ago

I mean your Stack.df scenes list. Typically, it is ‘sbas.df’ object.

mbahmu25 commented 1 month ago

image image image image image

AlexeyPechnikov commented 1 month ago

Ok, I see the issue now. You have very sparse Sentinel-1 scenes with an interval between them about half a year, but tried to construct pairs with an interval of just 30 days. Obviously, that's impossible.

mbahmu25 commented 1 month ago

Thankyou for your help, it works