aerospaceresearch / orbitdeterminator

determination of satellite orbits and more
MIT License
180 stars 113 forks source link

input file format auto detect #234

Open hornig opened 3 years ago

hornig commented 3 years ago

https://github.com/aerospaceresearch/orbitdeterminator/blob/2929ff49383988cbbbc248bb29f2e6a832c9c605/orbitdeterminator/main.py#L215

currently, the default testcase is a simple .csv file. but there are more like the IOD file formats or .json formated files (including multi station observations.

it would be nice to have a function that can automatically detect the format.

abafoon commented 3 years ago

I already see commits to this issue, code at the referenced line is modified.

hornig commented 3 years ago

Which issue do you see then?

If you mean iod, then it's not.

varshini2305 commented 3 years ago

Which issue do you see then?

If you mean iod, then it's not.

Can you please elaborate on what you mean by IOD file formats? Or list all file formats that should be detected by the module?

varshini2305 commented 3 years ago

Which issue do you see then?

If you mean iod, then it's not.

In addition to CSV files- we need a method to also read and process JSON files as input, is that all?

hornig commented 3 years ago

@varshini2305 you maybe did not see the #244 PR, can you please check your PR #245 again, please?