You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the coordinates of the off-body data points are more than two digits, the Python code fails when reading the data in the panair.out file; (In this case, the z-coordinate of the defined line is -115.95)
data_off = Res.get_offbody_data()
in get_offbody_data
return self._output_file.get_offbody_data()
in get_offbody_data
data = self._lines_to_numpy(data_lines)
in _lines_to_numpy
array = [[float(val) for val in line.split()] for line in data_lines]
in <listcomp>
array = [[float(val) for val in line.split()] for line in data_lines]
in <listcomp>
array = [[float(val) for val in line.split()] for line in data_lines]
ValueError: could not convert string to float: '0.00000000-115.95000000
The text was updated successfully, but these errors were encountered:
When the coordinates of the off-body data points are more than two digits, the Python code fails when reading the data in the panair.out file; (In this case, the z-coordinate of the defined line is -115.95)
The text was updated successfully, but these errors were encountered: