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
File "/home/miguel/code/eodal_fork/eodal/eodal/operational/mapping/sentinel2.py", line 428, in get_complete_timeseries
if isinstance(res, gpd.GeoDataFrame):
UnboundLocalError: local variable 'res' referenced before assignment
The text was updated successfully, but these errors were encountered:
If unique_id_attribute = 'id' points to field of type 'string', everything works as expected.
If unique_id_attribute = 'id' points to field of type 'int', following example happens:
Example:
get a new mapper instance
mapper = Sentinel2Mapper(
date_start=date_start,
date_end=date_end,
processing_level=processing_level,
cloud_cover_threshold=scene_cloud_cover_threshold,
mapper_configs=mapper_configs,
feature_collection=aoi,
unique_id_attribute = 'id'
)
File "/home/miguel/code/eodal_fork/eodal/eodal/operational/mapping/sentinel2.py", line 428, in get_complete_timeseries
if isinstance(res, gpd.GeoDataFrame):
UnboundLocalError: local variable 'res' referenced before assignment
The text was updated successfully, but these errors were encountered: