[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 14:28:04 EDT 2008


Markus Neteler wrote:

> > To change the format of the signature files, replace %f with %g in
> > I_write_signatures(), in lib/imagery/sig.c.
> 
> I have tried that, of course it works.
> But apparently i.maxlik needs a change, too, to read that properly (same
> sig.c fie, I suppose). At least i.maxlik doesn't produce any better result
> with the precision improved signatures.

i.maxlik just calls I_read_signatures(). That just uses fscanf("%f"),
which will read anything which was generated by %f, %e or %g (for the
*scanf family, %f, %e and %g are synonyms).

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


More information about the grass-dev mailing list