On Wed, 23 Aug 2006, Mark Taylor wrote:
> I've added some PLASTICness to SPLAT. What it can now do is:
>
> - receive spectra as 1-d FITS files
> - receive spectra as VOTables
> - transmit spectra as 1-d FITS files
> - transmit spectra as VOTables
>
> as well as the kind of generic functionality that you have in TOPCAT,
> including register/unregistser, start internal/external hub,
> show a little window which displays currently registered applications.
> All of this is controlled from the new Interop menu in the main
> SPLAT control window. The look and functionality of this menu are
> very much the same as in TOPCAT.
>
> There are an additional couple of checkboxes in this menu, to control
> whether you actually want to act on received "load 1-d FITS" and/or
> "load VOTable" messages, or just ignore them. The rationale for
> this is that in a PLASTIC context you might have a number of
> "load VOTable" messages flying around which contain things that
> aren't spectra (e.g. source catalogues), and hence are unsuitable
> for SPLAT; if you turn this option off you can avoid being made
> to load those. Both checkboxes are currently set on by default
> though. I may add something similar to TOPCAT in fact, it seems
> like a sensible option to have. Future developments in the PLASTIC
> protocol may provide ways of advertising one's services which make
> getting sent unsuitable data like this less likely, but that's
> not in place yet (or, probably, soon).
Hi Mark,
thanks that seems to be working for me, except I don't seem to be able to
re-send a VOTable back to TOPCAT. I can send one from SPLAT to TOPCAT to
SPLAT, but then I get an IOException when sending to TOPCAT (I'd guess
this might be because the backing file has been deleted?).
> I have not yet written any documentation. I can add a suitable section
> to sun243.tex if you like - tell me where in the document you'd like
> it to go. In TOPCAT, the top-level Interop menu contains a
> "Help on Interoperability" item (since there's no window dedicated to
> to PLASTIC functionality, so no other context-sensitive help is going
> to lead there - TOPCAT may one day control its PLASTICity from a
> window, but not yet). If you want, I can arrange the same for SPLAT.
Usually this would go in the "Help on window" page, but I've no objections
to you just adding a section to SUN/243 and linking to that from the
Interop menu, as in TOPCAT. Once you've done that I'll have a look at
disseminating the information more widely in the docs.
> I think you want GAIA to be able to send this message having extracted a
> spectrum from a sky position on a cube. Should be fairly
> straightforward - either DIY or point me to the right place in GAIA
> (I haven't looked at cube stuff in it yet) and I can take a look.
Transmitting a spectrum from GAIA will need some more serious work yet.
I need to add support for saving them to different formats, that's JAC
work so I'll volunteer for it.
> I don't know if you want other formats of spectrum added for
> send/receive - should be fairly easy to do if so.
Well, there's NDF and the SPLAT text format, but I guess we'll need some
local message ids for them.
Cheers,
Peter.
|