def _post_read_flds(flds, header):
if flds.shape[<NUM_LIT:0>] >= <NUM_LIT:3> and header['<STR_LIT>'] > <NUM_LIT:0>:<EOL><INDENT>header['<STR_LIT>'] = np.roll(<EOL>np.arctan2(header['<STR_LIT>'], header['<STR_LIT>']), -<NUM_LIT:1>, <NUM_LIT:1>)<EOL>for ibk in range(header['<STR_LIT>']):<EOL><INDENT>flds[..., ibk] = _to_spherical(flds[..., ibk], header)<EOL><DEDENT>header['<STR_LIT>'] = np.roll(<EOL>np.arctan2(header['<STR_LIT>'], -header['<STR_LIT>']) + np.pi, -<NUM_LIT:1>, <NUM_LIT:1>)<EOL><DEDENT>return flds<EOL>
Process flds to handle sphericity.