I am using Windows 7 64-bit version and Python 3.8.
I get an error while executing the example:
" Measuring the water level of a Theewaterskloof Dam in South Africa".
Error is:
AttributeError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_3756/1149534225.py in
----> 1 download_task = SentinelHubInputTask(
2 data_collection=DataCollection.SENTINEL2_L1C,
3 bands_feature=(FeatureType.DATA, ‘BANDS’),
4 resolution=20,
5 maxcc=0.5,
C:\ProgramData\Miniconda3\lib\site-packages\eolearn\io\sentinelhub_process.py in init(self, data_collection, size, resolution, bands_feature, bands, additional_data, evalscript, maxcc, time_difference, cache_folder, max_threads, config, bands_dtype, single_scene, mosaicking_order, aux_request_args, data_source)
430 if not bands:
431 bands = self.data_collection.bands
→ 432 self._add_request_bands(self.requested_bands, bands)
433
434 if additional_data is not None:
C:\ProgramData\Miniconda3\lib\site-packages\eolearn\io\sentinelhub_process.py in _add_request_bands(self, request_dict, added_bands)
440 def _add_request_bands(self, request_dict, added_bands):
441 handfixed_collections = o
→ 442 DataCollection.LANDSAT_TM_L1, DataCollection.LANDSAT_TM_L2,
443 DataCollection.LANDSAT_ETM_L1, DataCollection.LANDSAT_ETM_L2,
444 DataCollection.LANDSAT_OT_L1, DataCollection.LANDSAT_OT_L2,
C:\ProgramData\Miniconda3\lib\enum.py in getattr(cls, name)
382 return cls.member_mapmname]
383 except KeyError:
→ 384 raise AttributeError(name) from None
385
386 def getitem(cls, name):
AttributeError: LANDSAT_TM_L1