New microservice to open data files with help of a reader factory
- depends upon async/paraview!289
- closes async/paraview#31
-
vtkPTSPipelineBuilder::CreateReader
is now complete and can create readers for single file or fileseries. A todo was documented about this missing feature. This merge request completes the work. - The new microservice
vtkPTSDataFile
can be used to open a single file or a fileseries (can.e.4.0, can.e.4.1, can.e.4.2
) - You may obtain a reader with
vtkPTSDataFile::Open(...)
- If you prefer to obtain a list of possible readers,
vtkPTSDataFile::FindPossibleReaders(...)
returns avtkStringArray
with all possible readers. - The list of possible readers is formatted as {"group1,proxy1", "group2,proxy2", "group3,proxy3"}. I would like it if we can use
std::vector<std::pair<std::string, std::string>>
instead. The task is the python observable wrapper needs to be taught how to wrap it. - I'll create python wrapper and python test after C++ API settles down.