Skip to content

Error when using outputFileType=matlab #33

@hk-jal

Description

@hk-jal

I get an error when using "outputFileType=matlab", when running the parser without the command it runs fine on the same files.

I am not sure if its me or it's an error:

File "....\test\sd_file_parser.py", line 1642, in
main(**arguments)
~~~~^^^^^^^^^^^^^
File "....\test\sd_file_parser.py", line 559, in main
parseLocationFiles(inputFileName = fileName, kind=suffix,
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
outputFileName = fileName,
^^^^^^^^^^^^^^^^^^^^^^^^^^
outputFileType=outputFileType,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
versionNumber=version['number'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IIRWeightType=version['IIRWeightType'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\test\sd_file_parser.py", line 751, in parseLocationFiles
'Lon':data[:,8].astype(np.float32),
~~~~^^^^^
IndexError: index 8 is out of bounds for axis 1 with size 8

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions