added endpoint for data retrieval#70
Conversation
maarten-ic
left a comment
There was a problem hiding this comment.
Hi Prasad,
I'm also a bit confused about the usecases you're trying to support. I had expected this would be a simple way to extract the summary time traces (1D) or 0D data from the IDSs stored on disk.
However, the logic in some places is more complicated than that (e.g. _to_python seems to support arbitrary dimension arrays, but only for floats).
If this is only intended for 0D or 1D data, then I'd explicitly indicate that (and give an error when trying to retrieve higher dimensional data).
See also some of the specific comments below. Let me know if you have any questions.
|
Hello, I would suggest to use exiting API and enhance to achieve this requirement. API In API implementation when preparing metadata response, check if element value We don't have to call API for each selected quantity. |
Hi @deepakmaroo, [Note: This endpoint will be unused or removed when ibex backend is available on the server] |
Co-authored-by: Simon Pinches <SimonPinches@users.noreply.github.com>
Hello Maarten, Here, usecase is simply extracting summary IDS fields (0D/1D). I agree it needs clean up and also should give an error when trying to retrieve higher dimensional data. Thanks |
…e key because it is returning flat 1d array
|
While testing the test server with a client based on the same version (both based on this branch) works so far as expected, if I used a client from the last release 0.15.1 I get an error message that does not clearly identify the problem and will come as a surprise to the user: @Yannicked @maarten-ic, while I can't rule out that the problem comes from this PR or from our install in the test server, it's most probably an issue present already in develop (since the merge of JSON column?). |
Hi Olivier this seems to be an issue in develop. I've created a fix for it: #87 |
Temporal endpoint for data retrieval from IMAS data entries as metadata doesn't have arrays