[GRASS-user] d.polar strange behavior when using MASK

Glynn Clements glynn at gclements.plus.com
Wed Oct 3 09:11:30 EDT 2007


Stefano Costa wrote:

> I was trying to use d.polar on an aspect map.
> 
> I've been able to produce EPS output w/o any problem, except when using a 
> raster MASK. My mask leaves out many (about 95%) of the cells in the 
> whole region. Without MASK it took 2 minutes for d.polar to complete.
> 
> If I run d.polar on the same map w/ this MASK, I get no results, even 
> though I've been waiting (patiently :-) for more than 1 hour.
> 
> Any suggestion about this problem? I saw d.polar is a shell script, thus 
> possibly slow, but I'm confused because on a larger number of cells it 
> works well.

Try using "sh -x", e.g.

	sh -x `which d.polar` map=...

That should provide some clues as to where it's hanging.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list