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
I tried to mask a tif file of 6gb on a pc of 64gb ram and the memory usage kept increasing till it reached about 97% then I cancelled it.
I cancelled it because I had similar issues with another file that I didn't cancel and it brought a blue screen error. I hope it can be fixed soon because I tried masking the same image in R studio with the raster, terra package and had no memory problems.
Secondly, the resample function only allows for raster shape, How can I resample with cell size instead?
The text was updated successfully, but these errors were encountered:
Ah, yes the mask function is really just using rasterio's mask method, which reads everything into memory and does require quite a lot of RAM for the processing. The only thing that it does to reduce the memory footprint is it applies the mask by band, which was a quick and dirty approach to masking, assuming that the operation for a single band can still be performed in memory. It should be possible to mask by reading in chunks of the data - will have to look at implementing this.
I tried to mask a tif file of 6gb on a pc of 64gb ram and the memory usage kept increasing till it reached about 97% then I cancelled it.
I cancelled it because I had similar issues with another file that I didn't cancel and it brought a blue screen error. I hope it can be fixed soon because I tried masking the same image in R studio with the raster, terra package and had no memory problems.
Secondly, the resample function only allows for raster shape, How can I resample with cell size instead?
The text was updated successfully, but these errors were encountered: