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 and I get the following:
-
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
Apart from the region resolution, it's land cover classes, r.fillnulls
will produce nonsense data: floating point. Rather use r.neighbors
with a modal filter, patch the original with the filtered map, that
would replace NULLs with the most common surrounding land cover type.
Markus M
Hanlie
Hanlie wrote:
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 and I get the
Hanlie wrote:
| Rows: 11957
| Columns: 6277
...
I have tried to see the NULLS by displaying everything in
white, except for NULLS displayed in red, but I didn't see
anything.
Does anyone know how I can find out if there are actually
NULL value and where they are?
try