def _profiles_index(self):
prof_ind_name = self.prof_ind_name<EOL>f = open(self.sldir+'<STR_LIT:/>'+prof_ind_name,'<STR_LIT:r>')<EOL>line = f.readline()<EOL>numlines=int(line.split()[<NUM_LIT:0>])<EOL>print(str(numlines)+'<STR_LIT>')<EOL>model=[]<EOL>log_file_num=[]<EOL>for line in f:<EOL><INDENT>model.append(int(line.split()[<NUM_LIT:0>]))<EOL>log_file_num.append(int(line.split()[<NUM_LIT:2>]))<EOL><DEDENT>log_ind={}    <EOL>for a,b in zip(model,log_file_num):<EOL><INDENT>log_ind[a] = b<EOL><DEDENT>self.log_ind=log_ind<EOL>self.model=model<EOL>
read profiles.index and make hash array

Notes
-----
sets the attributes.

log_ind : hash array that returns profile.data or log.data
file number from model number.

model : the models for which profile.data or log.data is
available