JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for STARDEV Archives


STARDEV Archives

STARDEV Archives


STARDEV@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

STARDEV Home

STARDEV Home

STARDEV  July 2006

STARDEV July 2006

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: JAC binary release 2006

From:

Mark Taylor <[log in to unmask]>

Reply-To:

Starlink development <[log in to unmask]>

Date:

Thu, 27 Jul 2006 12:59:35 +0100

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (160 lines)

On Wed, 26 Jul 2006, Peter W. Draper wrote:

> > and also send the current image to other PLASTIC listeners who care 
> > about images, either by Broadcast to all or by sending to a single one.  
> > For FITS this seems to work fine.
> 
> this too, I managed to send an image to Aladin, but the reverse didn't 
> work (I suspect the number of dots in the cached image name is causing the 
> problem). Bizzarely GAIA responded to pointAtCoords messages from 
> Aladin... That expected?

Unless I'm missing the point of your surprise, yes this is exactly
the sort of thing that is expected - pointAtCoords is one of the 
"standard" PLASTIC messages, and Aladin broadcasts it when it 
thinks it's sensible to do so.  GAIA knows what the message means 
and responds in the way it sees fit.  An important part of the PLASTIC 
philosophy is that applications can benefit from sending/receiving 
such standard messages without any special arrangements having 
to be made between the authors of the tools in question.


> > For non-FITS the strategy is to write a temporary FITS file, 
> > send the loadFromURL message, wait for success/failure returns from
> > all applications, and then delete the temporary file.
> > This is analogous to how TOPCAT sends tables around using PLASTIC.
> > This isn't currently working, and it may be because you can't write
> > non-FITS files to FITS, though code/comments in GaiaImageCtrl leads
> > me to believe that you ought to be able to.  Anyway, could you have
> > a look in PlasticSender.tcl where this happens and comment and/or 
> > hack as appropriate?  
> 
> OK, done that. I expect you didn't have CONVERT initialised (you have to 
> do that by hand when in development mode, normally the gaia.csh script 

thanks - should have thought of that.


> does this). There were some other issues I've fixed up too. Presumably we 
> could look at supporting some loadFromUrl#ndf message for Starlink apps?

Yes we can, though I've expressed in earlier messages slight reservations
about transmitting images in non-FITS format.  Internal use for Starlink
is unobjectionable though.  However, the message would not
be ivo://votech.org/fits/image/loadFromUrl#ndf, but a new one, 
maybe ivo://starlink.ac.uk/ndf/loadFromUrl.  Apart from the
obvious fact that the existing one has the word "fits" in it, I don't
think this is quite the sort of thing that the idea of "subclassing" a
message by adding a fragment identifier is supposed to do, since
the frag id is not supposed to convey machine-readable information,
and for this case the software needs to know whether the data is
FITS or NDF in order to process it (also to determine whether it's able
to do so).


> > Some other things which I still need to tidy up are:
> > 
> >   - It's too verbose on startup when the hub is not present (as discussed)
> > 
> >   - Probably some of the error messages which are currently getting
> >     puts'd should turn up in popup windows instead.
> 
> Started that trend.

I've made some more improvements.  Now, on startup it checks whether
it looks like a hub is running (whether ~/.plastic exists) and only
if it does will it try to register.

The effect is that for most users with no hub running, GAIA will start
up with no more verbosity than they're used to, though they will see
the new Interop menu.  For users with a PLASTIC hub running, who
presumably won't get too confused by this, they'll get a short message
like:

   Started XML-RPC server for PLASTIC at http://andromeda.star.bris.ac.uk:8025
   PLASTIC service at http://andromeda.star.bris.ac.uk:8025/plastic2387

Only users who have a broken .plastic file (not common) will see an 
error message on stdout.

If you subsequently attempt to register from the Interop menu, you
either get the short message on stdout for success, or a popup with
the error message for failure (e.g. no hub running).

