Skip to content

Instantly share code, notes, and snippets.

@mlubej
Last active April 29, 2020 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlubej/552540f9e6d59ad70620b8230b784f7d to your computer and use it in GitHub Desktop.
Save mlubej/552540f9e6d59ad70620b8230b784f7d to your computer and use it in GitHub Desktop.
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_source=DataSource.SENTINEL2_L1C,
additional_data=[(FeatureType.MASK, 'dataMask'),
(FeatureType.MASK, 'CLM'),
(FeatureType.DATA, 'CLP')]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment