#NEWLINE# def get_obsmeta( self , lcid ) : #NEWLINE# #INDENT# 'Get the observation metadata for the given id.\n        This is table 3 of Sesar 2010\n        ' #NEWLINE# if ( self . _obsdata is None ) : #NEWLINE# #INDENT# self . _obsdata = fetch_rrlyrae_fitdata ( ) #NEWLINE# #UNINDENT# i = np . where ( ( self . _obsdata [ 'id' ] == lcid ) ) [ 0 ] #NEWLINE# if ( len ( i ) == 0 ) : #NEWLINE# #INDENT# raise ValueError ( 'invalid lcid: {0}' . format ( lcid ) ) #NEWLINE# #UNINDENT# return self . _obsdata [ i [ 0 ] ]