GPM Memory Error
Closed this issue · 0 comments
nlenssen2013 commented
MemoryError: Unable to allocate 47.2 GiB for an array with shape (500, 24, 88, 500, 24) and data type float32
Unable to copy the data over
1042 # Copy data
1043 var_group.variables[new_var_name].set_auto_maskandscale(False)
-> 1044 var_group.variables[new_var_name][:] = variable.data
is the error for this call
forig,finput,foutput = set_fnames('GPM',
'2A.GPM.DPR.V9-20211125.20170209-S115357-E132631.016769.V07A.HDF5',
'HDF5')
bbox = np.asarray(((-180,180),(-70,70)))
variables = ['/HS/SLV/precipWater']
subset(finput,bbox,foutput, variables=variables)