mtype issues groundwork for post-ivoa discussions

11
Mtype Issues Groundwork for post-IVOA Discussions

Upload: edgar-randall

Post on 04-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mtype Issues Groundwork for post-IVOA Discussions

Mtype Issues

Groundwork for post-IVOA

Discussions

Page 2: Mtype Issues Groundwork for post-IVOA Discussions

Open(?) Issues

• Status of Messages– How to formalize some messages and leave others up

to developers?– Process for adding new MTypes

• Vocabulary Completeness– Administrative Messages– Application Messages

• Mtype Uniqueness• Annotations

– Will be covered by Mark Taylor

Page 3: Mtype Issues Groundwork for post-IVOA Discussions

Status of Messages

• We want some Mtypes reserved for use by the Hub or to form a core set of messages to be used by all apps

• But, we want apps to be able to make up their own Mtypes– Does the SAMP doc need to list these?

– Do they carry the same weight as the core msgs?• Appendix or second document needed (e.g. IVOA Note)?

Page 4: Mtype Issues Groundwork for post-IVOA Discussions

Status of Messages

• Process for adding new Mtypes ??

• Recommend:– New admin messages must be formalized at

IVOA as updates to spec– App msgs that gain common usage are added as

needed

Page 5: Mtype Issues Groundwork for post-IVOA Discussions

Admin Messages• Use samp namespace (e.g. samp.hub.stopping) ?

hub event stopping hub is stopping app event register id app has registered unregister id app has unregistered starting id app starts processing stopping id app stops processing mtype mtypes app declares new mtype id metadata meta app declares new metadata id echo str app echo string isAlive id app is alive

Page 6: Mtype Issues Groundwork for post-IVOA Discussions

Application Messagesset param param set param to value valueget param param value get param value

General set/get messages

file event load filename the 'filename' was loaded save filename the 'filename' was saved load filename load this file 'filename' save filename save to 'filename'

What about rename and/or delete ?

url event load url 'url' was loaded save url 'url' saved to 'filename' filename load url load url at 'url' save url save 'url' to 'filename' filename

Others?

Page 7: Mtype Issues Groundwork for post-IVOA Discussions

Application Messages

image

event

load imname the 'imname' was loaded

save imname the 'imname' was saved

load imname load image 'imname'

save imname save image to 'imname'

display imname display image in 'imname'

panTo x, y pan display (arb coords)

pixel x, y pan display to pixel coords

sky ra, dec pan display to sky coords

zoom level zoom to given level (+/-N level)

highlight

pixel x, y highlight point at pixel coords

sky ra, dec highlight point at sky coords

Page 8: Mtype Issues Groundwork for post-IVOA Discussions

Application Messages table event load tblname the 'tblname' was loaded save tblname the 'tblname' was saved load tblname load table 'tblname' save tblname save table to 'tblname'

highlight row row highlight specified row col col highlight specified column cell row, col highlight cell at position select row row select (subset) named row col col select (subset) named column rowList rows select (subset) named rows colList cols select (subset) named columns

• Subset message? How do we refer to it in later messages?

Page 9: Mtype Issues Groundwork for post-IVOA Discussions

Application Messages

spectrum event load name the 'name' was loaded save name the 'name' was saved load name load table 'name’ (no format) fits name load spectrum in FITS file votable name load spectrum in VOTable : : : save name save spectrum to 'name’ fits name save spectrum as FITS file votable name save spectrum as VOTable : : :

• How do we handle spectral formats (e.g. echelle vs 1-D spectra)?– Suggest this be an optional parameter to the mtype

Page 10: Mtype Issues Groundwork for post-IVOA Discussions

Application Messages

coord pointAt x, y point at the given coord sky ra, dec point at given sky position

• What about coordinate transformations? STC shows us this is a can of worms, but we might want simple transforms like equatorial to galactic

• Does this confuse e.g. image.panTo Mtype?• What others are needed??

Page 11: Mtype Issues Groundwork for post-IVOA Discussions

Mtype Uniqueness

• Raised in discussions that file.load and spectrum.load.fits might be confused. E.g. VOSpec wants file.load for a linelist only but will get all messages of that Mtype anyway. Do we create a spectrum.load.linelist?– Where does this list then end?– Can’t then rely on spectrum.load.<format>