#NEWLINE# def is_coordinate_axis_variable( self , variable_name ) : #NEWLINE# #INDENT# assert ( variable_name in self . dataset . variables ) , variable_name #NEWLINE# variable = self . dataset . variables [ variable ] #NEWLINE# return ( ( hasattr ( variable , '_CoordinateAxisType' ) or hasattr ( variable , '_CoordinateAliasForDimension' ) or hasattr ( variable , '_CoordinateZisPositive' ) ) or self . is_coordinate_variable ( variable_name ) or ( variable_name in self . variable_attribute_values ( '_CoordinateAxes' ) ) )