Skip to content

Commit 5e5f809

Browse files
committed
replace append with pandas concat in refine inventory
1 parent dd2d064 commit 5e5f809

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ost/auxdata/copdem30tiles.gpkg

0 Bytes
Binary file not shown.

ost/s1/refine_inventory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def _remove_incomplete_tracks(aoi_gdf, inventory_df):
244244
intersect_date = aoi_gdf.geometry.intersection(date_union).area.sum()
245245

246246
if intersect_track <= intersect_date + 0.15:
247-
out_frame = out_frame.append(gdf_date)
247+
out_frame = pd.concat([out_frame, gdf_date])
248248

249249
logger.info(
250250
f" {len(out_frame)} frames remain after" f" removal of non-full AOI crossing"

0 commit comments

Comments
 (0)