You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have at least some information to estimate how much memory the output array will roughly need:
defmemory_estimate(bands=3, metatiling=1, pixelbuffer=0, dtype="uint8"):
tile_size=256metatile_size=tile_size*metatiling# add pixelbuffer around metatile if definedmetatile_size=metatile_size+2*pixelbuffer# calculate number of pixelsone_band_pixels=metatile_size**2all_bands_pixels=bands*one_band_pixels# footprint of one pixel as datatypeitemsize=np.dtype(dtype).itemsize# total size in bytesreturnall_bands_pixels*itemsize
The text was updated successfully, but these errors were encountered:
We have at least some information to estimate how much memory the output array will roughly need:
The text was updated successfully, but these errors were encountered: