<div dir="ltr">Dear all,<div><br></div><div>I'm doing wildfire simulations in the Grass. I need to calculate the area of only the wildfire spread from the simulation. For that, I need to take only the wildfire spread as a separate layer. But the drawback is the values of the cells in the spread is different from point to point. But it has a range. As an example, the values of cells inside the spread are ranging from 1-90. The other cells in the map show values more than that.</div><div>Can I write a mapcalc command for a range like this to output these cells as one layer?</div><div><br></div><div>@Nikos has sent me this mapcalc command and from that, we can take only cells with one value as a layer.</div><div><br></div><div>r.mapcalc "category_3 = if(spread_time_observed == 3, 3, null())" </div><div><br></div><div>instead of that one value(3) in this can we input a range as above(1-90) and get all those cells with different values as one layer?</div><div><br></div><div>Thank You</div><div>Best Regards</div><div>Kalindu Perera <br></div></div>