Spectral v2.0: Proposed Recommendation: Request for CommentsThis page contains public discussion of the Spectral 2.0 Proposed Recommendation; latest version PR-SpectralDM-2.0-20140730
Reference Interoperable ImplementationsSpectral 2.0 has been implemented at:
Comments from the IVOA Community during RFC period: 13 May 2014 - 31 July 2014In order to add a comment to the document, please edit this page and add your comment to the list below in the format used for the example (include your Wiki Name so that authors can contact you for further information). When the author(s) of the document have considered the comment, they will provide a response after the comment. Additional discussion about any of the comments or responses can be conducted on the WG mailing list. However, please be sure to enter your initial comments here for full consideration in any future revisions of this document
Comments from TCG member during the TCG Review Period: 1 August 2014 - 15 September 2014WG chairs or vice chairs must read the Document, provide comments if any and formally indicate if they approve or not the Standard. IG chairs or vice chairs are also encouraged to do the same, although their inputs are not compulsory.TCG Chair & Vice Chair ( _Séverin Gaudet, Matthew Graham )2 comments:
| ||||||||
Changed: | ||||||||
< < | Applications Working Group ( _Mark Taylor, Pierre Fernique ) | |||||||
> > | Applications Working Group ( _Pierre Fernique, Tom Donaldson ) | |||||||
Added: | ||||||||
> > | Approved -- PierreFernique - 2015-02-09 | |||||||
Data Access Layer Working Group ( François Bonnarel, Marco Molinaro )Approved -- MarcoMolinaro - 2014-09-15Data Model Working Group ( _Jesus Salgado, Omar Laurino )Approved -- JesusSalgado - 2014-09-10Grid & Web Services Working Group ( André Schaaff, Andreas Wicenec )Approved -- AndreSchaaff - 2014-09-30Registry Working Group ( _Markus Demleitner, Pierre Le Sidaner )First off, apologies for coming with this so late. Many of the following comments I should have made in public RFC as an implementor; alas, I was busy elsewhere. I certainly don't want to abuse my position as TCG member to push them in; the points marked with (*), however, are I believe appropriate for a TCG review. Disregard the others as you see fit, except if the document makes another round through public RFC (which I, frankly, would prefer). My main concern is: Implementations. The RFC page lists speclib on the client side and TSAP on the server side -- as the model is so large, I'd like to get an idea what part of the standard these actually use/support, and in what sense interoperability has been shown. I am a bit surprised that TSAP is a reference implementation, when 7.1.2 requires a 'SpatialAxis'. On the mailing list, the rationale for this was that the model was meant for observational spectra. As a baseline, I think there should be at least example serialisations using all features provided by the DM (*) Are there any other experiences with the data model and, in particular, its serialisations? [With my GAVO hat on: I'm offering an attempt at a partial server-side implementation until the end of the year]. Also, is there any plan to make a validator for at least the VOTable serialisation? If speclib really reads a significant portion of this, couldn't that be used to make some sort of validator? (*) If I remember correctly, one reason this was considered relatively urgent was that it was hoped it would show how to serialise time series, in line with our current time domain priority. Now, though time series are hinted at in some places, they are not really worked out as far as I can tell -- wouldn't it be economical to add the few pages here, next to the two other concrete types (Spectrum and Photometry Point)? It'd probably be faster than start another effort in another document. Other general remarks:
1) the content is entirely consistent with previous versions 2) will be revised after the cube work for consistency with that model framework.
The 'PublisherDID' is a VO-global identifier of the dataset as assigned by the publisher. The recommended form is ?, e.g., ivo://example.net/imageservice?2013/5/2342. Other schemes, for instance using the authority ID as basis, are allowed, too. Note that the part in front of the question mark must be resovable in the VO Registry.After I've proceeded to 2.6., I'm now doubtful of this: Isn't this what 'DataId'.datasetID is? IMHO there should be some explanation on the relation here. (*) MCD: I will see what I can do to help clarify the distinction. MCD-20150206: Done - enhanced description, not quite as specifically as your text, but clearly states the values must be a valid IVOA identifier. 2.4.7 Curation.References: String I'm fairly unhappy with keeping this so generic. The way this is written, people will dump any old string in there, glueing together different references with characters an implementation has no way of figuring out. Couldn't we write (*): 2.4.7 Curation.Reference: String [Singular!] One or more bibliographic references associated with the datset. Applications might use these to suggest what works to reference when a dataset is used. To allow for automatic processing, values should be either bibcodes (discernable to the client as 19-character strings beginning with four digits) or DOIs (discernable to the client by their prefix "doi:"). Freetext references are allowed but discouraged. The containing element can occur multiple times. Do not combine multiple references into one value.MCD: Perhaps the notation isn't clearly conveyed. The convention in this doc (and the Cube) is for attributes with multiplicity >1 to be plural. If you consider the attribute, it holds the 'references'. Each instance is a singular reference which could be described as you suggest. So, the convention used is in question, and if changed, would be done across the board. Another option would be to show the type as "String[]".
![]() array, enum, uri, url ), as well as complex attribute (Derived.Redshift) and element with multiplicity greater than one (DataID.Collection)." Also, there's this in the instance: <GROUP name="Data"> <FIELDref ref="DataFluxValue"/> <FIELDref ref="DataSpectralValue"/> </GROUP>With old-style utypes I'd argue that makes no real sense. The utypes on the FIELDs are enough. If you keep it in, you'd at least have to explain how this is intended to be used and whether that's mandatory or not. (*) MCD: Are you referring to my serializing the Data group as containing the 2 FIELDref specs rather than let the UType on the field elements show that they are part of the Data element? If so, this is true for all of the GROUPs. The first paragraph in C.1 states, "We use the VOTable GROUPS construct to aid readability. It is not a requirement for users to make use of this construct for all elements of the model." One could repeat the utype in the FIELDref, but that wouldn't (I think) aid readability.
| ||||||||
Changed: | ||||||||
< < | MCD-20150206: The choice of using FIELD or FIELDref is a user choice. I'm not sure why I went with this, other than maybe to show that you can. It is true that, in this case, it would be equivalent to put the FIELD elements in there directly. | |||||||
> > | MCD-20150206: The choice of using FIELD or FIELDref is a user choice. I'm not sure why I went with this, other than maybe to show that you can. It is true that, in this case, it would be equivalent to put the FIELD elements in there directly. | |||||||
C.2 FITS Serialization
I believe as an implementor I would ask how I'd annotate existing spectra that have SPECSYS CMBDIPOL or SOURCE..
MCD: Yeah, I suppose one would. The question applies regardless of VOTable or FITS, these aren't in the STC reference position list, so would be "CUSTOM" frames. Since this model uses a 'simplified' STC model which allows only standard reference position values, I don't think this would be supported. This is the sort of issue that the Cube work should help resolve.
p 100 "Open Issues"
I guess having "open issues" in a REC would merit a brief comment on why they're left open and what the cost of that is. Then, there's no utypes specification to date, and frankly, the expectation utypes could magically solve the problem described in the first bullet point is part of the problem -- they can't, really. So, I'd propose to describe the problem without reference to utypes (where it would seem to me that at least in VOTable serialisation an ad-hoc convention would solve the problems). (*)
MCD: Both of these are serialization items, I'll rename it "Serialization Issues", and rework the first bullet to recommend using GROUP elements in VOTable to provide the structure.
MCD-20150206: Done
Summing up, I'd certainly appreciate collecting somewhat more implementation experience with this; however, after the points marked with (*) are addressed in one way or another, I'd not hold up the process and approve.
-- MarkusDemleitner - 2014-09-16
Semantics Working Group ( _Norman Gray, Mireille Louys )The Semantics WG had interactions in the past about the way UCD were used in the previous version of this specification. Provided the updates of SpectralDM v2.0 does not touch the semantic aspects , the Semantics WG approves this document. A question still remains , as for other data models, to define a metrics that will help to evaluate how much of a data model has been covered in the reference implementations.Education Interest Group ( _Massimo Ramella, Sudhanshu Barway )Time Domain Interest Group ( _John Swinbank, Mike Fitzpatrick )Data Curation & Preservation Interest Group ( Alberto Accomazzi, Françoise Genova )Knowledge Discovery in Databases Interest Group ( George Djorgovski )Theory Interest Group ( _Franck Le Petit, Rick Wagner )The Spectral Data Model v2.0 deals with Theoretical Spectra. It would have been useful that during the process could have talked with the Theory Interest Group. The major concern I see, is that some same kind of data (here spectra) can be published and retrieved through different DM / Access Protocols. For example, we may find some services about Theoretical Spectra described through Spectral Data Model and other ones described through the Simulation Data Model. I think this situation may be problematic to discover data and to develop tools to discover data in an interoperable way. Somebody who wants to retrieve Theoretical Spectra will have to develop two ways to access them either with SDM / SSA and SimDM / SimDAL. Historicaly, Theoretical Spectra have always been described by the Spectral DM v1 but that was by default, because no other DM covered Theoretical Data. From 2012, the IVOA has the Simulation DM, and so, for clarity, we can wonder if it is not time to say that Theoretical Data has to be described using the Simulation Data Model. Standards and Processes Committee ( Françoise Genova ) <!--* Set ALLOWTOPICRENAME = TWikiAdminGroup --
|