#NEWLINE# def _parse_fortran_format( self , arg ) : #NEWLINE# #INDENT# 'Decode fortran descriptor\n\n        Parameters\n        ----------\n        arg : str\n\n        Returns\n        -------\n        npl, fmt, width, decimal : int, str, int, int\n\n        ' #NEWLINE# ( npl , fmt , width , decimal ) = ArrayFormat . decode_fortran_descriptor ( fmt ) #NEWLINE# if isinstance ( npl , str ) : #NEWLINE# #INDENT# if ( 'FREE' in npl . upper ( ) ) : #NEWLINE# #INDENT# self . _set_defaults ( ) #NEWLINE# self . _isfree = True #NEWLINE# return #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'BINARY' in npl . upper ( ) ) : #NEWLINE# #INDENT# self . _set_defaults ( ) #NEWLINE# self . _isbinary = True #NEWLINE# return #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . _npl = int ( npl ) #NEWLINE# self . _format = fmt #NEWLINE# self . _width = int ( width ) #NEWLINE# if ( decimal is not None ) : #NEWLINE# #INDENT# self . _decimal = int ( decimal )