I have two subfolders, which contains rasters for each country but which express different variables. I am trying to figure out a way to Loop a multiplication of each raster into a folder with its pair of the other subfolder. Looks like:.
AFG_13 AFG_25.tif_int for AfghanistanAGO_13 AGO_25.tif_int for Angolaetc...
where the first column rapresents the total population and the second is like a mask (infact I need only the pixel with values 25 converted in the pixel value 1)
In other words I need to multiply AFG_13*con(AFG_25.tif_int==25,1) in Python..I tried already to solve the problem in different ways, but still nothing...some advice?
أكثر...
AFG_13 AFG_25.tif_int for AfghanistanAGO_13 AGO_25.tif_int for Angolaetc...
where the first column rapresents the total population and the second is like a mask (infact I need only the pixel with values 25 converted in the pixel value 1)
In other words I need to multiply AFG_13*con(AFG_25.tif_int==25,1) in Python..I tried already to solve the problem in different ways, but still nothing...some advice?
أكثر...