#NEWLINE# @ staticmethod #NEWLINE# def load( f_handle , model , shape , dtype , name , ext_unit_dict = None ) : #NEWLINE# #INDENT# assert ( len ( shape ) == 3 ) , 'Util3d:shape attribute must be length 3' #NEWLINE# ( nlay , nrow , ncol ) = shape #NEWLINE# u2ds = [ ] #NEWLINE# for k in range ( nlay ) : #NEWLINE# #INDENT# u2d_name = ( name + '_Layer_{0}' . format ( k ) ) #NEWLINE# u2d = Util2d . load ( f_handle , model , ( nrow , ncol ) , dtype , u2d_name , ext_unit_dict = ext_unit_dict ) #NEWLINE# u2ds . append ( u2d ) #NEWLINE# #UNINDENT# u3d = Util3d ( model , shape , dtype , u2ds , name ) #NEWLINE# return u3d