I'd say this is reasonable behaviour for both PLASTIC and non-PLASTIC
users, however if you want to tweak it (e.g. hide Interop menu unless
it's specifically enabled on the command line) then by all means
hack away or tell me what you want and I'll do it.


> >   - I probably want to scan for ports when starting up the XML-RPC
> >     server in case the default one is taken.  If nothing else this
> >     would facilitate testing by being able to bounce messages
> >     between two running instances of GAIA (the only other PLASTIC
> >     app with image-friendly capabilities is Aladin, and I'm having
> >     a bit of trouble getting that to run well just now, not sure
> >     if it's bugs or what).
> 
> As I said Aladin worked for me, although I too would have liked to be able 
> to send to another GAIA instance as well.

Now scans for ports so you can run multiple PLASTICated GAIAs at once.
They seem to send images between each other happily.


> > Apart from that it might just be possible to sneak simple 
> > catalogue-tranfer facilities in before the end of July.  A TST 
> > backend to STIL shouldn't take too long, and the infrastructure for 
> > sending/receiving messages in general is all(?) in place now.
> > I had initially been thinking along the lines of JNI or 
> > client/server type IPC for translating between TST and VOTable, 
> > but I suppose there's no reason that I can't just check if stilts 
> > is on the path and exec it to do the translations (is this the 
> > GAIA way?).  Not very elegant or very efficient, but better 
> > than nothing, at least for starters.  Done that way I presume 
> > there wouldn't be a lot of work in the GAIA code to implement
> > table send/table receive - do you agree?
> 
> Yes, just exec the call to tablecopy (see the GaiaForeignExec class, that 
> is used for forking non-ADAM programs). We can also add this as a filter 
> to GaiaConvertTable, so that local VOTable can be loaded and saved too, 
> but that will take a bit of recoding.
>  
> > Unfortunately (well, depends how you look at it) though, I'm on 
> > holiday Mon-Wed next week, back Thurs, so time might be a bit tight,
> > we'll have to see.
> 
> The news gets worse, I'm on holiday from the end of the week, for two 
> weeks, so whatever we need to do must be in place by the close of play on 
> Friday. That makes it sound like we need to feature freeze now and 
> concentrate on the merge to the main branch. If you agree I'll do the 
> merge tomorrow.

Oh dear oh dear GAIA's never going to be a VO-era application with
a development philosophy like that.  Finalising functionality on 
the plane on the way to the meeting where it gets demo'd should
give you plenty of time for testing.

But seriously.  I'd say it's in a sensible state for a merge now.
I think there's a fair chance (80%??) I could add load catalogue 
functionality (i.e. respond to ivo://votech.org/votable/loadFromURL) 
by the end of today, so if you wanted to wait until tomorrow for
the merge we might have more there.  However I wouldn't want to put
the robustness of the release at risk (or get your holiday off to 
a bad start), so I'll leave this call up to you.

Oh, I don't know how documentation works in GAIA by the way; I haven't
added any for the new features.  In practice, it's likely that most
people who want to use it will have a clue what it's about already,
but I suppose there may be curiosity about what the new menu does.
If you want me to write something, point me at where the docs live
and I'll write something of appropriate verbosity.  If you want to
do it, I should think the main thing would be to put in a link to 
http://plastic.sourceforge.net.

Mark

-- 
Mark Taylor   Astronomical Programmer   Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

December 2023
January 2023
December 2022
July 2022
June 2022
April 2022
March 2022
December 2021
October 2021
July 2021
April 2021
January 2021
October 2020
September 2020
August 2020
May 2020
November 2019
October 2019
July 2019
June 2019
February 2019
January 2019
December 2018
November 2018
August 2018
July 2018
May 2018
April 2018
March 2018
February 2018
December 2017
October 2017
August 2017
July 2017
May 2017
April 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
October 2015
September 2015
August 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
2004
April 2003
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager