62a897c50214e1fc06d5e9d8906a7e5552b764fa,core/eolearn/core/constants.py,FeatureType,contains_ndarrays,#FeatureType#,83
Before Change
def contains_ndarrays(self):
True if FeatureType stores a dictionary of numpy.ndarrays. False otherwise.
return self in frozenset([FeatureType.DATA, FeatureType.MASK, FeatureType.SCALAR, FeatureType.LABEL,
FeatureType.DATA_TIMELESS, FeatureType.MASK_TIMELESS, FeatureType.SCALAR_TIMELESS,
FeatureType.LABEL_TIMELESS])
def ndim(self):
If given FeatureType stores a dictionary of numpy.ndarrays it returns dimensions of such arrays.
if self.contains_ndarrays():
After Change
def contains_ndarrays(self):
True if FeatureType stores a dictionary of numpy.ndarrays. False otherwise.
return self in FeatureTypeSet.RASTER_TYPES
def ndim(self):
If given FeatureType stores a dictionary of numpy.ndarrays it returns dimensions of such arrays.
if self.is_raster():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances Project Name: sentinel-hub/eo-learn
Commit Name: 62a897c50214e1fc06d5e9d8906a7e5552b764fa
Time: 2018-12-14
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/core/constants.py
Class Name: FeatureType
Method Name: contains_ndarrays
Project Name: sentinel-hub/eo-learn
Commit Name: 62a897c50214e1fc06d5e9d8906a7e5552b764fa
Time: 2018-12-14
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/core/constants.py
Class Name: FeatureType
Method Name: contains_ndarrays
Project Name: sentinel-hub/eo-learn
Commit Name: 62a897c50214e1fc06d5e9d8906a7e5552b764fa
Time: 2018-12-14
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/core/constants.py
Class Name: FeatureType
Method Name: is_time_dependent
Project Name: sentinel-hub/eo-learn
Commit Name: 62a897c50214e1fc06d5e9d8906a7e5552b764fa
Time: 2018-12-14
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/core/constants.py
Class Name: FeatureType
Method Name: is_spatial