[GRASS-dev] i.pansharpen: brovey method parallelization glitch

Hi,

when running the manual example, I observe a strange warning:

# landsat mapset

GRASS 7.1.svn (nc_spm_08_grass7): > i.pansharpen
red=lsat7_2002_30@PERMANENT green=lsat7_2002_20 blue=lsat7_2002_10
pan=lsat7_2002_80 method=brovey output=lsat7_2002_brovey
Performing pan sharpening with hi res pan image: 14.250000
Histogram matching...
100%
100%
Histogram matching...
100%
100%
Histogram matching...
100%
100%
Calculating Brovey transformation...
100%
100%
100%
Assigning grey equalized color tables to output images...
Adding raster map <lsat7_2002_brovey_red@landsat> to group
Adding raster map <lsat7_2002_brovey_blue@landsat> to group
Adding raster map <lsat7_2002_brovey_green@landsat> to group
WARNING: No data base element files found <<--- huh?

The method=brovey uses parallelization for a r.mapcalc call.
Probably the calls of

            pb.wait()
            pg.wait()
            pr.wait()

are incomplete?

The maps are generated anyway.

Markus

On 09/02/16 17:53, Markus Neteler wrote:

Hi,

when running the manual example, I observe a strange warning:

# landsat mapset

GRASS 7.1.svn (nc_spm_08_grass7): > i.pansharpen
red=lsat7_2002_30@PERMANENT green=lsat7_2002_20 blue=lsat7_2002_10
pan=lsat7_2002_80 method=brovey output=lsat7_2002_brovey
Performing pan sharpening with hi res pan image: 14.250000
Histogram matching...
  100%
Histogram matching...
  100%
Histogram matching...
  100%
Calculating Brovey transformation...
  100%
Assigning grey equalized color tables to output images...
Adding raster map <lsat7_2002_brovey_red@landsat> to group
Adding raster map <lsat7_2002_brovey_blue@landsat> to group
Adding raster map <lsat7_2002_brovey_green@landsat> to group
WARNING: No data base element files found <<--- huh?

That's a g.remove or similar message. I see that when my scripts try to remove a file that doesn't exist.

Moritz