Download The Expanded Very Large Array

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Science Data Model
Michael P. Rupen & Rich Moeser
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
1
WIDAR & the SDM
• SDM is the set
of tables of
metadata
required to
make the binary
data
astronomically
useful
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
• SDM is written
by MCAF,
based on multicast data 2
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, …)
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
3
Working with the SDM
Rich Moeser
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
4
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
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
5
SDM
Java Binding Options
Master SDM
Document
UML
Authoring Tool
(MagicDraw)
sdm.xmi
(typed)
sdm.xsd
JAXB
(Java API for
XML Binding)
Rupen/Moeser
HLA
Code Generation
Framework
CASA
EVLA
Archive
MCAF
ACS/CORBA
dependencies
ALMA
Generated Source
ALMA jar file
(compile
and
package)
JAXB
Generated Source
WIDAR Face-to-Face Meeting
December 11-12, 2007
JAXB jar file
6
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.
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
7
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.
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
8
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.
Rupen/Moeser
WIDAR Face-to-Face Meeting
December 11-12, 2007
9