cmosig / sentle

Sentinel-1 & Sentinel-2 data cubes at large scale (bigger-than-memory) on any machine with integrated cloud detection, snow masking, harmonization, merging, and temporal composites.
MIT License
22 stars 2 forks source link

fix SettingWithCopyWarning #10

Closed cmosig closed 3 months ago

cmosig commented 3 months ago

Somewhere in the GeoDataFrame handling the code causes this warning:

/net/home/cmosig/miniconda3/envs/env_conda/lib/python3.12/site-packages/geopandas/geodataframe.py:1528: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

Need to pinpoint and address...