Dears, bear with me please. # a raster map r.info lst_LC81920282013103LGN01 -e |grep -v comments
map=lst_LC81920282013103LGN01 mapset=lst location=wgs84_utm_z32n database=/geo37/grassdb date="Tue Oct 24 09:57:09 2017" creator="nik" title="Land Surface Temperature (C)" timestamp="13 Apr 2013 10:00:09 +0000" units=Celsius vdatum="none" source1="LC81920282013103LGN01" source2="Image courtesy of the U.S. Geological Survey" description="Land Surface Temperature derived from a split-window algorithm. " # current extent g.region -g projection=1 zone=32 n=5033970 s=5032560 w=728550 e=729900 nsres=30 ewres=30 rows=47 cols=45 cells=2115 # raster profile r.univar -g lst_LC81920282013103LGN01 n=1146 null_cells=969 cells=2115 min=21.1275978440738 max=38.3413213282611 range=17.2137234841874 mean=30.9545992176352 mean_of_abs=30.9545992176352 stddev=2.96870910093284 variance=8.81323372596147 coeff_var=9.59052669382173 sum=35473.97070341 # define a single row region eval `g.region -g` g.region -g s=n-$nsres projection=1 zone=32 n=5033970 s=5033940 w=728550 e=729900 nsres=30 ewres=30 rows=1 cols=45 cells=45 # raster profile? r.univar -g lst_LC81920282013103LGN01 # returns nothing. # again, for the whole of it r.univar -r lst_LC81920282013103LGN01 100% total null and non-null cells: 2115 total null cells: 969 Of the non-null cells: ---------------------- n: 1146 minimum: 21.1276 maximum: 38.3413 range: 17.2137 mean: 30.9546 mean of absolute values: 30.9546 standard deviation: 2.96871 variance: 8.81323 variation coefficient: 9.59053 % sum: 35473.97070341 Is this expected? Continuing further with g.region -g s=s-$nsres returns nothing before up until the region becomes 7 rows tall. Then r.univar -g lst_LC81920282013103LGN01 returns n=33 null_cells=282 cells=315 min=27.1068085576393 max=31.2078924764929 range=4.10108391885359 mean=29.504924461646 mean_of_abs=29.504924461646 stddev=1.20251677356142 variance=1.44604659069658 coeff_var=4.07564769441995 sum=973.662507234318 Nikos
signature.asc
Description: PGP signature
_______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev
