-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get json document stream(s) for testing #136
Comments
Code to collect data from databroker assuming mongodb configuration:
|
Here is a data file (full document streams) and list of recent USAXS plans (only representative of current conditions):
Note: The X-ray beam was off so the data have no scientific meaning. |
Depositing the data file in this issue rather than dumping >1MB in the repo. Might grab smaller data for the repo but this will work for now. |
Data will be useful when refactoring the |
That output was not interpretable as json. |
Might look at this related issue. export from one mongodb db and import to another sqlite |
Databroker API docs: http://nsls-ii.github.io/databroker/api.html Seems it is not so easy to copy from db to another for testing. Consider suitcase? Perhaps with JSON backend? suitcase-jsonnl is very new (v0.1.1): https://github.com/NSLS-II/suitcase-jsonl |
NumpyEncoder might be the trick. See:
|
slight edits from above:
|
Now able to read that JSON but still cannot insert it into sqlite Broker backend. Something else is bolloxed. That's not for this issue, though. Here's the error:
parameter |
Revised JSON file, full and just one |
useful with #128, for example
The text was updated successfully, but these errors were encountered: