From: Arlindo da S. <da...@al...> - 2008-09-06 23:58:11
|
Jose, Thanks. I'll take a look at your code and get back to you. Do you have a sourceforge account? I'd need your userid to give you check in privileges to our repository. Arlindo On Sat, Sep 6, 2008 at 6:48 PM, Jose F. Nieves <ni...@lt...> wrote: > Arlindo > > Thanks for your message. > >> Right now we have released the Perl and Python interfaces, and Luiz >> Rodrigo has contributed a PHP interface that is still in development. >> I have had a query at some point about a TCL interface but we are not >> working on one. So, your effort would be much appreciated. >> >> You may want to know that way back someone wrote a TCL/TK graphical >> user interface for GrADS that you can find here: >> >> ftp://grads.iges.org/grads/sprite/XGrads/xgrads.win32.tar >> >> If I am not mistaken, this uses the "expect" package to interact with >> the GrADS command line. It has not been maintained in a while, so I am >> not sure whether it works with current GrADS releases. One recent >> development that was not available then -- and it is now --- is the >> ability to capture error conditions from GrADS (the command line >> option -u); this is very important for you to perform error handling. > > I discovered by accident the xml-style of output and it is used by > the preliminary interfacet that I am using. > >> >> Now for the Perl and Python interfaces I've been trying to keep the >> "API" sort of consistent among all the interfaces. It would be nice if >> you could keep some level consistency between the TCL and the Perl and >> Python interfaces. You can find more information about the Perl/Python >> interfaces here: >> >> http://opengrads.org/wiki/index.php?title=Python_Interface_to_GrADS >> http://opengrads.org/wiki/index.php?title=Perl_Interface_to_GrADS >> >> Luiz Rodrigo, who subscribes to this list, may be able to update you >> on where he is with the PHP interface. The last prototype he sent me >> was already very functional, we just need to complete the >> documentation and release it on sf.net. > > I checked the perl interface which I understand better then python > and I believe the eseential ideas are similar, of course the details > differ since the languages are so different. Anyway I can > incorporate suggestions as soon as I get some feedback. > >> So, if you already have an sketch of an interface that you would like >> us to look over please send it to this list and we will be glad to >> send you feedback. As for distributing through OpenGrADS I need to ask >> you a couple of questions: >> >> 1) Are you willing to release your tcl interface under an opensource >> license? GPL is preferred, but any license acceptable to SourceForge >> (our host) is fine too. > > I use the BSD license, which I suppose is fine. > >> >> 2) Are you willing to maintain a simple wiki page at opengrads.org >> with information about installation and usage of your interface? > > > I think I can do it. > >> >> 3) Would you be able to support the package by answering to bug >> reports on our tracker? We understand that people need to work around >> their own schedule, so you do not need to fix things immediately, but >> if the package is to be listed as "actively maintained" you need to so >> periodically, at least a couple of times a year. >> > > I update the software that I write as soon as I find a fix for > an error report. So this should not be a problem either. > >> I look forward to working with you. >> >> Best Regards, >> >> Arlindo > > > I am sending a snapshot of the current package. To run the tests > you probably have to change the #! line at the top of the scripts. > This is still preliminary and not intended for general distribution, > but feel free to distribute it to people you work with. What I would > like to do is to have a simple basic package (not too different in scope > from the current one) and build gradually a higher level library on top > of it. > > Regards > > Jose F Nieves > > -- Arlindo da Silva da...@al... |