Presentation is loading. Please wait.

Presentation is loading. Please wait.

MT Objectviewer May 6 20041 Python-scripted AW object-viewer and SQL-query builder MJ Tempelaar

Similar presentations


Presentation on theme: "MT Objectviewer May 6 20041 Python-scripted AW object-viewer and SQL-query builder MJ Tempelaar"— Presentation transcript:

1 MT Objectviewer May 6 20041 Python-scripted AW object-viewer and SQL-query builder MJ Tempelaar http://www.astro-wise.org

2 MT Objectviewer May 6 20042 Overview Web interface to visualize and access the AW Oracle database : –Shows structure of object-tables –Shows and navigates links between object-tables to visualize the database model –Builds and executes Oracle-SQL-queries –Binds SQL-queries to object-tables –Allows users to modify script-built queries –Output formats a.o. : XML for VOtables, Ggobi Prototype Python-scripted http-server and Web interface to visualize and access AW Oracle database via ODBC Takes meta-information from Oracle data-dictionaries to show structure Takes object-table-data from ODBC connection to view SQL results.

3 MT Objectviewer May 6 20043 Prototype Python-scripted http- server and Web interface to visualize and access AW Oracle database via ODBC Takes meta-information from Oracle data-dictionaries to show structure Takes object-table-data from ODBC connection to view SQL results.

4 MT Objectviewer May 6 20044 diagram

5 MT Objectviewer May 6 20045 Opening screen: Access datadictionary to show Tables

6 MT Objectviewer May 6 20046 Show selection from all object- tables Activate link to view attributes

7 MT Objectviewer May 6 20047 Inspect a ttributes in object- table [Data-dictionary Table-Screen dump ]

8 MT Objectviewer May 6 20048 navigate links between tables [Data-dictionary Table-Screen dump ]

9 MT Objectviewer May 6 20049 Build and execute Oracle-SQL-queries I Types of Queries: - Generic queries on single or linked object- tables for any attribute(s) - Specific queries: e.g. position with cone search option - Queries start from main-tables Queries may be dynamically be composed : By consecutive queries (invisible to user) By user-selected links in the results of the previous query Queries-forms may be dynamically be composed : By queries filling select-lists and finding limits -

10 MT Objectviewer May 6 200410 Generic query on main table: select conditions, export- format ; bitmap-links-option to fits-files download into users program

11 MT Objectviewer May 6 200411 Generic query on Main-table + one level of linked tables (“instant drill-down”)

12 MT Objectviewer May 6 200412 Fields may contain table-specific data obtained from querying the table directly before writing the form, here Filter, chip, Date-obs [Data- Table-Screen dump ]

13 MT Objectviewer May 6 200413 Navigate to next query by activating a link [Data-dictionary Table-Screen dump ]

14 MT Objectviewer May 6 200414 Build and execute Oracle-SQL- queries II User-interaction and control: - set selective conditions (input field, link) - select fields to be shown in results - modify previously generated query - select to download fits-files, bitmap- images - select output-format: ao VOTable Database-Specific matters: -SQL is Oracle9-SQL

15 MT Objectviewer May 6 200415 SQL-Query may contain specific Oracle-constructs [Data- Table-Screen dump ] Modify SQL-queries and test on- the-fly, or download to edit off- line

16 MT Objectviewer May 6 200416 generate XML output, eg VOtable- output for external applications [Data- Table-Screen dup ]

17 MT Objectviewer May 6 200417 Applications for an ODBC-based AW database viewer and SQL-querying- device: Suitable for: Data analysis (sourcelists, catalogs, -frames) Not yet for: Operations on pipeline-objects Features for further development: - Forms to work on combining data-sets - Incorporating a list of specific queries - Adaptations for interoperability - Aliasing Oracle SQL queries as generic ADQL - add SOAP service


Download ppt "MT Objectviewer May 6 20041 Python-scripted AW object-viewer and SQL-query builder MJ Tempelaar"

Similar presentations


Ads by Google