9574ca11461a7674e724d78b507852022fb2c59f,io/eolearn/io/processing_api.py,SentinelHubProcessingInput,execute,#SentinelHubProcessingInput#Any#,100
Before Change
if "dataMask" in self.bands:
is_data_arrays = [img[..., -1:] for img, norm_factor in images]
eopatch[(FeatureType.MASK, "IS_DATA")] = np.asarray(is_data_arrays).reshape(*shape, 1).astype(np.bool)
img_bands = len(self.bands) - 1 if "dataMask" in self.bands else len(self.bands)
img_arrays = [img[..., slice(img_bands)] * norm_factor for img, norm_factor in images]
eopatch[(FeatureType.DATA, self.feature_name)] = np.asarray(img_arrays).reshape(*shape, img_bands)
After Change
request_list = [DownloadRequest(post_values=payload, **args) for payload in payloads]
LOGGER.debug("Downloading %d requests of type %s", len(request_list), str(self.data_source))
LOGGER.debug("Downloading bands: [%s]", ", ".join(self.all_bands))
client = SentinelHubDownloadClient()
images = client.download_data(request_list)
LOGGER.debug("Downloads complete")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: sentinel-hub/eo-learn
Commit Name: 9574ca11461a7674e724d78b507852022fb2c59f
Time: 2019-11-06
Author: jovan.visnjic@sinergise.com
File Name: io/eolearn/io/processing_api.py
Class Name: SentinelHubProcessingInput
Method Name: execute
Project Name: deeptools/HiCExplorer
Commit Name: beb8b792a465a568561afc9d764049bbbc6c4a27
Time: 2019-05-10
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/hicCorrectMatrix.py
Class Name:
Method Name: main
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 8be52c9dc6198fbbd5a0b3e8e80571a505a21b1d
Time: 2018-10-31
Author: mathsinn@ie.ibm.com
File Name: art/attacks/carlini.py
Class Name: CarliniL2Method
Method Name: generate