parameters: (build_dir="")
return_statement: return level_list_array
docstring: Builds and returns a list of nuclide decay data.
  
      Parameters
      ----------
      build_dir : str
          build_nuc_data directory containing ENSDF folder
  
      Returns
      -------
      level_list_array : np.ndarray
          array of level data
docstring_summary: Builds and returns a list of nuclide decay data.
docstring_tokens: Builds and returns a list of nuclide decay data .
function: def parse_level_data(build_dir=""):
      """
      Builds and returns a list of nuclide decay data.
  
      Parameters
      ----------
      build_dir : str
          build_nuc_data directory containing ENSDF folder
  
      Returns
      -------
      level_list_array : np.ndarray
          array of level data
      """
      build_dir = os.path.join(build_dir, 'ENSDF')
  
      level_list = []
      files = sorted([f for f in glob.glob(os.path.join(build_dir, 'ensdf.*'))])
      for f in files:
          print("    building level data from {0}".format(f))
          level_list = ensdf.levels(f, level_list)
  
      level_list_array = np.array(level_list, dtype=level_dtype)
  
      return level_list_array
function_tokens: def parse_level_data ( build_dir = "" ) : build_dir = os . path . join ( build_dir , 'ENSDF' ) level_list = [ ] files = sorted ( [ f for f in glob . glob ( os . path . join ( build_dir , 'ensdf.*' ) ) ] ) for f in files : print ( "    building level data from {0}" . format ( f ) ) level_list = ensdf . levels ( f , level_list ) level_list_array = np . array ( level_list , dtype = level_dtype ) return level_list_array