zimmerst / dampedatacatalog Goto Github PK
View Code? Open in Web Editor NEWDAMPE Data Catalog Prototype
DAMPE Data Catalog Prototype
File size, despite being recognized by insert is not properly stored.
registerDS sets is_origin = True for all replica registrations, clearly a bug.
currently, have tiered data structure:
DataSet 1
|_ DampeFile 1
|_ Replica 1
...
|_ Replica N
|_ DampeFile 2
|_ Replica 1
...
|_ Replica N
DataSet 2
|_ DampeFile 1
|_ Replica 1
|_ Replica 2
should also have folders to make browsing easier.
Command written:
dampe-dfc-query -f DAMPE_2A_OBS_20160102_20160102T085454_20160102T095759_00000_bgXVEPQPA2vBTdLoyBgv.root -o output.root
Terminal output:
Traceback (most recent call last):
File "/home/david/anaconda2/envs/testcatalogue/bin/dampe-dfc-query", line 10, in
sys.exit(main())
File "/home/david/anaconda2/envs/testcatalogue/lib/python2.7/site-packages/DampeDataCatalog/scripts/query.py", line 38, in main
res.raise_for_status()
File "/home/david/anaconda2/envs/testcatalogue/lib/python2.7/site-packages/requests/models.py", line 862, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://dampevm6.unige.ch:4000/query
Might very well be caused by insufficient arguments. If it's the case, can I suggest having some error management, telling the user if an argument is missing (by raising an error with explicit text)? I can help you on that, but I do not known which arguments are necessary for the HTTP request.
endpoint UpdateQuery exists already:
https://github.com/zimmerst/DampeDataCatalog/blob/master/DampeDataCatalog/core/views.py#L89
should add client scripts for update & query (that uses requests)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.