Skip to content

Commit

Permalink
Merge pull request #312 from mbruckner-work/bugfix/npfloat
Browse files Browse the repository at this point in the history
Fix for np.float deprecation
  • Loading branch information
zmoon authored Nov 20, 2024
2 parents 3763816 + b118ed3 commit 06d4d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melodies_monet/util/sat_l2_swath_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 06d4d81

Please sign in to comment.