Skip to content
Snippets Groups Projects
Commit 4b15c038 authored by Paolo Veglio's avatar Paolo Veglio
Browse files

fixed type in py_cithr

parent 36917231
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ def py_snow_mask(char *satname, unsigned char lsf):
@cython.initializedcheck(False)
def py_cithr(int key, np.ndarray[float, ndim=1] sec_vza, np.ndarray[float, ndim=1] bt11):
cdef np.ndarray tci_thr = np.zeros((bt11.shape[0], ), order='C', dtype=np.float)
cdef np.ndarray tci_thr = np.zeros((bt11.shape[0], ), order='C', dtype=np.float32)
for i in range(bt11.shape[0]):
tci_thr[i] = cithr(key, sec_vza[i], bt11[i])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment