You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[86] # self.nbands can be None when data is not loaded through the Raster class
[87] if self.nbands is not None and self.nbands > 1:
[88] raise ValueError("DEM rasters should be composed of one band only")
Error
it raises AttributeError: 'DEM' object has no attribute 'nbands'
Reason
The 'bands' were changed into 'indexes' since geoutils 0.0.10.
The text was updated successfully, but these errors were encountered:
Bug
The DEM class in xdem/dem.py has following lines:
Error
it raises
AttributeError: 'DEM' object has no attribute 'nbands'
Reason
The 'bands' were changed into 'indexes' since geoutils 0.0.10.
The text was updated successfully, but these errors were encountered: