Row blocksize error

ello,

I try to run the Habitat Quality model ( is the second time) the first time with another data that was ok. Now is the same study area buy the threats are different and now I have this error:

ValueError: (‘C:/Habitat_Calidad/Escenario_1\intermediate\autopistas_aligned_esc1.tif’, 1) has a row blocksize which can make this function run very slow, create a square blocksize using warp_raster or align_and_resize_raster_stack which creates square blocksizes by default.

And I don’t know how to fix it, could you help me?

Thanks

Tania

Hi @TaniaFV,

Thanks for posting to the forums and welcome to the community.

This is an interesting error because it appears that the raster mentioned (autopistas_aligned_esc1.tif) would have already been run through one of our functions (align_and_resize_raster_stack) that should default to a square blocksize.

Would you mind sharing your data so we can investigate the issue? The data that would be useful would be your threat rasters, the current LULC raster, threats and sensitivity table. You can email them directly to ddenu @ stanford.edu or you can share via Google Drive or another file sharing service.

Thanks!

Doug

1 Like

Hello Doug,

The data is in:

https://drive.google.com/file/d/1enos-YFQ2-q4LG4PxzA_87JvN46zedYX/view?usp=sharing

Thanks

Tania