Hi @Maryem
Thank you for the full report, it’s much more helpful.
When I look at the stack trace, I see the issue of the CLM
not being available in the AddValidDataMaskTask
, which means it was not downloaded.
When I check the SentinelHubInputTask
, I don’t see CLM
anywhere in the additional_data
.
This is from the report
bands: ('B01', 'B02', 'B03', 'B04', 'B05', 'B06', 'B07', 'B08', 'B8A', 'B09', 'B10', 'B11', 'B12')
additional_data = [(<FeatureType.MASK: 'mask'>, 'dataMask', 'IS_DATA')]
where you download all the bands but only the dataMask
(no CLM
). However, in the latest docs here: How To: Land-Use-Land-Cover Prediction for Slovenia — eo-learn 0.9.0 documentation
which you provided yourself, you can see that the download is done only for a limited amount of bands, but also for CLM
and CLP
# TASK FOR BAND DATA
# add a request for S2 bands
# Here we also do a simple filter of cloudy scenes (on tile level)
# s2cloudless masks and probabilities are requested via additional data
band_names = ['B02', 'B03', 'B04', 'B08', 'B11', 'B12']
add_data = SentinelHubInputTask(
bands_feature=(FeatureType.DATA, 'BANDS'),
bands = band_names,
resolution=10,
maxcc=0.8,
time_difference=datetime.timedelta(minutes=120),
data_collection=DataCollection.SENTINEL2_L1C,
additional_data=[(FeatureType.MASK, 'dataMask', 'IS_DATA'),
(FeatureType.MASK, 'CLM'),
(FeatureType.DATA, 'CLP')],
max_threads=5
)
So there is an inconsistency between your code and the latest code. I would suggest updating the eo-learn
code, or removing+re-downloading+reinstalling it, just to be sure.
Hope that helps.
Cheers,
Matic