X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Jun 2022 07:12 AM by  Karen Kowalewsky
Format for inputting metadata
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Karen Kowalewsky



New Member


Posts:9
New Member


--
13 Jun 2022 01:55 PM
    What is the text format for inputting spectral band gains/offsets? I created a text file with the gains for 400+ bands I get an error massage that the number of lines and number of elements to not match. I have 400 lines, two columns band number and gain value. How is this file supposed to be assembled short of me fat fingering these values in the gui?

    Thanks,

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    14 Jun 2022 09:04 AM
    The format should be a column of values in a text file. Check to make sure the number of values (gains for example) match the exact number of bands in the file. If you have set some bands to be 'bad bands' then it may give an error such as this. I would also check the metadata for 'bad bands' setting.

    Karen Kowalewsky



    New Member


    Posts:9
    New Member


    --
    14 Jun 2022 11:21 AM
    I had that and was getting an error that I didn't have matching elements. Single column of a gain value. Do I need two columns, one band number and other the gain?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    15 Jun 2022 05:42 AM
    No, you only need a simple text file column. For example, I was able to upload gains in a text file in this format:

    0.5
    0.1
    0.7
    No errors. I just use the View Metadata->Edit Metadata, add the 'gains' and then use the folder open to import the values.

    Karen Kowalewsky



    New Member


    Posts:9
    New Member


    --
    15 Jun 2022 07:12 AM
    ok, I'll try that again. That was the text file format. Thanks
    You are not authorized to post a reply.