Problems running rio toa reflectance
I've been trying to run rio toa reflectance on LC82150342018182LGN00 but i got the following problems:
1 - lines 158 and 159 on reflectance.py - the list coming in 'bands' is of int values, but the command bands.remove('10') is expecting strings. I converted bands to strings which solved the issue. 2 - line 62 in reflectance.py - rf = ((MR * img.astype(np.float32)) + AR) / np.sin(np.deg2rad(E)) - I'm getting: "ValueError: operands could not be broadcast together with shapes (8,) (1,7681,10)" - I don't know how to solve this.
Can you help, please?
Did you ever solve this error? I am having problems running the reflectance as well, keep getting:
UnboundLocalError: local variable 'src_nodata' referenced before assignment
which is coming from the reflectance.py