The Node - Module


Information about registered VAMDC nodes are stored in the VAMDC registry service. The registry contains a list of all registered database nodes and their url’s.

More information on the VAMDC registry service can be found in the documentation for the VAMDC standards:

Library Classes and Methods


The following example shows how to get an node instance for CDMS:

>>> import nodes
>>> nl = nodes.Nodelist()
>>> cdms = nl.getnode('ivo://vamdc/cdms/vamdc-tap-dev')
>>> cdms.url

The ‘getnode’ method can be replaced by findnode if the ‘searchstring’ is unique:

>>> nl.findnode ('CDMS')