def write_normal(fname,triplets,na,angd,agr):
    """
    Write out ADF data in normal ADF format.
    """
    outfile= open(fname,'w')
    outfile.write('# 1:theta[i], ')
    for it,t in enumerate(triplets):
        outfile.write(' {0:d}:{1:s}-{2:s}-{3:s},'.format(it+2,*t))
    outfile.write('\n')
    for i in range(na):
        outfile.write(' {0:10.4f}'.format(angd[i]))
        for it,t in enumerate(triplets):
            outfile.write(' {0:11.3e}'.format(agr[it,i]))
        outfile.write('\n')
    outfile.close()
    return None