def get_downloaded_sites(jsonurl=u'http://data.astropy.org/coordinates/sites.json'):
 jsondb = json.loads(get_file_contents(jsonurl, show_progress=False))
 return SiteRegistry.from_json(jsondb)

def get_downloaded_sites ( jsonurl = u'http://data.astropy.org/coordinates/sites.json' ) : jsondb = json . loads ( get_file_contents ( jsonurl , show_progress = False ) ) return SiteRegistry . from_json ( jsondb )
load observatory database from data .