Hanlie Pretorius wrote: > Hi, > > I have a MODIS land cover image that contains NULL values according to > r.univar: > ----- > r.univar map=modis_land_cover_type1_2001_prim...@permanent > total null and non-null cells: 41884 > total null cells: 17145 > ----- > > So, I tried to fill it with r.fillnulls > ----- ... > > Output of g.region -p: > ----- > nsres: 0:00:15.210751 > ewres: 0:00:15.269511 > ----- > > Output of r.info: > ----- > r.info map=modis_land_cover_type1_2001_prim...@permanent > Res: 0:00:00.36001 > Res: 0:00:00.36002
Adjust the resolution of the current region to the MODIS image, either g.region rast=modis_land_cover_type1_2001_prim...@permanent or g.region align=modis_land_cover_type1_2001_prim...@permanent if you want to work with custom bounds. That should do the trick Markus M _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user