Skip to content

Error while using tab2hdf library #1

@kadlagomkar

Description

@kadlagomkar

We were working on a satellite-based project that involved spectroscopic data analysis. We were given data in .tab format, but all of the python packages use hdf5 format files for spectroscopic analysis. We'll be able to convert our files to h5 format thanks to your tab2hdf library. We were able to successfully import it into our system, however when we supplied the command,

tab2hdf.py -i h80409.tab -o h80409.h5 -b 32 -- version

It did not work. Where h80409.tab in our input file. It gave us response:

tab2hdf.py: command not found

Below I have attached code snippets:

omkar@omkar-HP-Notebook:~/tab2hdf-master/scripts$ tab2hdf.py -i h80409.tab -o h80409.h5 -b 32 -- version
tab2hdf.py: command not found
omkar@omkar-HP-Notebook:~/tab2hdf-master/scripts$ python3
Python 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tab2hdf
>>> tab2hdf.py -i h80409.tab -o h80409.h5 -b 32 -- version
  File "<stdin>", line 1
    tab2hdf.py -i h80409.tab -o h80409.h5 -b 32 -- version
                  ^
SyntaxError: invalid syntax
>>> exit()
omkar@omkar-HP-Notebook:~/tab2hdf-master/scripts$ tab2hdf -i h80409.tab -o h80409.h5 -b 32 -- version
tab2hdf: command not found

Your inputs will be extremely helpful and beneficial to our project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions