Plugin system for importing non-RINEX files in ´rinex-cli` #134
Replies: 3 comments
-
Hello @larsnaesbye,
definitely
Yes, but we need an interface to pass data to the third party tool, in the form of binary blob exchanges (data we cannot interpret). |
Beta Was this translation helpful? Give feedback.
-
My thought was that we support only one type of plugin - a library with a few defined and exposed functions so rinex-cli can get metadata from it, pass a blob to it and get a RINEX structure back. If the easiest way is to limit it to Rust libraries, that's fine.
I like the idea of returning a |
Beta Was this translation helpful? Give feedback.
-
I suggest this is something way after v1.0.0, but I would take it into consideration when working on my converter so it could turn into a plugin if we go down that path. |
Beta Was this translation helpful? Give feedback.
-
This is an idea that came out of my sparse work of trying to look at writing a Septentrio to RINEX converter.
teqc
can import non-RINEX files in various formats, e.g. the vendor-specific 'RAW' data files. This functionality comes from code donated to tecq from the vendors but this in return made it impossible to open source license teqc. This seems to have been a major reason for some to hold on to tecq.So, here's my idea: Expanding
rinex-cli
with the functionality to detect compiled plugins that conform to a simple specification, so the plugins can process conversion from external format to RINEX before other processing.Upon launch,
rinex-cli
would act on an import flag, check for a plugin that matches and dynamically link to the plugins code and offload the conversion to the plugin, perhaps by passing a memory chunk with the data or just a filepath. The plugin then does its processing, returns aRinex
object and is unloaded from memory.rinex-cli
then does the further processing as before as if it had loaded a RINEX file.Do you see potential in this or just bloat?
Beta Was this translation helpful? Give feedback.
All reactions