From 4b15c0388068df528c8b045380d7ba4254bf38e8 Mon Sep 17 00:00:00 2001 From: Paolo Veglio <paolo.veglio@ssec.wisc.edu> Date: Fri, 3 Feb 2023 18:43:26 +0000 Subject: [PATCH] fixed type in py_cithr --- mvcm/ancillary.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvcm/ancillary.pyx b/mvcm/ancillary.pyx index 73894f8..d6c5265 100644 --- a/mvcm/ancillary.pyx +++ b/mvcm/ancillary.pyx @@ -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]) -- GitLab