[GRASS-user] Python script for template creation -i.atcorr module-reg
Moritz Lennert
mlennert at club.worldonline.be
Mon Oct 22 04:31:52 PDT 2018
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.
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
>
>
>
More information about the grass-user
mailing list