CosmiQ / solaris

CosmiQ Works Geospatial Machine Learning Analysis Toolkit
https://solaris.readthedocs.io
Apache License 2.0
414 stars 112 forks source link

[BUG]: reorder axes in utlis of raster #318

Closed sayakgis closed 4 years ago

sayakgis commented 4 years ago

line 34 of solaris/solaris/utils/raster.py returns a Boolean, which seems to be incorrect, the current code is: elif len(axes == 4): it should be elif len(axes) == 4:

nrweir commented 4 years ago

Great catch @sayakgis! If you want to make the change feel free to submit a PR; otherwise, we'll get to it before we release 0.2.1.

nrweir commented 4 years ago

This is fixed in #319.