@@ -1200,6 +1200,8 @@ cdef class gribmessage(object):
1200
1200
return longval
1201
1201
else : # array
1202
1202
if os.name == ' nt' :
1203
+ # this should not be necessary since np.int_ should
1204
+ # be platform-dependent long, which should map to 32-bits on windows?
1203
1205
datarr = np.zeros(size, np.int32)
1204
1206
else :
1205
1207
datarr = np.zeros(size, np.int_)
@@ -1332,7 +1334,6 @@ cdef class gribmessage(object):
1332
1334
if self .expand_reduced:
1333
1335
lonsperlat = self [' pl' ]
1334
1336
nx = lonsperlat.max()
1335
- print (lonsperlat.dtype,lonsperlat.shape,lonsperlat,nx,ny)
1336
1337
datarr = redtoreg(datarr, lonsperlat, missval = missval)
1337
1338
else :
1338
1339
nx = None
@@ -1571,7 +1572,6 @@ cdef class gribmessage(object):
1571
1572
ny = self [' Nj' ]
1572
1573
lonsperlat = self [' pl' ]
1573
1574
nx = lonsperlat.max()
1574
- print (lonsperlat.dtype,lonsperlat,nx)
1575
1575
lon1 = self [' longitudeOfFirstGridPointInDegrees' ]
1576
1576
lon2 = self [' longitudeOfLastGridPointInDegrees' ]
1577
1577
lons = np.linspace(lon1,lon2,nx)
@@ -1584,7 +1584,6 @@ cdef class gribmessage(object):
1584
1584
ny = self [' Nj' ]
1585
1585
lonsperlat = self [' pl' ]
1586
1586
nx = lonsperlat.max()
1587
- print (lonsperlat.dtype,lonsperlat,nx)
1588
1587
lat1 = self [' latitudeOfFirstGridPointInDegrees' ]
1589
1588
lat2 = self [' latitudeOfLastGridPointInDegrees' ]
1590
1589
lon1 = self [' longitudeOfFirstGridPointInDegrees' ]
0 commit comments