[GRASS-user] Python script for template creation -i.atcorr module-reg

Markus Metz markus.metz.giswork at gmail.com
Mon Oct 22 07:57:59 PDT 2018


On Mon, Oct 22, 2018 at 1:32 PM Moritz Lennert <mlennert at club.worldonline.be>
wrote:
>
> Hi,
>
> Please keep discussions on the mailing list.
>
> On 22/10/18 13:07, kameswari devi wrote:
> > yes i have given a csv file but x_new is above the interpolation range
> > message is appeared.
> >> wav(nm),B10,B11
> >> 477,0.3744
> >> 478,0.6864
> >> 480,1
> >> 481,0.8624
> >> 482,0.6018
> >> 483,0.4434
> >> 484,
> >> 485,
> >> 486,,0.377
> >> 487,,0.667
> >> 488,,0.968
> >> 489,,1
> >> 490,,0.760
> >> 491,,0.590
> >> 492,,0.455
>
> AFAIK, you always need the same number of fields on every line, but the
> first 8 lines only have two fields while the rest has 3 fields.

Which GRASS version are you using? Please use a recent GRASS 7.4 version,
or better GRASS 7.6. Can you also post the full output of create_iwave.py?
That could help to find out what goes wrong.

Markus M

>
> Moritz
>
> > On Mon, Oct 22, 2018 at 1:32 PM Moritz Lennert
> > <mlennert at club.worldonline.be> wrote:
> >>
> >> On 22/10/18 06:02, kameswari devi wrote:
> >>> Hello all,
> >>> I m trying to use Create_iwave.py for template creation in grass for
> >>> atmopsheric correction.But due to the spectral response values errors
> >>> are thrown. here i am sending the rsr i used and error i got .please
> >>> suggest me. thakn you
> >>>
> >>> wav(nm)  B10
> >>> 477 0.3744
> >>> 478 0.6864
> >>> 480 1
> >>> 481 0.8624
> >>> 482 0.6018
> >>> 483 0.4434
> >>> 484
> >>> 485
> >>> 486 0.377
> >>> 487 0.667
> >>> 488 0.968
> >>> 489 1
> >>> 490 0.760
> >>> 491 0.590
> >>> 492 0.455
> >>
> >>
> >> AFAIR, you need to separate fields by a comma, not a space.
> >>
> >> Moritz
> >
> >
> >
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181022/0edd7831/attachment.html>


More information about the grass-user mailing list