Presentation is loading. Please wait.

Presentation is loading. Please wait.

Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 1 Science Data Model Michael P. Rupen & Rich Moeser.

Similar presentations


Presentation on theme: "Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 1 Science Data Model Michael P. Rupen & Rich Moeser."— Presentation transcript:

1 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 1 Science Data Model Michael P. Rupen & Rich Moeser

2 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 2 SDM is the set of tables of metadata required to make the binary data astronomically useful SDM is written by MCAF, based on multi- cast data WIDAR & the SDM

3 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 3 Data needed for micro-SDM for PTC OTS tests Shape of data cells (number of antennas, BB, SB, pol’n, channels, etc.) Antenna info (name, XYZ) Pol’n/feed basics (name, CP) Channel-to-frequency conversion (spectral windows etc.) Scan, subscan (times & fields) On-line & corr. flags (?) Lots of “stubs” (corr. config.; beam/pol’n response; intents/modes, …)

4 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 4 Working with the SDM Rich Moeser

5 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 5 SDM (working with) We need a way to read and write the SDM –Apps that create and write SDM tables MCAF CASA (simulator) Others? –Apps that need to read SDM EVLA Archive CASA TelCal Quicklook? Others? It would be nice if these applications could share common code to work with the SDM. Options for working with SDM –ALMA’s SDM classes –Classes generated by JAXB

6 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 6 SDM Java Binding Options UML Authoring Tool (MagicDraw) sdm.xmi HLA Code Generation Framework ALMA jar file (compile and package) sdm.xsd CASA EVLA Archive ALMA Generated Source JAXB (Java API for XML Binding) JAXB Generated Source JAXB jar file MCAF (typed) ACS/CORBA dependencies Master SDM Document

7 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 7 ALMA’s Approach Benefits/Concerns Benefits of using ALMA’s code –Code sharing between ALMA and EVLA –Time saving –Common code can be used by several apps (MCAF, EVLA Archive, CASA, TelCal, etc.) –A number of convenience methods have been added to the generated code. –ALMA will handle compilation and packaging of Java classes. Concerns –The current version has ACS and CORBA dependencies. (A new version will be released in February that does not have these dependencies.) –What is the process for requesting bug-fixes and new changes? –What would the turn-around time be for such requests? –Not sure if the generated code includes schema validation(?) –The generated code does not use a standard XML parser.

8 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 8 JAXB Approach Benefits/Concerns Benefits of using JAXB code –Java source code is automatically generated –Built-in schema validation –Generated code can be used by multiple apps, MCAF, EVLA Archive, CASA –Uses a standard XML parser Concerns –No code sharing with ALMA –CASA filler may diverge –Convenience methods will have to be written –JAXB will need to be integrated into the build process and the jar file will need to be created.

9 Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 9 The Plan… Time allowing…prototypes using both approaches will be developed. As long as it’s ready, plan on using ALMA’s code for the first cut of MCAF.


Download ppt "Rupen/MoeserWIDAR Face-to-Face Meeting December 11-12, 2007 1 Science Data Model Michael P. Rupen & Rich Moeser."

Similar presentations


Ads by Google