320 likes | 559 Views
Chinese Virtual Observatory. VO Registry & China VO DAS. 路勇 中国虚拟天文台研发团队. Index. VO Registry DAS and Registry Get Image and Spectral by ADQL. VO Registry. Registry: A repository of structured descriptions of resources Expressed as structured metadata Resource: Anything can be a Resource
E N D
Chinese Virtual Observatory VO Registry & China VO DAS 路勇 中国虚拟天文台研发团队
Index • VO Registry • DAS and Registry • Get Image and Spectral by ADQL China-VO 2006, Guilin
VO Registry • Registry: A repository of structured descriptions of resources • Expressed as structured metadata • Resource: Anything can be a Resource • Unique Identifier China-VO 2006, Guilin
VO Registry The IVOA Registry allow astronomers to be able to locate, get details of, and make use of, any resource located anywhere in the IVO space, i.e. in any Virtual Observatory. The IVOA will define the protocols and standards whereby different registry services are able to interoperate and thereby realise this goal. China-VO 2006, Guilin
VO Registry Searchable registry Publishing registry Full registry Local registry China-VO 2006, Guilin
VO Registry Searchable Registry : allows users and client applications to search for resource records using selection criteria against the metadata contained in the records. Publishing Registry : simply exposes its resource descriptions to the VO environment in a way that allows those descriptions to be harvested. China-VO 2006, Guilin
VO Registry • Full registry: attempts to contain records of all resources known to the VO. • Local Registry: contains only a subset of known resources. China-VO 2006, Guilin
Full Searchable Registry Local Publishing Registry Local Publishing Registry Registry Framework VO Projects Full Searchable Registry Data Centers Local Searchable Registry Specialized Portals & Services China-VO 2006, Guilin
Full Searchable Registry Local Publishing Registry Local Publishing Registry Registry Framework VO Projects harvest (pull) Full Searchable Registry Data Centers Local Searchable Registry Specialized Portals & Services China-VO 2006, Guilin
Full Searchable Registry Local Publishing Registry Local Publishing Registry Registry Framework VO Projects harvest (pull) replicate Full Searchable Registry Data Centers Local Searchable Registry Specialized Portals & Services China-VO 2006, Guilin
Full Searchable Registry Local Publishing Registry Local Publishing Registry Registry Framework VO Projects harvest (pull) replicate Full Searchable Registry Data Centers selective harvesting Local Searchable Registry Specialized Portals & Services China-VO 2006, Guilin
Full Searchable Registry Local Publishing Registry Local Publishing Registry Registry Framework VO Projects Full Searchable Registry Data Centers search queries Local Searchable Registry Client Applications Specialized Portals & Services China-VO 2006, Guilin
Full Searchable Registry Local Publishing Registry Local Publishing Registry Registry Framework VO Projects Full Searchable Registry Data Centers search queries Local Searchable Registry Client Applications Specialized Portals & Services China-VO 2006, Guilin
VO Registry • Resources and Services can be searched for based on their characteristics • Query results returned in machine-interpretable form • It should be possible to uniquely retrieve a description of a resource or service either via a unique ID or via a small and predictable set of metadata. China-VO 2006, Guilin
VO Registry • Be easy for data/service provider to register a new service. • Be easy or automatic to update the metadata associated with a resource or service. • Be easy to unregister a resource and service • The registry should expect that registered services may become temporarily unavailable. China-VO 2006, Guilin
Registering your Resource • First, just enter the description into registration form at one of the available registries: • STScI/JHU Registry: http://nvo.stsci.edu/voregistry/ • NCSA Registration Portal: http://nvo.ncsa.uiuc.edu/nvoregistration.html • Caltech Carnivore: http://mercury.cacr.caltech.edu:8080/carnivore/ China-VO 2006, Guilin
Registering your Resource • Secondly, if you have a large number of resources to register, you can run your own registry on your own site: • NCSA VORegistry-in-a-Box http://nvo.ncsa.uiuc.edu/VO/software/ • Caltech Carnivore: http://mercury.cacr.caltech.edu:8080/carnivore/ China-VO 2006, Guilin
Registry Interface • Defining a standard query and harvesting interface. • This will allow the communication between registries to be a standard, and allow external implementations that need access to a registry a standard for querying the Registry. China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
Using Registry to get Data Resource 通过Registry获得Data Resource 信息: • 查询Registry • 解析查询结果 • 生成Metadata对象 • 填充DataResourceMap China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
VO Registry & China VO DAS China-VO 2006, Guilin
Resource Metadata: XML Schema <?xml version="1.0" encoding="utf-8"?> <ArrayOfDBResource xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.us-vo.org"> <DBResource xsi:type="ServiceSkyNode"> <dbid>5963</dbid> <status>1</status> <Identifier>ivo://archive.stsci.edu/galex/SKYNODE</Identifier> <Title>Galaxy Evolution Explorer</Title> <ShortName>GALEX</ShortName> <CurationPublisherName>STScI</CurationPublisherName> <CurationCreatorName>Alberto Conti</CurationCreatorName> …………… …………… <PrimaryTable>Photoprimary</PrimaryTable> <PrimaryKey>objid</PrimaryKey> </DBResource> China-VO 2006, Guilin
Resource Metadata: XML Schema <?xml version="1.0" encoding="utf-8"?> <ArrayOfDBResource xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.us-vo.org"> <DBResource xsi:type="ServiceSkyNode"> <dbid>5963</dbid> <status>1</status> <Identifier>ivo://archive.stsci.edu/galex/SKYNODE</Identifier> <Title>Galaxy Evolution Explorer</Title> <ShortName>GALEX</ShortName> <CurationPublisherName>STScI</CurationPublisherName> <CurationCreatorName>Alberto Conti</CurationCreatorName> …………… …………… <PrimaryTable>Photoprimary</PrimaryTable> <PrimaryKey>objid</PrimaryKey> </DBResource> China-VO 2006, Guilin
VO Registry & VO Table <?xml version="1.0"?> <VOTABLE version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ivoa.net/xml/VOTable/VOTable/v1.1"> <COOSYS ID="J2000" equinox="J2000." epoch="J2000." system="eq_FK5"/> <RESOURCE name="BADCDAITEST"> <TABLE name="sdss"> <DESCRIPTION>Velocities and Distance estimations</DESCRIPTION> <FIELD name="ra" ID="col1" ucd="pos.eq.ra;meta.main" ref="J2000" datatype="float" width="6" precision="2" unit="deg"/> <FIELD name="decl" ID="col2" ucd="pos.eq.dec;meta.main" ref="J2000" datatype="float" width="6" precision="2" unit="deg"/> </TABLE> </RESOURCE> </VOTABLE> China-VO 2006, Guilin
Get Image by ADQL • 用户提交ADQL查询语句 • 解析ADQL • 如果涉及到Image查询,OGSA DAI中的activity查询虚拟的“图像数据库”。 • 查询的结果按照用户的需求放在指定的URL China-VO 2006, Guilin