Changing raster calculation values - shorten this script?

المشرف العام

Administrator
طاقم الإدارة
i'm doing something quite straightforward regarding raster algebra but am struggling either to find the correct function or make a function work correctly;

Basically I have 2 rasters, representing consecutive years, that represent a classification (including NA values);

r
 
أعلى