[GRASS-dev] Re: [GRASS-user] low radiance values after i.atcor
and i.topo.corr
Glynn Clements
glynn at gclements.plus.com
Sun Jun 22 09:46:02 EDT 2008
Markus Neteler wrote:
> > printf("%g\n", 0.000100001);
> > => 0.000100001
> >
> > printf("%g\n", 0.000099999);
> > => 9.9999e-05
> >
> > So the default precision should be fine unless you actually get images
> > with intensity values accurate to 1PPM or better.
>
> Sounds very promising. If you could indicate where to change, I can
> run again my test examples.
To change the format of the signature files, replace %f with %g in
I_write_signatures(), in lib/imagery/sig.c.
To change the format of the report file, replace occurrences of %6.2f
with e.g. %g in the various imagery/i.cluster/print*.c files.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list