From b118ed36b85130bc659486335bbe08b4d3d63108 Mon Sep 17 00:00:00 2001 From: Maggie Bruckner Date: Thu, 14 Nov 2024 13:35:06 -0700 Subject: [PATCH] fix np.float deprecation --- melodies_monet/util/sat_l2_swath_utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melodies_monet/util/sat_l2_swath_utility.py b/melodies_monet/util/sat_l2_swath_utility.py index 2ca1f3a2..2b4d27ae 100644 --- a/melodies_monet/util/sat_l2_swath_utility.py +++ b/melodies_monet/util/sat_l2_swath_utility.py @@ -143,7 +143,7 @@ def trp_interp_swatogrd_ak(obsobj, modobj): modlat = modobj.coords['latitude'] modlon = modobj.coords['longitude'] - tmpvalue = np.zeros([ny, nx], dtype = np.float) + tmpvalue = np.zeros([ny, nx], dtype = np.float64) time = [ datetime.strptime(x,'%Y-%m-%d') for x in obsobj.keys()] ntime = len(list(obsobj.keys()))