From lars.bilke at ufz.de Mon Jan 5 05:09:35 2015 From: lars.bilke at ufz.de (Lars Bilke) Date: Mon, 05 Jan 2015 11:09:35 +0100 Subject: [Tangelo-users] Girder data retrival Message-ID: <2F8CFAE7-50CD-4678-9487-B2D7B9D7D569@ufz.de> Dear all, I am exploring Tangelo and it looks very promising so far! Thanks for this initiative! But here is my first question: Can you give a short example how get data from Girder into Tangelo? I have some CSV files in Girder representing time series data. Now I would like to visualize them with Tangelo?s time series plugin (vis/timeline.js). I guess I have to query Girder from a Python service script, right? I tried it with the help of the GirderClient-class from TangeloHub [1] but had no success. Can you give me some advice? Thanks, Lars [1]: https://github.com/Kitware/tangelohub/blob/master/devops/ansible/GirderClient.py From jeff.baumes at kitware.com Mon Jan 5 09:30:18 2015 From: jeff.baumes at kitware.com (Jeff Baumes) Date: Mon, 05 Jan 2015 14:30:18 +0000 Subject: [Tangelo-users] Girder data retrival References: <2F8CFAE7-50CD-4678-9487-B2D7B9D7D569@ufz.de> Message-ID: Yes, you should be able to use GirderClient in a Python script to get what you need. Try the official one from Girder here, it may work better: https://github.com/girder/girder/blob/master/clients/python/GirderClient.py Let us know if this still is not working and provide the error messages you are getting. If you are hosting girder as a Tangelo plugin, you can also potentially access Girder data from Javascript AJAX calls: http://girder.readthedocs.org/en/latest/external-web-clients.html On Mon Jan 05 2015 at 5:19:22 AM Lars Bilke wrote: > Dear all, > > I am exploring Tangelo and it looks very promising so far! Thanks for this > initiative! But here is my first question: > > Can you give a short example how get data from Girder into Tangelo? > > > I have some CSV files in Girder representing time series data. Now I would > like to visualize them with Tangelo?s time series plugin (vis/timeline.js). > I guess I have to query Girder from a Python service script, right? I tried > it with the help of the GirderClient-class from TangeloHub [1] but had no > success. > > Can you give me some advice? > > Thanks, > Lars > > > [1]: https://github.com/Kitware/tangelohub/blob/master/devops/ > ansible/GirderClient.py > _______________________________________________ > Tangelo-users mailing list > Tangelo-users at public.kitware.com > http://public.kitware.com/mailman/listinfo/tangelo-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From roni.choudhury at kitware.com Mon Jan 5 12:01:20 2015 From: roni.choudhury at kitware.com (Roni Choudhury) Date: Mon, 5 Jan 2015 12:01:20 -0500 Subject: [Tangelo-users] Girder data retrival In-Reply-To: References: <2F8CFAE7-50CD-4678-9487-B2D7B9D7D569@ufz.de> Message-ID: On Mon, Jan 5, 2015 at 9:30 AM, Jeff Baumes wrote: > If you are hosting girder as a Tangelo plugin, you can also potentially > access Girder data from Javascript AJAX calls: > > http://girder.readthedocs.org/en/latest/external-web-clients.html > ?Just to add to this: the Tangelo log should indicate during startup if the Girder plugin was initialized properly. If it was, you should be able to access the Girder web client at /plugin/girder/girder, and the web API at /plugin/girder/girder/api/v1. The latter can be used to make direct API calls, but this is obviously lower level than using GirderClient.py. Please let us know if you need more detailed help or debugging. roni > > > > > On Mon Jan 05 2015 at 5:19:22 AM Lars Bilke wrote: > >> Dear all, >> >> I am exploring Tangelo and it looks very promising so far! Thanks for >> this initiative! But here is my first question: >> >> Can you give a short example how get data from Girder into Tangelo? >> >> >> I have some CSV files in Girder representing time series data. Now I >> would like to visualize them with Tangelo?s time series plugin >> (vis/timeline.js). I guess I have to query Girder from a Python service >> script, right? I tried it with the help of the GirderClient-class from >> TangeloHub [1] but had no success. >> >> Can you give me some advice? >> >> Thanks, >> Lars >> >> >> [1]: https://github.com/Kitware/tangelohub/blob/master/devops/ >> ansible/GirderClient.py >> _______________________________________________ >> Tangelo-users mailing list >> Tangelo-users at public.kitware.com >> http://public.kitware.com/mailman/listinfo/tangelo-users >> > > _______________________________________________ > Tangelo-users mailing list > Tangelo-users at public.kitware.com > http://public.kitware.com/mailman/listinfo/tangelo-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lars.bilke at ufz.de Tue Jan 6 11:15:07 2015 From: lars.bilke at ufz.de (Lars Bilke) Date: Tue, 06 Jan 2015 17:15:07 +0100 Subject: [Tangelo-users] Girder data retrival In-Reply-To: References: <2F8CFAE7-50CD-4678-9487-B2D7B9D7D569@ufz.de> Message-ID: <27B56841-4006-4E58-87F4-3AF3298A9D19@ufz.de> Thank you Jeff and Roni, I was successful in using the Javascript AJAX interface! For the Python interface the GirderClient misses a parameter in the constructor to adapt the API path (to /plugin/girder/girder/api/v1). But I did not tried it anymore.. Best, Lars > Am 05.01.2015 um 15:30 schrieb Jeff Baumes : > > Yes, you should be able to use GirderClient in a Python script to get what you need. Try the official one from Girder here, it may work better: > > https://github.com/girder/girder/blob/master/clients/python/GirderClient.py > > Let us know if this still is not working and provide the error messages you are getting. If you are hosting girder as a Tangelo plugin, you can also potentially access Girder data from Javascript AJAX calls: > > http://girder.readthedocs.org/en/latest/external-web-clients.html > > > > On Mon Jan 05 2015 at 5:19:22 AM Lars Bilke wrote: > Dear all, > > I am exploring Tangelo and it looks very promising so far! Thanks for this initiative! But here is my first question: > > Can you give a short example how get data from Girder into Tangelo? > > > I have some CSV files in Girder representing time series data. Now I would like to visualize them with Tangelo?s time series plugin (vis/timeline.js). I guess I have to query Girder from a Python service script, right? I tried it with the help of the GirderClient-class from TangeloHub [1] but had no success. > > Can you give me some advice? > > Thanks, > Lars > > > [1]: https://github.com/Kitware/tangelohub/blob/master/devops/ansible/GirderClient.py > _______________________________________________ > Tangelo-users mailing list > Tangelo-users at public.kitware.com > http://public.kitware.com/mailman/listinfo/tangelo-users From roni.choudhury at kitware.com Fri Jan 16 20:06:08 2015 From: roni.choudhury at kitware.com (Roni Choudhury) Date: Fri, 16 Jan 2015 20:06:08 -0500 Subject: [Tangelo-users] Announcing Tangelo 0.8.1 Message-ID: We have just released Tangelo 0.8.1, which is primarily a bugfix release, fixing a serious error which manifested on a minority of systems in which the example web application materials were not correctly found when starting Tangelo up. If Tangelo was working for you properly already, there is no urgent need to upgrade to the new version. However, there should be no harm in doing so either. As always, please contact us on this mailing list [0] or via the GitHub issue tracker [1] if you run into any problems. roni [0] tangelo-users at public.kitware.com [1] https://github.com/Kitware/tangelo/issues -------------- next part -------------- An HTML attachment was scrubbed... URL: