[GRASS-user] compare a DCELL and FCELL question

2021-01-23 Thread ming han
Hi Everyone

I tried to compare if grids in two rasters are the same, one raster is
FCELL and another raster is DCELL. I got different result  when I int both
raster first before comparing them; and when I float() both raster first
before I comparing them

Is there any reason for this?

Thanks
Ming
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] r.futures.demand

2021-01-23 Thread Anna Petrášová
Hi Mitchell,

On Fri, Jan 22, 2021 at 3:23 PM Mitchell Meads 
wrote:

> Hi all,
>
> I'm getting an error when running r.futures.demand that says "Number of
> development raster maps doesn't not correspond to the number of observed
> times". I thought that a fix for this would be to make sure my input
> population csv had years that matched the input raster maps in the first
> column but this didn't change the error. If you could let me know what you
> think I'm doing wrong, that would be greatly appreciated!
>

The error means the number of raster maps in the development parameter does
not match the number of years in the observed_population CSV. So for
example, if you specify development=urban_2001,urban_2006,urban_2011 (3
maps) then the observed_population file should look like this (header + 3
lines):

year,37037,37063,...
2001,19860,10980,...
2006,20760,12660,...
2011,21070,13090,...

If you can't see any obvious mistake with your data, I would have to see
the r.futures.demand command you are trying to execute and the input CSV
file.


>
>
> Cheers,
> Mitchell
>
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS won’t open after locking up

2021-01-23 Thread Maris Nartiss
1) Clean up ".tmp" directory located inside the last used mapset;
2) Remove the "~/.grass7/rc" file to force a clean start for GRASS. It
is safe as GRASS will generate a new one if rc file is missing.

Hope this helps,
Māris.
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user