Hi
THanks Markus
I sent an email directly to you instead of the mailing list. And I made
a mistake in the previous email.
Here goes:
But I still have one question.
In this case I want to transform all pixels that are not
myscript.tmpva...@national ==1 and myscript.tmpcl...@national !=1 to
NULL and the rest to the values that exists in raster B1. So I built
this function in r.mapcalc
if(( myscript.tmpva...@national ==1 && myscript.tmpcl...@national
!=1),B.1,null())
The thing is:
I gett all NULLS
And If I do:
If I do if(( myscript.tmpva...@national ==1 &&
myscript.tmpcl...@national !=1),B.1,1000)
I get 1000 where I don't meet those conditions and, nulls where I
suppose to have my B.1. values. B.1 ranges from 0.03 til 0.67
WHat am I doing wrong?
Antonio
and I get all nulls which is wrong
But if I substitute null() by 1000 it goes ok but I need to have these
pixels as Nulls
What am I wrong?
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5567 (20101027) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user