e33574dcf176ecb0839cd6ffa2f0133083f5bf59,io/eolearn/io/processing_api.py,SentinelHubInputTask,__init__,#SentinelHubInputTask#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,156

Before Change



        self.mosaicking_order = mosaicking_order

        requested_bands = []
        if bands_feature:
            self.bands_feature = next(self._parse_features(bands_feature, allowed_feature_types=[FeatureType.DATA])())
            bands = bands or data_source.bands()
            requested_bands.extend(bands)
        else:
            self.bands_feature = None

        if additional_data is not None:
            additional_features = list(self._parse_features(additional_data, new_names=True)())
            requested_bands.extend(band for ftype, band, new_name in additional_features)
            self.write_features = {band: (ftype, new_name) for ftype, band, new_name in additional_features}
        else:
            self.write_features = None

        itr = ((atype, [band for band in requested_bands if band in self.API_BANDS[atype]]) for atype in self.API_BANDS)
        self.request_types = {api_type: bands for api_type, bands in itr if bands}

    def generate_evalscript(self):
         Generate the evalscript to be passed with the request, based on chosen bands

After Change



        self.mosaicking_order = mosaicking_order

        self.requested_bands = dict()

        if bands_feature:
            bands_feature = next(self._parse_features(bands_feature, allowed_feature_types=[FeatureType.DATA])())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: sentinel-hub/eo-learn
Commit Name: e33574dcf176ecb0839cd6ffa2f0133083f5bf59
Time: 2020-02-05
Author: jovan.visnjic@sinergise.com
File Name: io/eolearn/io/processing_api.py
Class Name: SentinelHubInputTask
Method Name: __init__


Project Name: inferno-pytorch/inferno
Commit Name: d795f811eb13a20e18aa30c435cef0ad99e830ea
Time: 2018-08-10
Author: thorsten.beier@iwr.uni-heidelberg.de
File Name: examples/plot_unet_tutorial.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 5608ac37feb7fad002c0e030ba30f4924e8c1fc1
Time: 2018-09-24
Author: anntzer.lee@gmail.com
File Name: examples/statistics/barchart_demo.py
Class Name:
Method Name: