[GRASS-user] Can r.surf.idw create fcell maps?

Hi all,

Have been using r.surf.idw in a script only to find it changes my
fcell/dcell maps into cell format. I'm using a CVS version from a
couple of months ago - but haven't found any note of this behaviour
changing.

$ r.info ${rastname}
...
Range of data: min = 2.269041 max = 19.934521
...

$ r.surf.idw input=$rastname output=${rastname}_idw npoints=2

$ r.info ${rastname}_idw
...
Range of data: min = 2 max = 20
...

Same for r.surf.idw2

Is there anyway around this? Or am I fundamentally missing something
about how idw works?

Thanks!

--
-Joel

"Wish not to seem, but to be, the best."
                -- Aeschylus

Joel Pitt wrote:

Can r.surf.idw create fcell maps?

I don't know.

Have been using r.surf.idw in a script only to find it changes my
fcell/dcell maps into cell format. I'm using a CVS version from a
couple of months ago - but haven't found any note of this behaviour
changing.

$ r.info ${rastname}
...
Range of data: min = 2.269041 max = 19.934521
...

$ r.surf.idw input=$rastname output=${rastname}_idw npoints=2

$ r.info ${rastname}_idw
...
Range of data: min = 2 max = 20
...

Same for r.surf.idw2

Is there anyway around this? Or am I fundamentally missing something
about how idw works?

workaround:

r.mapcalc "rast_x100000 = int($rastname * 100000)"
r.surf.idw in=rast_x100000 out=result
r.mapcalc "${rastname}_idw = result / 100000.0"

Hamish