You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The processing was ok but after I change the study site, I got error in sbas.compute_align() as below
*** pandas.errors.InvalidIndexError: Reindexing only valid with uniquely valued Index objects
I went back to check each step, it seems that the error showing up here in Stack_align.py
# DEM extent in radar coordinates, merged reference PRM required
extent_ra = self.get_extent_ra()
Then I went to Stack_dem.py for get_extent_ra() function, the error shows when it arrives
geom = self.geocode(LineString(np.column_stack([df.lon, df.lat])))
LineString(np.column_stack([df.lon, df.lat])) works well but when it goes to self.geocode(), such pandas.errors.InvalidIndexError: shows up
I check the DEM and S1 data, it seems that S1 data and DEM are both correct.
So I am wondering do you have any idea what the problem is here? Thanks in advance
The text was updated successfully, but these errors were encountered:
It could be related to issues like incorrect dependencies, such as having numpy>=2.0 installed, or problems with the DEM coordinates being repeated or uneven. Does it work for you in the PyGMTSAR Docker container or on Google Colab?
The processing was ok but after I change the study site, I got error in sbas.compute_align() as below
*** pandas.errors.InvalidIndexError: Reindexing only valid with uniquely valued Index objects
I went back to check each step, it seems that the error showing up here in Stack_align.py
Then I went to Stack_dem.py for get_extent_ra() function, the error shows when it arrives
geom = self.geocode(LineString(np.column_stack([df.lon, df.lat])))
LineString(np.column_stack([df.lon, df.lat])) works well but when it goes to self.geocode(), such pandas.errors.InvalidIndexError: shows up
I check the DEM and S1 data, it seems that S1 data and DEM are both correct.
So I am wondering do you have any idea what the problem is here? Thanks in advance
The text was updated successfully, but these errors were encountered: